Note: values of the value list are not case sensitive
- Retrieve a value list
Retrieve all value lists
Create a value list
Update a value list
Delete a value list
Retrieve a value list
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
Bodyapplication/json
Data used to create the value list
If true, values will be shown in alphabetical order instead of order of creation
- Production serverhttps://api-cm.np6.com/valueLists
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api-cm.np6.com/valueLists \
-H 'Content-Type: application/json' \
-H 'X-Key: string' \
-d '{
"name": "Level",
"ordered": false,
"values": [
{
"index": 1,
"value": "Beginner"
},
{
"index": 2,
"value": "Intermediate"
},
{
"index": 3,
"value": "Advanced"
}
]
}'Response
application/json
{ "id": 25, "name": "Level", "ordered": false, "values": [ { "index": 1, "value": "Beginner" }, { "index": 2, "value": "Intermediate" }, { "index": 3, "value": "Experienced" } ] }
- Production serverhttps://api-cm.np6.com/valueLists/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api-cm.np6.com/valueLists/{id}' \
-H 'X-Key: string'Response
application/json
{ "id": 23, "name": "Pastimes", "ordered": false, "values": [ { "index": 1, "value": "Football" }, { "index": 2, "value": "Tennis" }, { "index": 3, "value": "Golf" } ] }
Bodyapplication/json
Data used to update the value list
If true, values will be shown in alphabetical order instead of order of creation
- Production serverhttps://api-cm.np6.com/valueLists/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://api-cm.np6.com/valueLists/{id}' \
-H 'Content-Type: application/json' \
-H 'X-Key: string' \
-d '{
"name": "Level",
"ordered": false,
"values": [
{
"index": 1,
"value": "Beginner"
},
{
"index": 2,
"value": "Intermediate"
},
{
"index": 3,
"value": "Advanced"
},
{
"index": 4,
"value": "Expert"
}
]
}'Response
application/json
{ "id": 25, "name": "Level", "ordered": false, "values": [ { "index": 1, "value": "Beginner" }, { "index": 2, "value": "Intermediate" }, { "index": 3, "value": "Advanced" }, { "index": 4, "value": "Expert" } ] }