POST apioauth/tooltrack/asset/{tagId}/photos

Add an image to a tool track asset

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tagId

The tag id of the asset the photo is for

string

Required

Body Parameters

A CreateToolTrackAssetPhotoRequest

CreateToolTrackAssetPhotoRequest
NameDescriptionTypeAdditional information
PhotoData

The service image encoded as a Base64 string

string

None.

PhotoName

The name of the photo

string

None.

PhotoIndex

The index of the photo to allow for ordering

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PhotoData": "sample string 1",
  "PhotoName": "sample string 2",
  "PhotoIndex": 3
}

application/xml, text/xml

Sample:
<CreateToolTrackAssetPhotoRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PhotoData>sample string 1</PhotoData>
  <PhotoName>sample string 2</PhotoName>
  <PhotoIndex>3</PhotoIndex>
</CreateToolTrackAssetPhotoRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean>true</boolean>