The category's id
- Retrieve all categories
Delete a category
Create a category
Retrieve a category
Update a category
Retrieve all categories
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/categories/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://api-cm.np6.com/categories/{id}' \
-H 'X-Key: string'- Production serverhttps://api-cm.np6.com/categories
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api-cm.np6.com/categories \
-H 'X-Key: string'Response
application/json
[ { "id": 1, "name": "foo", "description": "a foo category", "creationDate": "2023-01-01T00:00:00Z" }, { "id": 2, "name": "bar", "description": "a bar category", "creationDate": "2023-01-02T00:00:00Z" } ]
- Production serverhttps://api-cm.np6.com/categories
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api-cm.np6.com/categories \
-H 'Content-Type: application/json' \
-H 'X-Key: string' \
-d '{
"name": "my category",
"description": "a new category"
}'Response
application/json
{ "id": 1, "name": "my category", "description": "a new category", "creationDate": "2023-03-01T00:00:00Z" }