GET apioauth/tooltrackv2/groups/{groupId}/depots
Get all visible depots by group id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| groupId | unsigned integer |
Required |
Body Parameters
None.
Response Information
Resource Description
A collection of DepotResponse
DepotResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| depots |
A collection of depots |
Collection of DepotObject |
None. |
Response Formats
application/json, text/json
Sample:
{
"depots": [
{
"id": 1,
"name": "sample string 2"
},
{
"id": 1,
"name": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<DepotResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Depots>
<DepotObject>
<Id>1</Id>
<Name>sample string 2</Name>
</DepotObject>
<DepotObject>
<Id>1</Id>
<Name>sample string 2</Name>
</DepotObject>
</Depots>
</DepotResponse>