Image

Data container to represent Image information.
Image data has following elements:
Name Type Desciption
mimeType(string)Mime type associated with image. Helpful when extension of original file name is not available.
fileName(string)Original file name with extension, if applicable.
fileSize(int)Original file size. (optional)
content(string)Base64 representation of image. (required)
description(string)User-friendly image description. (optional)
Notes:
  • For XML format all fields except for content are XMLAttributes not XMLElements. See XML example below. (important)
  • One of fileName or mimeType is required.

JSON Example:
{
  "mimeType": "image/png",
  "fileName": "InsuranceCard-back.png",
  "fileSize": -1,
  "description": "Insurance Card back image",
  "content": "EFH7438743.......=="
}
    

XML Example:
See also:
API Functions, API Data