AppendFileToSubmissionRequest

Uploads a file to be attached to a submission.

  • Base64-encoded content of the file to be uploaded. Only the Base64-encoded string, without any prefix (e.g., 'data:image/jpeg;base64,'), should be assigned. The file must be a PDF, JPEG, TIFF, PNG or BMP, and no larger than 15 MB (15,728,640 bytes) once decoded.

  • Desired name for the file uploaded

  • Description of the file uploaded

  • Sub type of the file uploaded.

  • Type of the file uploaded

  • The client provided reference id for the individual, company or trust that this relates to

  • The reference id of the requirement

Examples
{
  "file": "JVBERi0xLjQKJeLjz9MKMyAwIG9iago8PC9UeXBlL1BhZ2U+PgplbmRvYmoK",
  "fileName": "drivers-licence.pdf",
  "requirementReferenceId": "a6f0c1d2-5b3e-4a77-9c21-0e8b6f4d1a90",
  "entityReferenceId": "CRM-4821",
  "documentType": "IdentityDocument",
  "documentSubtype": "DriversLicence",
  "documentDescription": "Victorian drivers licence, front and back"
}