GET v1/Locations/{locationID}/Contacts/Occupations
Get the list of occupations
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
locationID |
Id of the location |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
List of occupations
Collection of OccupationDTOName | Description | Type | Additional information |
---|---|---|---|
OccupationID | integer |
None. |
|
Occupation | string |
None. |
|
SystemDefined | boolean |
None. |
|
LocationID | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "OccupationID": 1, "Occupation": "sample string 2", "SystemDefined": true, "LocationID": 1 }, { "OccupationID": 1, "Occupation": "sample string 2", "SystemDefined": true, "LocationID": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfOccupationDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Locations"> <OccupationDTO> <LocationID>1</LocationID> <Occupation>sample string 2</Occupation> <OccupationID>1</OccupationID> <SystemDefined>true</SystemDefined> </OccupationDTO> <OccupationDTO> <LocationID>1</LocationID> <Occupation>sample string 2</Occupation> <OccupationID>1</OccupationID> <SystemDefined>true</SystemDefined> </OccupationDTO> </ArrayOfOccupationDTO>