PUT api/V2/Reasons/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
Reasons| Name | Description | Type | Additional information |
|---|---|---|---|
| ReasonId | integer |
None. |
|
| TeamId | globally unique identifier |
None. |
|
| ClubId | globally unique identifier |
None. |
|
| Reason | string |
None. |
|
| Level | integer |
None. |
|
| InUse | boolean |
None. |
|
| Comments | string |
None. |
|
| IsNoAnswer | boolean |
None. |
|
| IsShow | boolean |
None. |
|
| Color | string |
None. |
|
| CanEdit | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"reasonId": 1,
"teamId": "5efef96c-554d-460b-963e-91a48de88c14",
"clubId": "36d66092-80e8-48a7-b2e1-605312db56a8",
"reason": "sample string 4",
"level": 5,
"inUse": true,
"comments": "sample string 7",
"isNoAnswer": true,
"isShow": true,
"color": "sample string 10",
"canEdit": true
}
application/xml, text/xml
Sample:
<Reasons xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oiback.Classes"> <CanEdit>true</CanEdit> <ClubId>36d66092-80e8-48a7-b2e1-605312db56a8</ClubId> <Color>sample string 10</Color> <Comments>sample string 7</Comments> <InUse>true</InUse> <IsNoAnswer>true</IsNoAnswer> <IsShow>true</IsShow> <Level>5</Level> <Reason>sample string 4</Reason> <ReasonId>1</ReasonId> <TeamId>5efef96c-554d-460b-963e-91a48de88c14</TeamId> </Reasons>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
None.