GET api/Area?CoutryName={CoutryName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CoutryName

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of APIArea
NameDescriptionTypeAdditional information
AreaID

integer

None.

AreaName

string

None.

CountryName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AreaID": 1,
    "AreaName": "sample string 2",
    "CountryName": "sample string 3"
  },
  {
    "AreaID": 1,
    "AreaName": "sample string 2",
    "CountryName": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAPIArea xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgTravelSoftCore.Model">
  <APIArea>
    <AreaID>1</AreaID>
    <AreaName>sample string 2</AreaName>
    <CountryName>sample string 3</CountryName>
  </APIArea>
  <APIArea>
    <AreaID>1</AreaID>
    <AreaName>sample string 2</AreaName>
    <CountryName>sample string 3</CountryName>
  </APIArea>
</ArrayOfAPIArea>