GET api/NearByPlaceCategory

Gets all Near By Places or Locations category Details.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

A list of Near By Places or Location Category and Details

Collection of NearByPlaceCategory
NameDescriptionTypeAdditional information
categoryId

Gets or sets the category ID.

integer

None.

categoryName

Gets or sets the category name.

string

None.

imageURL

Gets or sets the image URL.

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "categoryId": 1,
    "categoryName": "sample string 2",
    "imageURL": "sample string 3"
  },
  {
    "categoryId": 1,
    "categoryName": "sample string 2",
    "imageURL": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfNearByPlaceCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OTJServices.Models">
  <NearByPlaceCategory>
    <categoryId>1</categoryId>
    <categoryName>sample string 2</categoryName>
    <imageURL>sample string 3</imageURL>
  </NearByPlaceCategory>
  <NearByPlaceCategory>
    <categoryId>1</categoryId>
    <categoryName>sample string 2</categoryName>
    <imageURL>sample string 3</imageURL>
  </NearByPlaceCategory>
</ArrayOfNearByPlaceCategory>