GET api/Login/GetCountry

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

CountryDetails
NameDescriptionTypeAdditional information
ErrorDetails

SALError

None.

CountryDetail

Collection of LdvCountryId

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorDetails": {
    "code": 1,
    "message": "sample string 2",
    "incidentid": "sample string 3",
    "ldv_awbnumberexists": true,
    "objectid": "sample string 5",
    "casenumber": "sample string 6"
  },
  "CountryDetail": [
    {
      "ldv_name": "sample string 1",
      "ldv_countryId": "sample string 2",
      "ldv_code": "sample string 3",
      "ldv_phonecode": "sample string 4"
    },
    {
      "ldv_name": "sample string 1",
      "ldv_countryId": "sample string 2",
      "ldv_code": "sample string 3",
      "ldv_phonecode": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<CountryDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAL.API.Repository.Models">
  <CountryDetail>
    <LdvCountryId>
      <LdvCode>sample string 3</LdvCode>
      <LdvCountryid>sample string 2</LdvCountryid>
      <LdvName>sample string 1</LdvName>
      <LdvPhonecode>sample string 4</LdvPhonecode>
    </LdvCountryId>
    <LdvCountryId>
      <LdvCode>sample string 3</LdvCode>
      <LdvCountryid>sample string 2</LdvCountryid>
      <LdvName>sample string 1</LdvName>
      <LdvPhonecode>sample string 4</LdvPhonecode>
    </LdvCountryId>
  </CountryDetail>
  <ErrorDetails>
    <CaseNumber>sample string 6</CaseNumber>
    <Code>1</Code>
    <IncidentId>sample string 3</IncidentId>
    <LdvAwbNumberExists>true</LdvAwbNumberExists>
    <Message>sample string 2</Message>
    <ObjectId>sample string 5</ObjectId>
  </ErrorDetails>
</CountryDetails>