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 ClientSecretURI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
plantId | globally unique identifier |
Required |
|
contractorId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
AccessName | Description | Type | Additional 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": "2024-04-19T07:50:52.8341671+00:00", "PlantId": "6a3c7add-3e22-4c84-8549-86185e198136", "ContractorId": "e65e7f52-f8a9-4d5e-a3a6-a08c32988bf9" }
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>e65e7f52-f8a9-4d5e-a3a6-a08c32988bf9</ContractorId> <HasAccess>true</HasAccess> <PlantId>6a3c7add-3e22-4c84-8549-86185e198136</PlantId> <ValidTo>2024-04-19T07:50:52.8341671+00:00</ValidTo> </Access>