POST apioauth/tooltrack/asset/{tagId}/photos
Add an image to a tool track asset
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
tagId |
The tag id of the asset the photo is for |
string |
Required |
Body Parameters
A CreateToolTrackAssetPhotoRequest
CreateToolTrackAssetPhotoRequestName | Description | Type | Additional 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
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean>true</boolean>