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": "2023-02-21T06:26:52.5177865+00:00", "PlantId": "05253102-0d05-4b95-9770-b7805a852869", "ContractorId": "c5070ea0-85aa-4700-9f0e-567d6f7be0be" }
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>c5070ea0-85aa-4700-9f0e-567d6f7be0be</ContractorId> <HasAccess>true</HasAccess> <PlantId>05253102-0d05-4b95-9770-b7805a852869</PlantId> <ValidTo>2023-02-21T06:26:52.5177865+00:00</ValidTo> </Access>