POST api/Zakazniks

Request Information

URI Parameters

None.

Body Parameters

Zakaznik
NameDescriptionTypeAdditional information
Id

integer

None.

Meno

string

None.

Priezvisko

string

None.

Email

string

None.

Telefon

string

None.

Adresa

string

None.

DatumRegistracie

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Meno": "sample string 2",
  "Priezvisko": "sample string 3",
  "Email": "sample string 4",
  "Telefon": "sample string 5",
  "Adresa": "sample string 6",
  "DatumRegistracie": "2025-11-30T13:11:43.9974132-06:00"
}

application/xml, text/xml

Sample:
<Zakaznik xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zakaznici_Back_End.Models">
  <Adresa>sample string 6</Adresa>
  <DatumRegistracie>2025-11-30T13:11:43.9974132-06:00</DatumRegistracie>
  <Email>sample string 4</Email>
  <Id>1</Id>
  <Meno>sample string 2</Meno>
  <Priezvisko>sample string 3</Priezvisko>
  <Telefon>sample string 5</Telefon>
</Zakaznik>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Zakaznik
NameDescriptionTypeAdditional information
Id

integer

None.

Meno

string

None.

Priezvisko

string

None.

Email

string

None.

Telefon

string

None.

Adresa

string

None.

DatumRegistracie

date

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Meno": "sample string 2",
  "Priezvisko": "sample string 3",
  "Email": "sample string 4",
  "Telefon": "sample string 5",
  "Adresa": "sample string 6",
  "DatumRegistracie": "2025-11-30T13:11:45.2942862-06:00"
}

application/xml, text/xml

Sample:
<Zakaznik xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Zakaznici_Back_End.Models">
  <Adresa>sample string 6</Adresa>
  <DatumRegistracie>2025-11-30T13:11:45.2942862-06:00</DatumRegistracie>
  <Email>sample string 4</Email>
  <Id>1</Id>
  <Meno>sample string 2</Meno>
  <Priezvisko>sample string 3</Priezvisko>
  <Telefon>sample string 5</Telefon>
</Zakaznik>