The campaign's id to update
/
Delete the specified camp...
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/campaigns/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://api-cm.np6.com/campaigns/{id}' \
-H 'Content-Type: application/json' \
-H 'X-Key: string' \
-d '{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"description": "string",
"startDate": "2019-08-24T14:15:22Z",
"endDate": "2019-08-24T14:15:22Z",
"creationDate": "2019-08-24T14:15:22Z",
"updateDate": "2019-08-24T14:15:22Z",
"items": [
{
"type": "string"
}
]
}'Response
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "startDate": "2019-08-24T14:15:22Z", "endDate": "2019-08-24T14:15:22Z", "creationDate": "2019-08-24T14:15:22Z", "updateDate": "2019-08-24T14:15:22Z", "items": [ { "type": "string" } ] }
- Production serverhttps://api-cm.np6.com/campaigns/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://api-cm.np6.com/campaigns/{id}' \
-H 'X-Key: string'- Production serverhttps://api-cm.np6.com/campaigns/{id}/items
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api-cm.np6.com/campaigns/{id}/items' \
-H 'Content-Type: application/json' \
-H 'X-Key: string' \
-d '[
{
"type": "string"
}
]'Response
application/json
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "startDate": "2019-08-24T14:15:22Z", "endDate": "2019-08-24T14:15:22Z", "creationDate": "2019-08-24T14:15:22Z", "updateDate": "2019-08-24T14:15:22Z", "items": [ { "type": "string" } ] }