GET api/Locations/GetLocationSectorsByLocationId/{locationId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
locationId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of 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 }, { "Id": 1, "LocationId": 2, "SectorId": 3 } ]
application/xml, text/xml
Sample:
<ArrayOfLocationSector xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NiceAPI.Managers"> <LocationSector> <Id>1</Id> <LocationId>2</LocationId> <SectorId>3</SectorId> </LocationSector> <LocationSector> <Id>1</Id> <LocationId>2</LocationId> <SectorId>3</SectorId> </LocationSector> </ArrayOfLocationSector>