IFP allows file upload for processing on the IFP data service, when enabled for your database and linked to an AutoTask process.
Upload requirements
- HTTPS PUT request
- Data service name (<dataservice>)
- Database id as path parameter (<database id>)
- Token (<token>) and process name (<process name>) as query parameters - these will be provided by Support
- File to upload (<file to upload>) as multipart MIME form data with key of file. Note there is a size limit of 30Mb for upload files - if you need larger files, please contact Support.
cURL example
curl --location
--request PUT "https://<dataservice>.ifp.ajbsystems.net/IFP/api/Upload/<database id>?name=<process name>&token=<token>"
--form "file=@<file to upload>"
Responses
Success: 204 (No Content)
Errors:
- 422 Unprocessable Entity - invalid database id ["Invalid database <database id>"]
- 422 Unprocessable Entity - invalid name ["Invalid process name <name> for database <database id>"]
- 422 Unprocessable Entity - invalid token ["Invalid token"]
- 413 Request Entity Too Large (file to be uploaded exceeds the size limit)
Comments
0 comments
Please sign in to leave a comment.