GET api/access/v1/contractors/{contractorId}/access?zoneId={zoneId}
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 |
---|---|---|---|
contractorId | globally unique identifier |
Required |
|
zoneId | globally unique identifier |
None. |
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:47.5994789+00:00", "PlantId": "99a28a2b-f198-4e66-9b60-a32eb57d2d3c", "ContractorId": "8bded96e-4c46-4be6-aa21-fb4b81765d78" }
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>8bded96e-4c46-4be6-aa21-fb4b81765d78</ContractorId> <HasAccess>true</HasAccess> <PlantId>99a28a2b-f198-4e66-9b60-a32eb57d2d3c</PlantId> <ValidTo>2023-02-21T06:26:47.5994789+00:00</ValidTo> </Access>