GET api/access/v1/identities/byContractorId/{contractorId}/{identityType}

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

identityType

IdentityTypeEnum

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Identity
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

ContractorId

globally unique identifier

None.

IdentityNumber

string

None.

IdentityType

IdentityTypeEnum

None.

ActivatedDate

date

None.

InactivatedDate

date

None.

ToBeInactivated

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "fc235bce-0d8f-4c53-a806-ca4295f5b80e",
    "ContractorId": "edda06e8-bbd7-4f12-8105-3aa742a92827",
    "IdentityNumber": "sample string 3",
    "IdentityType": 1,
    "ActivatedDate": "2019-12-02T09:35:50.8620125+00:00",
    "InactivatedDate": "2019-12-02T09:35:50.8620125+00:00",
    "ToBeInactivated": true
  },
  {
    "Id": "fc235bce-0d8f-4c53-a806-ca4295f5b80e",
    "ContractorId": "edda06e8-bbd7-4f12-8105-3aa742a92827",
    "IdentityNumber": "sample string 3",
    "IdentityType": 1,
    "ActivatedDate": "2019-12-02T09:35:50.8620125+00:00",
    "InactivatedDate": "2019-12-02T09:35:50.8620125+00:00",
    "ToBeInactivated": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfIdentity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSG.Services.AccessControl.Messages.Contracts.DataAPI">
  <Identity>
    <ActivatedDate>2019-12-02T09:35:50.8620125+00:00</ActivatedDate>
    <ContractorId>edda06e8-bbd7-4f12-8105-3aa742a92827</ContractorId>
    <Id>fc235bce-0d8f-4c53-a806-ca4295f5b80e</Id>
    <IdentityNumber>sample string 3</IdentityNumber>
    <IdentityType>SSG</IdentityType>
    <InactivatedDate>2019-12-02T09:35:50.8620125+00:00</InactivatedDate>
    <ToBeInactivated>true</ToBeInactivated>
  </Identity>
  <Identity>
    <ActivatedDate>2019-12-02T09:35:50.8620125+00:00</ActivatedDate>
    <ContractorId>edda06e8-bbd7-4f12-8105-3aa742a92827</ContractorId>
    <Id>fc235bce-0d8f-4c53-a806-ca4295f5b80e</Id>
    <IdentityNumber>sample string 3</IdentityNumber>
    <IdentityType>SSG</IdentityType>
    <InactivatedDate>2019-12-02T09:35:50.8620125+00:00</InactivatedDate>
    <ToBeInactivated>true</ToBeInactivated>
  </Identity>
</ArrayOfIdentity>