The segment's id
/
Add targets to a static s...
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/segments/{id}/targets
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api-cm.np6.com/segments/{id}/targets' \
-H 'X-Key: string'Response
application/json
[ "000PKXK4", "000PKXK5", "000PKXK6", "000PKXK7", "000R4EJO", "000R4MG8", "000R4O1C", "000R4S0S", "000R7FNX", "000R7FNY" ]
Body
- application/json
- application/vnd.mperf.v8.unicity+json
An array of target identifiers
string
- Production serverhttps://api-cm.np6.com/segments/{id}/targets
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://api-cm.np6.com/segments/{id}/targets' \
-H 'Content-Type: application/json' \
-H 'X-Key: string' \
-d '[
"000PKXK4",
"000PKXK5",
"000PKXK6",
"000PKXK7",
"000R4EJO",
"000R4MG8",
"000R4O1C",
"000R4S0S",
"000R7FNX",
"000R7FNY"
]'Response
10
- Production serverhttps://api-cm.np6.com/segments/{id}/targets
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://api-cm.np6.com/segments/{id}/targets' \
-H 'X-Key: string'