GET apioauth/v4/asset?assetId={assetId}
Get an asset by id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
assetId |
The asset id being queried |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
OAuthAssetResponseModel
OAuthAssetResponseModelName | Description | Type | Additional information |
---|---|---|---|
TagId |
The asst tag id |
string |
None. |
AssetName |
The asset name |
string |
None. |
AssetType |
The type of the asset |
MobileAssetType |
None. |
AssetId |
The unique id of the asset generated by the system |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "TagId": "sample string 1", "AssetName": "sample string 2", "AssetType": 1, "AssetId": 3 }
application/xml, text/xml
Sample:
<OAuthAssetResponseModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <TagId>sample string 1</TagId> <AssetName>sample string 2</AssetName> <AssetType>Driver</AssetType> <AssetId>3</AssetId> </OAuthAssetResponseModel>