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