POST api/AddressTypes

Request Information

URI Parameters

None.

Body Parameters

AddressType
NameDescriptionTypeAdditional information
ATYPE_ID

integer

None.

TYPE_NAME

string

None.

USAGE

integer

None.

DIV_ID

integer

None.

OLD

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ATYPE_ID": 1,
  "TYPE_NAME": "sample string 2",
  "USAGE": 1,
  "DIV_ID": 3,
  "OLD": 1
}

application/octet-stream

Sample:
{"ATYPE_ID":1,"TYPE_NAME":"sample string 2","USAGE":1,"DIV_ID":3,"OLD":1}

application/xml, text/xml

Sample:
<AddressType xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ATYPE_ID>1</ATYPE_ID>
  <TYPE_NAME>sample string 2</TYPE_NAME>
  <USAGE>1</USAGE>
  <DIV_ID>3</DIV_ID>
  <OLD>1</OLD>
</AddressType>

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

Response Information

Resource Description

AddressType
NameDescriptionTypeAdditional information
ATYPE_ID

integer

None.

TYPE_NAME

string

None.

USAGE

integer

None.

DIV_ID

integer

None.

OLD

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ATYPE_ID": 1,
  "TYPE_NAME": "sample string 2",
  "USAGE": 1,
  "DIV_ID": 3,
  "OLD": 1
}

application/octet-stream

Sample:
{"ATYPE_ID":1,"TYPE_NAME":"sample string 2","USAGE":1,"DIV_ID":3,"OLD":1}

application/xml, text/xml

Sample:
<AddressType xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ATYPE_ID>1</ATYPE_ID>
  <TYPE_NAME>sample string 2</TYPE_NAME>
  <USAGE>1</USAGE>
  <DIV_ID>3</DIV_ID>
  <OLD>1</OLD>
</AddressType>