Initiate a mission by ID
POST/missions/initiate/:missionId
The Initiate Mission request allows you to initiate a mission. This request takes in the mission's unique ID as a parameter, and will initiate the mission in the Robot.
Request
Path Parameters
The ID of the mission to initiate
- application/json
Body
required
The iteration of the mission to initiate
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Mission initiated
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- move
- charging
- conveyor
- turnTable
- manipulator
- lifter
- waitUser
- docking
- undocking
- multiWaypoint
- qrMarker
- ]
Possible values: >= 3 characters and <= 50 characters
Possible values: >= 1
Default value: 1
tasks object[]required
Possible values: >= 1
Possible values: [move]
Possible values: <= 50 characters
data objectrequired
The ID of the waypoint to move to
Possible values: >= 3 characters and <= 50 characters
Possible values: [charging]
Possible values: <= 50 characters
data objectrequired
Possible values: >= 1 and <= 100
Possible values: >= 3 characters and <= 50 characters
Possible values: [conveyor]
Possible values: <= 50 characters
data objectrequired
Possible values: >= 3 characters and <= 50 characters
Possible values: [turnTable]
Possible values: <= 50 characters
data objectrequired
Possible values: >= 3 characters and <= 50 characters
Possible values: [manipulator]
Possible values: <= 50 characters
data objectrequired
Possible values: >= 3 characters and <= 50 characters
Possible values: [lifter]
Possible values: <= 50 characters
data objectrequired
Possible values: >= 3 characters and <= 50 characters
Possible values: [waitUser]
Possible values: <= 50 characters
data objectrequired
Possible values: >= 3 characters and <= 50 characters
Possible values: [docking]
Possible values: <= 50 characters
data objectrequired
The ID of the docking waypoint(Special Waypoint) to dock to
Possible values: >= 3 characters and <= 50 characters
Possible values: [undocking]
Possible values: <= 50 characters
data objectrequired
Possible values: >= 3 characters and <= 50 characters
Possible values: [multiWaypoint]
Possible values: <= 50 characters
data objectrequired
Possible values: >= 3 characters and <= 50 characters
Possible values: [qrMarker]
Possible values: <= 50 characters
data objectrequired
Possible values: >= 3 characters and <= 50 characters
map object
Possible values: >= 3 characters and <= 50 characters
createdBy object
The user who created this mission
updatedBy object
The user who last updated this mission
The date and time this mission was created
The date and time this mission was last updated
{
"name": "string",
"iteration": 1,
"tasks": [
{},
{},
{},
{},
{},
{},
{},
{},
{},
{},
{}
],
"map": {
"_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string"
},
"properties": {},
"createdBy": {
"_id": "string",
"name": "string",
"email": "user@example.com"
},
"updatedBy": {
"_id": "string",
"name": "string",
"email": "user@example.com"
},
"createdAt": "2024-12-03T13:26:27.671Z",
"updatedAt": "2024-12-03T13:26:27.671Z"
}
Robot is not in Auto Mode, to perform this turn Robot to Autonomous mode.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- any
{
"message": "Robot is not in Auto Mode, to perform this turn Robot to Autonomous mode."
}
{
"message": "Robot is not in Auto Mode, to perform this turn Robot to Autonomous mode."
}
Unauthorized.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- any
{
"message": "Authentication token not provided."
}
{
"message": "Authentication token not provided."
}
Forbidden.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- any
{
"message": "Access to this resource is forbidden."
}
{
"message": "Access to this resource is forbidden."
}
Resource not found.
- application/json
- Schema
- Example (from schema)
- Example
Schema
- any
{
"message": "Resource not found."
}
{
"message": "Resource not found."
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
- any
{
"message": "Internal Server Error. Please try again later."
}
{
"message": "Internal Server Error. Please try again later."
}