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": "5912c878-67e0-4ee0-afda-2c308a91c97d",
"clubId": "3e67503a-8da2-4b55-be9e-805ec45be047",
"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>3e67503a-8da2-4b55-be9e-805ec45be047</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>5912c878-67e0-4ee0-afda-2c308a91c97d</TeamId> </Reasons>
application/x-www-form-urlencoded
Sample:
Sample not available.
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": "60c3a505-ccd6-4cd4-a93a-23a73c8bec7f",
"clubId": "536fbf3a-3eb4-4787-bfb4-d209da88ec25",
"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>536fbf3a-3eb4-4787-bfb4-d209da88ec25</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>60c3a505-ccd6-4cd4-a93a-23a73c8bec7f</TeamId> </Reasons>