PUT api/TurnirSuci/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
TurnirSuciRequestDto| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| turnir_id | integer |
None. |
|
| sudac_id | integer |
None. |
|
| funkcija | string |
None. |
|
| funkcija_tip_id | integer |
None. |
|
| volonter | boolean |
None. |
|
| kat_ids | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"turnir_id": 1,
"sudac_id": 1,
"funkcija": "sample string 2",
"funkcija_tip_id": 3,
"volonter": true,
"kat_ids": [
1,
2
]
}
application/xml, text/xml
Sample:
<TurnirSuciRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WrccWebApi.Models.Messaging">
<funkcija>sample string 2</funkcija>
<funkcija_tip_id>3</funkcija_tip_id>
<id>1</id>
<kat_ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</kat_ids>
<sudac_id>1</sudac_id>
<turnir_id>1</turnir_id>
<volonter>true</volonter>
</TurnirSuciRequestDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.