GET api/LocationCategory
Gets all location category Details.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
A list of Location Category and Details
Collection of LocationCategory| Name | Description | Type | Additional 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:
<ArrayOfLocationCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OTJServices.Models">
<LocationCategory>
<CategoryId>1</CategoryId>
<CategoryName>sample string 2</CategoryName>
<ImageURL>sample string 3</ImageURL>
</LocationCategory>
<LocationCategory>
<CategoryId>1</CategoryId>
<CategoryName>sample string 2</CategoryName>
<ImageURL>sample string 3</ImageURL>
</LocationCategory>
</ArrayOfLocationCategory>