GET api/access/v1/plants

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

Collection of Plant
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

None.

CompanyId

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "32a49da9-7007-4170-a0e3-98edf6dfaca5",
    "Name": "sample string 2",
    "CompanyId": "861baa69-2d4d-45c0-9952-daf1248c621a"
  },
  {
    "Id": "32a49da9-7007-4170-a0e3-98edf6dfaca5",
    "Name": "sample string 2",
    "CompanyId": "861baa69-2d4d-45c0-9952-daf1248c621a"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPlant xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSG.Services.AccessControl.Messages.Contracts.DataAPI">
  <Plant>
    <CompanyId>861baa69-2d4d-45c0-9952-daf1248c621a</CompanyId>
    <Id>32a49da9-7007-4170-a0e3-98edf6dfaca5</Id>
    <Name>sample string 2</Name>
  </Plant>
  <Plant>
    <CompanyId>861baa69-2d4d-45c0-9952-daf1248c621a</CompanyId>
    <Id>32a49da9-7007-4170-a0e3-98edf6dfaca5</Id>
    <Name>sample string 2</Name>
  </Plant>
</ArrayOfPlant>