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 ClientSecret

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

The plant associated with the provided authentication credentials

Plant
NameDescriptionTypeAdditional 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": "6d353d32-3c7a-426e-9aa0-a76078055f60",
  "Name": "sample string 3",
  "CompanyId": "f4115844-a6eb-4dbf-90af-d59eba8b40fa"
}

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>f4115844-a6eb-4dbf-90af-d59eba8b40fa</CompanyId>
  <Id>6d353d32-3c7a-426e-9aa0-a76078055f60</Id>
  <Name>sample string 3</Name>
  <UsingSupplier>true</UsingSupplier>
</Plant>