GET api/assets/counters/categories/{category}
Get a list of counters by category.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| category | CounterCategoryType |
Required |
Body Parameters
None.
Response Information
Resource Description
List of Counter
Collection of Counter| Name | Description | Type | Additional information |
|---|---|---|---|
| CounterType | CounterType |
None. |
|
| CounterCategory | CounterCategoryType |
None. |
|
| ExternalId | string |
None. |
|
| Id | integer |
None. |
|
| AssetGuid | string |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| Note | string |
None. |
|
| Location | Location |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"CounterType": 1,
"Id": 2,
"CounterCategory": 1,
"AssetGuid": "sample string 3",
"ExternalId": "sample string 1",
"Name": "sample string 4",
"Description": "sample string 5",
"Note": "sample string 6",
"Location": {
"$id": "2",
"Latitude": 1.1,
"Longitude": 1.1
}
},
{
"$ref": "1"
}
]
text/html
Sample:
[{"$id":"1","CounterType":1,"Id":2,"CounterCategory":1,"AssetGuid":"sample string 3","ExternalId":"sample string 1","Name":"sample string 4","Description":"sample string 5","Note":"sample string 6","Location":{"$id":"2","Latitude":1.1,"Longitude":1.1}},{"$ref":"1"}]