GET api/access/v1/plants/{plantId}/access/{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
plantId

globally unique identifier

Required

contractorId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Access
NameDescriptionTypeAdditional information
HasAccess

boolean

None.

ValidTo

date

None.

PlantId

globally unique identifier

None.

ContractorId

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "HasAccess": true,
  "ValidTo": "2019-10-10T06:01:47.829713+00:00",
  "PlantId": "20ea2d3d-2f86-46e6-b2c1-84aaf4144839",
  "ContractorId": "a427e8d9-c9c0-48ec-a615-85ae788a5b67"
}

application/xml, text/xml

Sample:
<Access xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSG.Services.AccessControl.Messages.Contracts.DataAPI">
  <ContractorId>a427e8d9-c9c0-48ec-a615-85ae788a5b67</ContractorId>
  <HasAccess>true</HasAccess>
  <PlantId>20ea2d3d-2f86-46e6-b2c1-84aaf4144839</PlantId>
  <ValidTo>2019-10-10T06:01:47.829713+00:00</ValidTo>
</Access>