GET api/v1/widget/{publicId}/locations/{keyword}?showAll={showAll}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
keyword

string

Required

showAll

boolean

Default value is False

publicId

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Lookup
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "id": 1,
    "name": "sample string 2"
  },
  {
    "id": 1,
    "name": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLookup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VOL.Core.CustomModels">
  <Lookup>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </Lookup>
  <Lookup>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </Lookup>
</ArrayOfLookup>