GET api/access/v1/plants/current
Get the plant associated with the provided authentication credentials
Request Information
Requires Authorization!
In order to make a request to work 2 headers are required, a ClientId and a ClientSecretURI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
The plant associated with the provided authentication credentials
PlantName | Description | Type | Additional information |
---|---|---|---|
UsingSupplier | boolean |
None. |
|
Id | globally unique identifier |
None. |
|
Name | string |
None. |
|
CompanyId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
{ "UsingSupplier": true, "Id": "aee56f8c-d0be-4d0e-ae32-b2f8888ad1c6", "Name": "sample string 3", "CompanyId": "24690157-0148-4f0d-a6ac-73abdac7beb1" }
application/xml, text/xml
Sample:
<Plant xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSG.Systems.DataAPI.Logic.Models.Access"> <CompanyId>24690157-0148-4f0d-a6ac-73abdac7beb1</CompanyId> <Id>aee56f8c-d0be-4d0e-ae32-b2f8888ad1c6</Id> <Name>sample string 3</Name> <UsingSupplier>true</UsingSupplier> </Plant>