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": "86a917dc-8339-4f45-84a4-fe04d605d38d",
  "Name": "sample string 3",
  "CompanyId": "fcdc0e6f-b303-4bb6-943c-cb8378e157c0"
}

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>fcdc0e6f-b303-4bb6-943c-cb8378e157c0</CompanyId>
  <Id>86a917dc-8339-4f45-84a4-fe04d605d38d</Id>
  <Name>sample string 3</Name>
  <UsingSupplier>true</UsingSupplier>
</Plant>