POST api/V2/Reasons

Request Information

URI Parameters

None.

Body Parameters

Reasons
NameDescriptionTypeAdditional 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": "49bfea6d-f644-4d05-9695-2056e1717496",
  "clubId": "12f0277b-ac71-4580-a766-d651f5caa1ed",
  "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>12f0277b-ac71-4580-a766-d651f5caa1ed</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>49bfea6d-f644-4d05-9695-2056e1717496</TeamId>
</Reasons>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Reasons
NameDescriptionTypeAdditional 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": "2ba50e5a-578d-4fe1-8aed-ab0766e83231",
  "clubId": "421e2b0c-f6bf-4590-84cf-c4f15752dd01",
  "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>421e2b0c-f6bf-4590-84cf-c4f15752dd01</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>2ba50e5a-578d-4fe1-8aed-ab0766e83231</TeamId>
</Reasons>