POST api/Races

Request Information

URI Parameters

None.

Body Parameters

Race
NameDescriptionTypeAdditional information
RACE_CODE

string

None.

RACE_DESCRIPTION

string

None.

OLD

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "RACE_CODE": "sample string 1",
  "RACE_DESCRIPTION": "sample string 2",
  "OLD": 1
}

application/octet-stream

Sample:
{"RACE_CODE":"sample string 1","RACE_DESCRIPTION":"sample string 2","OLD":1}

application/xml, text/xml

Sample:
<Race xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <RACE_CODE>sample string 1</RACE_CODE>
  <RACE_DESCRIPTION>sample string 2</RACE_DESCRIPTION>
  <OLD>1</OLD>
</Race>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Race'.

Response Information

Resource Description

Race
NameDescriptionTypeAdditional information
RACE_CODE

string

None.

RACE_DESCRIPTION

string

None.

OLD

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "RACE_CODE": "sample string 1",
  "RACE_DESCRIPTION": "sample string 2",
  "OLD": 1
}

application/octet-stream

Sample:
{"RACE_CODE":"sample string 1","RACE_DESCRIPTION":"sample string 2","OLD":1}

application/xml, text/xml

Sample:
<Race xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <RACE_CODE>sample string 1</RACE_CODE>
  <RACE_DESCRIPTION>sample string 2</RACE_DESCRIPTION>
  <OLD>1</OLD>
</Race>