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

Get a list of Industries and related occupations

Request Information

URI Parameters

NameDescriptionTypeAdditional information
locationID

Id of the location

string

Required

Body Parameters

None.

Response Information

Resource Description

List of industries and related occupations

Collection of IndustryAndOccupationsDTO
NameDescriptionTypeAdditional information
IndustryID

integer

None.

IndustryName

string

None.

SystemDefined

boolean

None.

LocationID

integer

None.

Occupations

Collection of OccupationWithXRefDTO

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "IndustryID": 1,
    "IndustryName": "sample string 2",
    "SystemDefined": true,
    "LocationID": 4,
    "Occupations": [
      {
        "XREFIndustryOccupationID": 1,
        "OccupationID": 2,
        "Occupation": "sample string 3",
        "SystemDefined": true,
        "LocationID": 1
      },
      {
        "XREFIndustryOccupationID": 1,
        "OccupationID": 2,
        "Occupation": "sample string 3",
        "SystemDefined": true,
        "LocationID": 1
      }
    ]
  },
  {
    "IndustryID": 1,
    "IndustryName": "sample string 2",
    "SystemDefined": true,
    "LocationID": 4,
    "Occupations": [
      {
        "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:
<ArrayOfIndustryAndOccupationsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Locations">
  <IndustryAndOccupationsDTO>
    <IndustryID>1</IndustryID>
    <IndustryName>sample string 2</IndustryName>
    <LocationID>4</LocationID>
    <Occupations>
      <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>
    </Occupations>
    <SystemDefined>true</SystemDefined>
  </IndustryAndOccupationsDTO>
  <IndustryAndOccupationsDTO>
    <IndustryID>1</IndustryID>
    <IndustryName>sample string 2</IndustryName>
    <LocationID>4</LocationID>
    <Occupations>
      <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>
    </Occupations>
    <SystemDefined>true</SystemDefined>
  </IndustryAndOccupationsDTO>
</ArrayOfIndustryAndOccupationsDTO>