/dataAccess/uploadImage/

Upload image metadata and binary image bitmap data to the TrustID Cloud.

Request

POST {{server}}/VPE/dataAccess/uploadImage/?__TT_ContainerId=...&__TT_DocumentId=...&__TT_ImageType=2
Content-Type: application/octet-stream
__TT_DeviceId: device-id
__TT_SessionId: ...

<binary image data as octet stream>
UploadImageRequest.ContainerId

= ContainerId

Unique identifier of the document container that the image belongs to.

UploadImageRequest.DocumentId

= DocumentId

Unique identifier of the document that the image belongs to.

UploadImageRequest.ImageType

= ImageType

The type of image that is being uploaded.

See also

ImageType for more information about image types.

Response

{
    "Success": true,
    "Message": "Operation executed successfully.",

    "ImageId": "..."
}
UploadImageResponse.ImageId

= ImageId

The unique identifier of the image that was uploaded to the TrustID Cloud.