API calls by platform
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
Vantage Mobile Input sends input session parameters to the Vantage Mobile Upload Backend. These parameters are used for the upload session in the Android micro application or in the web browser.Input session parameters
Request:
Getting input session parameters from Vantage Mobile Upload Backend
To get the input session parameters, Vantage Mobile Upload sends requests to Vantage Mobile Upload Backend.Input session parameters
Request:
Getting the status of the transaction
Vantage Mobile Upload sends a request to get the transaction identifier and status. Only transactions with the New status are valid for uploading documents. Key parameters
Request:
Response:
Downloading the models for analyzing images of the documents
Vantage Mobile Upload sends requests to download models for detecting page edges on the images of the documents for the iOS micro application. Key parameters
Request:
Response:
Getting a list of the documents in the transaction
Before uploading documents to the transaction, Vantage Mobile Upload sends a request to check the transaction for previously created documents. If the transaction is not empty, Vantage Mobile Upload sends a Delete document request to delete all existing documents before a new upload session. Key parameters
Request:
Response:
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
Documents can only be deleted before the transaction starts processing.
Creating a document in the transaction
To upload images Vantage Mobile Upload sends a request to create document instances for each document in the transaction. Key parameters
Request:
Response:
Uploading captured images to the document
Once the document instance has been created, Vantage Mobile Upload sends a request to upload all the images to the document. All images for one document are uploaded in a single request. Key parameters
Request:
Response:
Starting the transaction
Once all the documents have been created and all the images have been uploaded to the documents, Vantage Mobile Upload sends a request to start the transaction. Key parameters
Request:
Response:
