Data retrieval
Get the details about a specific work order.
Last updated
Get the details about a specific work order.
Last updated
The status of a work order corresponds to a set of tasks. For each task, the current analyzed value from one or more analyses is provided (aggregation is an internal Deepomatic process).
In addition to the set of tasks, the completion state of the work order (progress score), updated with the analysis, is returned. It is both recommended to illustrate user’s progress with a progress bar based on the progress score (value is between 0 and 100) and to use this score to implement a logic for closing the intervention based on Deepomatic results.
In case of correction via the correction endpoint, the corrected value is also returned.
All endpoints are described with the EU (Europe) server format. If your application runs on the US server, you will need to use the following format: https://api.{site-id}.customers.us1.deepomatic.com/v0.2/.
Every Deepomatic application is versioned. We recommend to not integrate any logic based on the tasks and task groups ids as those ids changes when a version is upgraded. You can instead use tasks and task groups names that are agnostic to version changes.
GET
https://api.{site-id}.customers.deepomatic.com/v0.2/work-orders/{id}/
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Response format
progress_score
- number (between 0 and 100) : completion state of the work order computed based on the tasks included in the conformity score.
review_date
- date : date of the review performed by back office teams in our platform. For more details regarding work order review, please refer to the reviewing documentation.
inputs
- array : array containing the different inputs sent to perform the analysis including the conformity_messages
associated in case a data conformity check is not passed.
conformity_messages
- array : array returned when a data conformity check is not passed. It contains information such as the code
, the name
and the message
associated to the check. The check level
is also provided and two values can be returned: "warning" and "error". Depending on the level
set in our platform, different responses will be returned (for more details on the responses' format, see below).
state
- object : object containing in particular the task analyzed_value
which is dependent on the task type
(eg. if the type
is "Boolean", then the value returned will be either True or False), the message
associated to the analysis and the analyzed_inputs
array that allows you to retrieve the bounding boxes detected.
In the include_inputs = false option, both the inputs
array and the analyzed_inputs
field are not returned. The response time is therefore reduced.
include_inputs = true
include_inputs = false
id*
string
Id of the work order to retrieve This id corresponds to the id returned in the create a work order API response.
include_inputs
boolean
Include analyzed inputs in the response Default to true. Setting this parameter to false will give you a less verbose output. If it fits your needs you should pass false as it will be faster.
Authorization*
string
Deepomatic API Key associated to your account.