GET apioauth/v4/service/asset/{serviceId}

Get the assets assigned to a service

Request Information

URI Parameters

NameDescriptionTypeAdditional information
serviceId

The service id being queried

integer

Required

Body Parameters

None.

Response Information

Resource Description

A list of OAuthAssetResponseModel

Collection of OAuthAssetResponseModel
NameDescriptionTypeAdditional 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
  },
  {
    "TagId": "sample string 1",
    "AssetName": "sample string 2",
    "AssetType": 1,
    "AssetId": 3
  }
]

application/xml, text/xml

Sample:
<ArrayOfOAuthAssetResponseModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <OAuthAssetResponseModel>
    <TagId>sample string 1</TagId>
    <AssetName>sample string 2</AssetName>
    <AssetType>Driver</AssetType>
    <AssetId>3</AssetId>
  </OAuthAssetResponseModel>
  <OAuthAssetResponseModel>
    <TagId>sample string 1</TagId>
    <AssetName>sample string 2</AssetName>
    <AssetType>Driver</AssetType>
    <AssetId>3</AssetId>
  </OAuthAssetResponseModel>
</ArrayOfOAuthAssetResponseModel>