POST api/AirlineAPICredential/Save

Request Information

URI Parameters

None.

Body Parameters

AirlineAPICredentials
NameDescriptionTypeAdditional information
AirlineCode

string

None.

AirlineName

string

None.

IPAddress

string

None.

ApiCode

string

None.

AllowIPAddress

boolean

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AirlineCode": "sample string 1",
  "AirlineName": "sample string 2",
  "IPAddress": "sample string 3",
  "ApiCode": "sample string 4",
  "AllowIPAddress": true,
  "Id": 6
}

application/xml, text/xml

Sample:
<AirlineAPICredentials xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cargo.Data.Entities">
  <_x003C_Id_x003E_k__BackingField>6</_x003C_Id_x003E_k__BackingField>
  <AirlineCode>sample string 1</AirlineCode>
  <AirlineName>sample string 2</AirlineName>
  <AllowIPAddress>true</AllowIPAddress>
  <ApiCode>sample string 4</ApiCode>
  <IPAddress>sample string 3</IPAddress>
</AirlineAPICredentials>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.