Skip to content

Create a new case

POST
/cases
curl --request POST \
--url https://api.waku-robotics.com/v1/cases \
--header 'Authorization: <Authorization>' \
--header 'Content-Type: application/json' \
--data '{ "assignee_id": "example", "deployment_id": "example", "name": "example", "status": "example", "workspace_id": "example" }'

Create a new case

Case

Media typeapplication/json
object
assignee_id

The ID of the user to which this case should be assigned

string
deployment_id
required

The ID of the deployment in which the case should be created

string
name
required

The name of the case

string
status
required

The initial status of the case

string
workspace_id
required

The ID of the workspace in which the case should be created

string

Example generated

{
"assignee_id": "example",
"deployment_id": "example",
"name": "example",
"status": "example",
"workspace_id": "example"
}

OK

Media typeapplication/json
object
created_at
required
string
deployment_id
required
string
device_id
string
id
required
string
name
required
string
status
required
string
updated_at
required
string

Example generated

{
"created_at": "example",
"deployment_id": "example",
"device_id": "example",
"id": "example",
"name": "example",
"status": "example",
"updated_at": "example"
}
Media typeapplication/json
object
code
integer
message
string

Example generated

{
"code": 1,
"message": "example"
}