GET apioauth/matrixv2/groups/{groupId}/assets
Get all assets in a group
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| groupId | unsigned integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of AssetResponseMatrixV2| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The id of the asset |
unsigned integer |
None. |
| name |
The name of the asset |
string |
None. |
| site_code |
the site code |
string |
None. |
| tag_id |
the tag id |
string |
None. |
| bridge_height |
the height in cm |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"name": "sample string 2",
"site_code": "sample string 3",
"tag_id": "sample string 4",
"bridge_height": 5
},
{
"id": 1,
"name": "sample string 2",
"site_code": "sample string 3",
"tag_id": "sample string 4",
"bridge_height": 5
}
]
application/xml, text/xml
Sample:
<ArrayOfAssetResponseMatrixV2 xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<AssetResponseMatrixV2>
<Id>1</Id>
<Name>sample string 2</Name>
<SiteCode>sample string 3</SiteCode>
<TagId>sample string 4</TagId>
<BridgeHeight>5</BridgeHeight>
</AssetResponseMatrixV2>
<AssetResponseMatrixV2>
<Id>1</Id>
<Name>sample string 2</Name>
<SiteCode>sample string 3</SiteCode>
<TagId>sample string 4</TagId>
<BridgeHeight>5</BridgeHeight>
</AssetResponseMatrixV2>
</ArrayOfAssetResponseMatrixV2>