POST api/V2/Reasons
Request Information
URI Parameters
None.
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": "b3c96099-da2b-46af-a1fc-733a64775318",
"clubId": "35ddf3a2-cdb4-4a99-8d09-fbfdfbaaa85f",
"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>35ddf3a2-cdb4-4a99-8d09-fbfdfbaaa85f</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>b3c96099-da2b-46af-a1fc-733a64775318</TeamId> </Reasons>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
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. |
Response Formats
application/json, text/json
Sample:
{
"reasonId": 1,
"teamId": "d83762fe-26a4-448a-9c08-c3bcf390a313",
"clubId": "1b386b0b-f389-4c0e-9976-89a0388f9e43",
"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>1b386b0b-f389-4c0e-9976-89a0388f9e43</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>d83762fe-26a4-448a-9c08-c3bcf390a313</TeamId> </Reasons>