Eurocell Group Limited - Intact iQ API
Documents
This service allows you to retrieve the printed version of objects from the system e.g. copy order or invoice printouts.
[GET]
Key Purpose Sample Description
formcode The printer form code (optional) http://localhost:8092/documents/13123123123?formcode=INVOICE2 Gets the printed version of the invoice using the printer form layout with code INVOICE2
mode The method used to return the document (optional - default is JSON) http://localhost:8092/documents/13123123123?mode=file This can be either JSON, FILE or COMPRESSED. JSON returns the document as GZipped Base64Encoded string in a JSON object, FILE returns the raw document and COMPRESSED returns a GZIipped version of the file.
Sample Response
Name Type Description
DocumentMimeType String The type of the document when uncompressed e.g. application/pdf
MimeType String The type of the compressed document string usually application/gzip
Document String A base64 encoded representation of the document