POST api/Gateways

Request Information

URI Parameters

None.

Body Parameters

Gateway
NameDescriptionTypeAdditional information
ID

integer

None.

PUBLIC_ID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "PUBLIC_ID": "sample string 2"
}

application/octet-stream

Sample:
{"ID":1,"PUBLIC_ID":"sample string 2"}

application/xml, text/xml

Sample:
<Gateway xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <PUBLIC_ID>sample string 2</PUBLIC_ID>
</Gateway>

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

Response Information

Resource Description

Gateway
NameDescriptionTypeAdditional information
ID

integer

None.

PUBLIC_ID

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "PUBLIC_ID": "sample string 2"
}

application/octet-stream

Sample:
{"ID":1,"PUBLIC_ID":"sample string 2"}

application/xml, text/xml

Sample:
<Gateway xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ID>1</ID>
  <PUBLIC_ID>sample string 2</PUBLIC_ID>
</Gateway>