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

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

Contractor
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

None.

AccessCardNo

string

None.

PhotoUrl

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "362e7565-ce6a-4344-a1ab-bcf0a0908b07",
  "Name": "sample string 2",
  "AccessCardNo": "sample string 3",
  "PhotoUrl": "sample string 4"
}

application/xml, text/xml

Sample:
<Contractor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSG.Services.AccessControl.Messages.Contracts.DataAPI">
  <AccessCardNo>sample string 3</AccessCardNo>
  <Id>362e7565-ce6a-4344-a1ab-bcf0a0908b07</Id>
  <Name>sample string 2</Name>
  <PhotoUrl>sample string 4</PhotoUrl>
</Contractor>