POST apiassetoauth/driive/driverlink

Link an asset to a service

Request Information

URI Parameters

None.

Body Parameters

The OAuthAssetLinkRequestModel

OAuthAssetLinkRequestModel
NameDescriptionTypeAdditional information
ServiceID

The service id being attached to your driver

unsigned integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceID": 1
}

application/xml, text/xml

Sample:
<OAuthAssetLinkRequestModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ServiceID>1</ServiceID>
</OAuthAssetLinkRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

True if successful

DriverLinkResponseModel
NameDescriptionTypeAdditional information
Result

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": true
}

application/xml, text/xml

Sample:
<DriverLinkResponseModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Result>true</Result>
</DriverLinkResponseModel>