Returns a specific work order strategy
GET
/workorders/strategies/{id}
const url = 'https://api.waku-robotics.com/v1/workorders/strategies/example';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.waku-robotics.com/v1/workorders/strategies/example \ --header 'Authorization: <Authorization>'Get a work order strategy by ID
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Work Order Strategy ID
Responses
Section titled “Responses”OK
Media typeapplication/json
object
active
required
boolean
assignee_id
required
string
created_at
required
string
devices
Array<object>
object
id
required
string
name
required
string
reference
required
string
id
required
string
rrule
string
title
required
string
updated_at
required
string
Example generated
{ "active": true, "assignee_id": "example", "created_at": "example", "devices": [ { "id": "example", "name": "example", "reference": "example" } ], "id": "example", "rrule": "example", "title": "example", "updated_at": "example"}default
Section titled “default”Media typeapplication/json
object
code
integer
message
string
Example generated
{ "code": 1, "message": "example"}
