POST api/Formacije
Request Information
URI Parameters
None.
Body Parameters
FormacijaSaveRequestDto| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| aktivan | boolean |
None. |
|
| savez_id | integer |
None. |
|
| naziv | string |
None. |
|
| kat_id | integer |
None. |
|
| od | date |
None. |
|
| local_id | string |
None. |
|
| trener_1 | integer |
None. |
|
| trener_2 | integer |
None. |
|
| dancer | Collection of integer |
None. |
|
| stb | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"aktivan": true,
"savez_id": 2,
"naziv": "sample string 3",
"kat_id": 1,
"od": "2025-12-05T23:12:48.6607597-08:00",
"local_id": "sample string 5",
"trener_1": 6,
"trener_2": 7,
"dancer": [
1,
2
],
"stb": 1
}
application/xml, text/xml
Sample:
<FormacijaSaveRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WrccWebApi.Models.Messaging">
<aktivan>true</aktivan>
<dancer xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</dancer>
<id>1</id>
<kat_id>1</kat_id>
<local_id>sample string 5</local_id>
<naziv>sample string 3</naziv>
<od>2025-12-05T23:12:48.6607597-08:00</od>
<savez_id>2</savez_id>
<stb>1</stb>
<trener_1>6</trener_1>
<trener_2>7</trener_2>
</FormacijaSaveRequestDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.