DataImport REST API
The type of object being imported is determined by the spreadsheet tab name.
The DataImport API currently supports importing the following object types:
- Accounts
- Account Locations
- Products
- TaxRate
- Users
- Work Orders
Resource URL Summary
Submit a new data import request
POST /seiapi/v3/DataImport
Retrieve the status of all submitted data import requests
GET /seiapi/v3/DataImport/
Retrieve the original submitted data import file
GET /seiapi/v3/DataImport/${ImportID}
Retrieve the status of a specific data import request
GET /seiapi/v3/DataImport/${ImportID}/status
URL Parameters
Parameter | Description |
---|---|
| Identifies a specific data import file. |
Supported HTTP Methods
Method | Description |
---|---|
GET | Returns the account specific pricing for the account identified by the ${AccountNum} URL path |
POST | Creates a new data import request. |
HTTP Headers
Property | Method | Description |
---|---|---|
Content-Type | POST | Must be set to |
x-access-token | GET, POST | Must contain a valid JSON Web Token (JWT) |
Submitting a new Data Import Request
POST /seiapi/v3/DataImport
When submitting a new data import request the following rules must be met:
- SetÂ
Content-Type
 toÂmultipart/form-data
- Set theÂ
form-data name
 field to "file" - The posted data file size must be less than 500kÂ
HTTP Response
On success an HTTP response code of 200 will be returned and the response body will contain a unique data import ID. This ID can be used to retrieve the processing status of the request.Â
Retrieve the Status of All Data Import Requests
When retrieving the status of all data import requests, the response will contains a collection of ImportData Objects. When retrieving the status of a specific data import request, a single ImportData Object will be returned.Â
[ { // ImportData object }, { // ImportData object } ]
GET Specific Status Response Body
When retrieving the status of a specific import request, the response will contains an ImportData Object.
GET Posted File Response Body
When retrieving the original posted file for a specific data import request, the response body will contain the originally posted MS Excel spreadsheet data file.Â