Upload via a file via form data - Content-Type: application/octet-stream
- Get the last execution state of an import
Retrieve all import definitions
Create an import definition
Retrieve the specified import definition
Update an existing import definition
Delete an import definition
Upload a new file for an import with a binary request
Start a new execution for an import
Can update the import with the request model
Get the last execution st...
NP6 API Reference (8.1.0)
This documentation provides comprehensive access to the full range of functionalities offered by the NP6 platform through a standardized RESTful interface.
If you have any questions or need assistance, please contact our support team at https://support.chapsvision.com.
Languages
Servers
Production server
https://api-cm.np6.com
- Production serverhttps://api-cm.np6.com/imports/{id}/source
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://api-cm.np6.com/imports/{id}/source' \
-H 'X-Key: string'Response
application/vnd.mperf.v8.import.v1+json
{ "type": "file", "id": 0, "creationDate": "2019-08-24T14:15:22Z", "updateDate": "2019-08-24T14:15:22Z", "filename": "string", "data": [ {} ] }
- Production serverhttps://api-cm.np6.com/imports/{id}/executions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api-cm.np6.com/imports/{id}/executions' \
-H 'X-Key: string'Response
application/vnd.mperf.v8.import.v1+json
{ "state": 0 }
Bodyapplication/json
Id of the import format that describes the mapping between import file columns and fields
Import configuration features
Data source use to import the targets
The scheduler information
- Production serverhttps://api-cm.np6.com/imports/{id}/executions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api-cm.np6.com/imports/{id}/executions' \
-H 'Content-Type: application/json' \
-H 'X-Key: string' \
-d '{
"id": 0,
"name": "string",
"creationDate": "2019-08-24T14:15:22Z",
"updateDate": "2019-08-24T14:15:22Z",
"binding": 0,
"features": [
{
"type": "string"
}
],
"source": {
"type": "string"
},
"scheduler": {
"type": "string"
}
}'Response
application/vnd.mperf.v8.import.v1+json
{ "state": 0 }