POST api/PhoneTypes

Request Information

URI Parameters

None.

Body Parameters

PhoneType
NameDescriptionTypeAdditional information
TYPE

string

None.

SEQ

integer

None.

OLD

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TYPE": "sample string 1",
  "SEQ": 2,
  "OLD": 1
}

application/octet-stream

Sample:
{"TYPE":"sample string 1","SEQ":2,"OLD":1}

application/xml, text/xml

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

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 'PhoneType'.

Response Information

Resource Description

PhoneType
NameDescriptionTypeAdditional information
TYPE

string

None.

SEQ

integer

None.

OLD

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "TYPE": "sample string 1",
  "SEQ": 2,
  "OLD": 1
}

application/octet-stream

Sample:
{"TYPE":"sample string 1","SEQ":2,"OLD":1}

application/xml, text/xml

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