This documentation provides comprehensive access to the full range of functionalities offered by the NP6 platform through a standardized RESTful interface.
A unique API key used to authenticate requests to the NP6 platform. This key must be included in every API call to validate the identity and permissions of the client. Keep your API key secure and do not expose it in public code or logs.
Production server https://api-cm.np6.com/imports
curl
JavaScript
Node.js
Python
Java
C#
PHP
Go
Ruby
R
Payload
curl -i -X GET \ https://api-cm.np6.com/imports \ -H 'X-Key: string'
A unique API key used to authenticate requests to the NP6 platform. This key must be included in every API call to validate the identity and permissions of the client. Keep your API key secure and do not expose it in public code or logs.
Bodyapplication/json
The import definition to create
idinteger or null(int32)
Import Id
namestring
Import name
creationDatestring(date-time)
Import creation date
updateDatestring or null(date-time)
Import update date
bindinginteger or null(int32)
Id of the import format that describes the mapping between import file columns and fields
featuresArray of objects
Import configuration features
typestring
Discriminator
segmentation
redList
duplicate
report
database
normalization
segmentIdinteger(int32)
The id of the segment to add imported targets to
emptyExisitingSegmentboolean
If true, empty the segment before adding the targets
sourceobject
Data source use to import the targets
typestring
Discriminator
idinteger or null(int32)
The identifier of the source
creationDatestring(date-time)
The creation date
updateDatestring or null(date-time)
The update date
filenamestring
The name of the file
dataArray of objects
The content of the file
schedulerobject
The scheduler information
typestring
Discriminator
idinteger(int32)
Scheduler Id
namestring
Scheduler name
creationDatestring(date-time)
Scheduler creation date
descriptionstring
Scheduler description
enabledboolean or null
True if scheduler is enabled
timezonestring
Microsoft Timezone identifier, e.g.: (UTC+01:00) Brussels, Copenhagen, Madrid, Paris
Retrieve the specified import definitionDeprecated
Request
Path
idinteger(int32)required
The import definition's id
Headers
X-Keystringrequired
A unique API key used to authenticate requests to the NP6 platform. This key must be included in every API call to validate the identity and permissions of the client. Keep your API key secure and do not expose it in public code or logs.
Production server https://api-cm.np6.com/imports/{id}
curl
JavaScript
Node.js
Python
Java
C#
PHP
Go
Ruby
R
Payload
curl -i -X GET \ 'https://api-cm.np6.com/imports/{id}' \ -H 'X-Key: string'
Responses
Bodyapplication/vnd.mperf.v8.import.v1+json
idinteger or null(int32)
Import Id
namestring
Import name
creationDatestring(date-time)
Import creation date
updateDatestring or null(date-time)
Import update date
bindinginteger or null(int32)
Id of the import format that describes the mapping between import file columns and fields
featuresArray of objects
Import configuration features
typestring
Discriminator
segmentation
redList
duplicate
report
database
normalization
segmentIdinteger(int32)
The id of the segment to add imported targets to
emptyExisitingSegmentboolean
If true, empty the segment before adding the targets