Skip to content

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
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations
Operations

Request

Path
idinteger(int32)required

The category'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.

curl -i -X DELETE \
  'https://api-cm.np6.com/categories/{id}' \
  -H 'X-Key: string'

Responses

No Content

Request

Get the list of action categories.

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.

curl -i -X GET \
  https://api-cm.np6.com/categories \
  -H 'X-Key: string'

Responses

An array of categories

Bodyapplication/jsonArray [
idinteger(int32)

The category's id

namestring

The category's name

descriptionstring

The category's description

creationDatestring(date-time)

The category's creation date

]
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" } ]

Request

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.

Bodyapplication/json

Data used to create the category

idinteger(int32)

The category's id

namestring

The category's name

descriptionstring

The category's description

creationDatestring(date-time)

The category's creation date

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"
  }'

Responses

The created category

Bodyapplication/json
idinteger(int32)

The category's id

namestring

The category's name

descriptionstring

The category's description

creationDatestring(date-time)

The category's creation date

Response
application/json
{ "id": 1, "name": "my category", "description": "a new category", "creationDate": "2023-03-01T00:00:00Z" }
Operations