GET api/access/v1/contractors/{contractorId}/contractorcompanies

Request Information

Requires Authorization!

In order to make a request to work 2 headers are required, a ClientId and a ClientSecret

URI Parameters

NameDescriptionTypeAdditional information
contractorId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ContractorCompany
NameDescriptionTypeAdditional information
CompanyId

globally unique identifier

None.

Name

string

None.

Department

string

None.

Registration

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CompanyId": "d3a7fa36-67fa-4b64-9fa6-35a1249d3755",
    "Name": "sample string 2",
    "Department": "sample string 3",
    "Registration": "2019-10-17T10:09:01.4866451+00:00"
  },
  {
    "CompanyId": "d3a7fa36-67fa-4b64-9fa6-35a1249d3755",
    "Name": "sample string 2",
    "Department": "sample string 3",
    "Registration": "2019-10-17T10:09:01.4866451+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfContractorCompany xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSG.Services.AccessControl.Messages.Contracts.DataAPI">
  <ContractorCompany>
    <CompanyId>d3a7fa36-67fa-4b64-9fa6-35a1249d3755</CompanyId>
    <Department>sample string 3</Department>
    <Name>sample string 2</Name>
    <Registration>2019-10-17T10:09:01.4866451+00:00</Registration>
  </ContractorCompany>
  <ContractorCompany>
    <CompanyId>d3a7fa36-67fa-4b64-9fa6-35a1249d3755</CompanyId>
    <Department>sample string 3</Department>
    <Name>sample string 2</Name>
    <Registration>2019-10-17T10:09:01.4866451+00:00</Registration>
  </ContractorCompany>
</ArrayOfContractorCompany>