Just like when using the desktop version of Infoplus, files can be attached to any record in the system using the Infoplus API.

To use this API call, you must use a version of the API greater than 2.0.

Steps for Attaching a File to a Record

  1. Create a POST request to the file endpoint of the record to which you want to attach a file.
  2. The name of the file is appended to the POST URL.  
  3. Add the file's data to the request body.
  4. Add the required Content-Type header to the request, setting its value to the MIME media type of the file being uploaded.
  5. Send the request.

Here's an example of a file upload request using the image/jpeg Content-Type and the data from a JPEG file name testFile.jpg. 

POST https://[subdomain].infopluswms.com/infoplus-wms/api/beta/aisle/1/file/testFile.jpg HTTP/1.1
Content-Type: image/jpeg

If successful, a 200 OK status code is returned along with the information about the file.

HTTP/1.1 200 OK
Content-Type: application/json
Date: Thu, 14 Feb 2019 15:10:54 GMT
Content-Length: 369
Connection: Close
    "roleName":"User File",
    "userFullName":"Test User"


Note: File uploads are limited to a maximum of 20MB in size.