POST api/Country/Search

Request Information

URI Parameters

None.

Body Parameters

CountryParm
NameDescriptionTypeAdditional information
CountryID

string

None.

Name

string

None.

AirportID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CountryID": "sample string 1",
  "Name": "sample string 2",
  "AirportID": "sample string 3"
}

application/xml, text/xml

Sample:
<CountryParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models">
  <AirportID>sample string 3</AirportID>
  <CountryID>sample string 1</CountryID>
  <Name>sample string 2</Name>
</CountryParm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CountryResp
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

ErrorMessage

string

None.

Countries

Collection of Country

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "ErrorMessage": "sample string 2",
  "Countries": null
}

application/xml, text/xml

Sample:
<CountryResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models">
  <Countries i:nil="true" />
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsSuccessful>true</IsSuccessful>
</CountryResp>