GET v1/Locations/{locationID}/Contacts/Industries/{industryId}/Occupations

get a list of Occupations for an Industry

Request Information

URI Parameters

NameDescriptionTypeAdditional 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 OccupationWithXRefDTO
NameDescriptionTypeAdditional information
XREFIndustryOccupationID

Id of the XRef industry occupation

integer

None.

OccupationID

Id of the occupation

integer

None.

Occupation

Occupation

string

None.

SystemDefined

Signifies whether the occupation is system defined

boolean

None.

LocationID

Id of the location

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>