iOS platform
The iOS micro application of Vantage Mobile Input uses the following API calls:- Sending parameters of the input session to the Vantage Mobile Upload Backend
- Getting parameters of the input session from the Vantage Mobile Upload Backend
- Getting status of the transaction
- Downloading models for analyzing images of the documents
- Getting list of the documents in the transaction
- Deleting existing documents in the transaction
- Creating a document in the transaction
- Uploading captured images to the document
- Starting the transaction
Android platform
The Android micro application of Vantage Mobile Input uses the following API calls:- Getting status of the transaction
- Downloading models for analyzing images of the documents
- Getting list of the documents in the transaction
- Deleting existing documents in the transaction
- Creating a document in the transaction
- Uploading captured images to the document
- Starting the transaction
Sending input session parameters to the Vantage Mobile Upload Backend
To record when the user starts capturing documents and from which device, usePOST /api/mobileinputbackend/v1/inputsessions.
This resource accepts the following parameters:
Input session parameters
| Parameter | Type | Description |
|---|---|---|
transactionId | string (uuid) | Required. Transaction identifier specified in the mobile upload link. |
platform | string | Required. The mobile platform of the device where the micro application is opened. Possible values: iOS, Android, Web. |
deviceModel | string | Optional. The model of the device where the micro application is opened. |
OSVersion | string | Optional. The OS version of the device where the micro application is opened. |
MIVersion | string | Optional. The Vantage Mobile Input version opened by the device. |
Getting input session parameters from Vantage Mobile Upload Backend
To check when the user started capturing documents, useGET /api/mobileinputbackend/v1/inputsessions/{transactionId}.
This resource returns the following parameters:
Input session parameters
| Parameter | Type | Description |
|---|---|---|
transactionId | string (uuid) | Transaction identifier specified in the mobile upload link. |
platform | string | The mobile platform of the device where the micro application is opened. Possible values: iOS, Android, Web. |
deviceModel | string | The model of the device where the micro application is opened. |
OSVersion | string | The OS version of the device where the micro application is opened. |
MIVersion | string | The Vantage Mobile Input version opened by the device. |
createdAt | string (date-time) | The date and time when the input session was created. |
Getting the status of the transaction
To check the current status of the transaction when capturing and uploading documents, useGET /api/publicapi/v1/transactions/{transactionId}.
This resource returns information about the transaction, including:
transactionId. The unique identifier of the transactionstatus. Current transaction status (New, Queued, InProgress, Processed, etc.)createdAt. When the transaction was createddocuments. Array of documents in the transaction
Downloading the models for analyzing images of the documents
To download machine learning models that analyze document images for quality and type detection, useGET /api/mobileinputbackend/v1/models.
This endpoint provides models that help the mobile app:
- Detect document boundaries
- Check image quality
- Identify document types
- Validate captured images
Getting a list of the documents in the transaction
To retrieve all documents currently associated with the transaction, useGET /api/publicapi/v1/transactions/{transactionId}/documents.
This resource returns an array of document objects, each containing:
id. Document identifiername. Document namestatus. Document processing statusfiles. Array of files (images) associated with the document
Deleting existing documents in the transaction
To remove a document from the transaction before starting processing, useDELETE /api/publicapi/v1/transactions/{transactionId}/documents/{documentId}.
This allows users to:
- Remove incorrectly captured documents
- Clear documents before re-capturing
- Manage document sets in the transaction
Note: Documents can only be deleted before the transaction starts processing.
Creating a document in the transaction
To create a new document in the transaction for uploading images, usePOST /api/publicapi/v1/transactions/{transactionId}/documents.
Request body example:
Uploading captured images to the document
To upload captured images to a specific document, usePOST /api/publicapi/v1/transactions/{transactionId}/documents/{documentId}/sourceFiles.
The request must include:
- Form data with the image file(s)
- Optional metadata about each file
- Image processing options (autoCrop, autoOrientation)
Starting the transaction
To begin processing all uploaded documents in the transaction, usePOST /api/publicapi/v1/transactions/{transactionId}/start.
This initiates the processing workflow with the skill specified when the transaction was created.
Request example:
- The transaction status changes to
QueuedorInProgress - Documents are processed according to the configured skill
- Results become available when status reaches
Processed - You can track progress using the transaction status endpoint
