POST api/Plesac

Request Information

URI Parameters

None.

Body Parameters

PlesacCreateRequestDto
NameDescriptionTypeAdditional information
ime

string

None.

prezime

string

None.

rodjendan

date

None.

spol

string

None.

savez_id

integer

None.

wrrc_id

integer

None.

local_id

string

None.

adresa

string

None.

grad

string

None.

ptt

string

None.

aktivan

boolean

None.

email

string

None.

komentar

string

None.

telefon

string

None.

stb

integer

None.

personal_id

string

None.

tax_id

string

None.

healt_id

string

None.

poc_bodovi

decimal number

None.

tek_bodovi

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "ime": "sample string 1",
  "prezime": "sample string 2",
  "rodjendan": "2026-04-02T08:21:09.4027086-07:00",
  "spol": "sample string 4",
  "savez_id": 5,
  "wrrc_id": 1,
  "local_id": "sample string 6",
  "adresa": "sample string 7",
  "grad": "sample string 8",
  "ptt": "sample string 9",
  "aktivan": true,
  "email": "sample string 11",
  "komentar": "sample string 12",
  "telefon": "sample string 13",
  "stb": 1,
  "personal_id": "sample string 14",
  "tax_id": "sample string 15",
  "healt_id": "sample string 16",
  "poc_bodovi": 17.1,
  "tek_bodovi": 18.1
}

application/xml, text/xml

Sample:
<PlesacCreateRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WrccWebApi.Models">
  <adresa>sample string 7</adresa>
  <aktivan>true</aktivan>
  <email>sample string 11</email>
  <grad>sample string 8</grad>
  <healt_id>sample string 16</healt_id>
  <ime>sample string 1</ime>
  <komentar>sample string 12</komentar>
  <local_id>sample string 6</local_id>
  <personal_id>sample string 14</personal_id>
  <poc_bodovi>17.1</poc_bodovi>
  <prezime>sample string 2</prezime>
  <ptt>sample string 9</ptt>
  <rodjendan>2026-04-02T08:21:09.4027086-07:00</rodjendan>
  <savez_id>5</savez_id>
  <spol>sample string 4</spol>
  <stb>1</stb>
  <tax_id>sample string 15</tax_id>
  <tek_bodovi>18.1</tek_bodovi>
  <telefon>sample string 13</telefon>
  <wrrc_id>1</wrrc_id>
</PlesacCreateRequestDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PlesacCreateRequestDto'.

Response Information

Resource Description

plesac
NameDescriptionTypeAdditional information
id

integer

None.

ime

string

None.

prezime

string

None.

rodjendan

date

None.

spol

string

None.

savez_id

integer

None.

ptt

string

None.

grad

string

None.

adresa

string

None.

email

string

None.

telefon

string

None.

aktivan

boolean

None.

datum_unosa

date

None.

wrrc_id

integer

None.

datum_reg

date

None.

reg

boolean

None.

zahtev_plac

boolean

None.

placeno

boolean

None.

komentar

string

None.

local_id

string

None.

reg_f

boolean

None.

zahtev_f

boolean

None.

placeno_f

boolean

None.

datum_reg_f

date

None.

doping

boolean

None.

putovnica

boolean

None.

doping_filename

string

None.

putovnica_filename

string

None.

verificiran_ad

boolean

None.

verificiran_pass

boolean

None.

verificiran

boolean

None.

z_akt

boolean

None.

z_bris

boolean

None.

stb

integer

None.

personal_id

string

None.

tax_id

string

None.

healt_id

string

None.

gd_file

string

None.

gd_verificiran

boolean

None.

poc_bodovi

decimal number

None.

tek_bodovi

decimal number

None.

form_ples

Collection of form_ples

None.

parovi

Collection of parovi

None.

parovi1

Collection of parovi

None.

pleasc_dok

Collection of pleasc_dok

None.

savezi

savezi

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Stream was too long.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Stream was too long.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'WrccWebApi.Models.Database.acro_grupa' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'WrccWebApi.Models.Database.acro_grupa' contains cycles and cannot be serialized if reference tracking is disabled.