GET api/MasterLists/SearchLocation

This method is used to fetch the Lens MasterList.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of SearchLocationData
NameDescriptionTypeAdditional information
Country

This hold the Country

string

None.

State

This hold the State

string

None.

Suburb

This hold the Suburb

string

None.

PostCode

This hold the PostCode

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Country": "sample string 1",
    "State": "sample string 2",
    "Suburb": "sample string 3",
    "PostCode": "sample string 4"
  },
  {
    "Country": "sample string 1",
    "State": "sample string 2",
    "Suburb": "sample string 3",
    "PostCode": "sample string 4"
  }
]

text/xml

Sample:
<ArrayOfSearchLocationData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models">
  <SearchLocationData>
    <Country>sample string 1</Country>
    <PostCode>sample string 4</PostCode>
    <State>sample string 2</State>
    <Suburb>sample string 3</Suburb>
  </SearchLocationData>
  <SearchLocationData>
    <Country>sample string 1</Country>
    <PostCode>sample string 4</PostCode>
    <State>sample string 2</State>
    <Suburb>sample string 3</Suburb>
  </SearchLocationData>
</ArrayOfSearchLocationData>

multipart/form-data

Sample:
<ArrayOfSearchLocationData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RandstadWebAPI.Models"><SearchLocationData><Country>sample string 1</Country><PostCode>sample string 4</PostCode><State>sample string 2</State><Suburb>sample string 3</Suburb></SearchLocationData><SearchLocationData><Country>sample string 1</Country><PostCode>sample string 4</PostCode><State>sample string 2</State><Suburb>sample string 3</Suburb></SearchLocationData></ArrayOfSearchLocationData>