GET api/Locations/GetLocationSectorById/{id}
Gets locationsector by id (locationsectorid). Will return empty object if id not found with object.id = 0.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
LocationSectorName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
LocationId | integer |
None. |
|
SectorId | integer |
None. |
Response Formats
application/json, text/json, text/html
Sample:
{ "Id": 1, "LocationId": 2, "SectorId": 3 }
application/xml, text/xml
Sample:
<LocationSector xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NiceAPI.Managers"> <Id>1</Id> <LocationId>2</LocationId> <SectorId>3</SectorId> </LocationSector>