Lists all assets ID and serial number only.
Endpoint URL
https://dashboard-api.revnue.com/api/v2/assetids
Authentication and rate limits
Item | Details |
---|---|
Authentication method | OAuth 2.0 Bearer token |
Rate limit | Rate Limit |
Requests Example
curl --request GET \
--url 'https://dashboard-api.revnue.com/api/v2/assetids/?company=1' \
--header 'Authorization: Bearer $BEARER_TOKEN'
curl --request GET \
--url 'https://dashboard-api.revnue.com/api/v2/asset/$id/?company=1' \
--header 'Authorization: Bearer $BEARER_TOKEN'
Query Parameters
- company (integer) --
[REQUIRED]
The ID of the specific company your API is calling. For accounts with only one company, the default value is1
.
To lookup a specific company ID, see the List Company API. - id (integer) --
Optional if you want to list a specific asset ID. The id parameter is passed as part of the request url
/assetids/$id/
.
Response Syntax
{
"id": integer,
"serial_number": "string"
}
Response Fields
- id (integer) --
The ID of the asset.
- serial_number (string) --
The serial number of the asset.