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 ClientSecretURI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of 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": "d125f439-a9fe-4314-890e-c9cee6534108", "Name": "sample string 3", "CompanyId": "03de9cf4-bbca-48ca-93b5-d98acce8b74a" }, { "UsingSupplier": true, "Id": "d125f439-a9fe-4314-890e-c9cee6534108", "Name": "sample string 3", "CompanyId": "03de9cf4-bbca-48ca-93b5-d98acce8b74a" } ]
application/xml, text/xml
Sample:
<ArrayOfPlant xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSG.Systems.DataAPI.Logic.Models.Access"> <Plant> <CompanyId>03de9cf4-bbca-48ca-93b5-d98acce8b74a</CompanyId> <Id>d125f439-a9fe-4314-890e-c9cee6534108</Id> <Name>sample string 3</Name> <UsingSupplier>true</UsingSupplier> </Plant> <Plant> <CompanyId>03de9cf4-bbca-48ca-93b5-d98acce8b74a</CompanyId> <Id>d125f439-a9fe-4314-890e-c9cee6534108</Id> <Name>sample string 3</Name> <UsingSupplier>true</UsingSupplier> </Plant> </ArrayOfPlant>