Skip to content

completeReworkOrder

POST
/rework-orders/{id}/complete
curl --request POST \
--url https://app.dev.buildtrace.eu/api/rework-orders/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/complete \
--header 'Authorization: Bearer <token>'

Required scope: service:write.

id
required
string format: uuid

OK

Media typeapplication/json
object
id
required
string format: uuid
orderNumber
required

The order’s number within the organization, e.g. RW-0001

string
serialId
required
string format: uuid
reason
required
string
ecoId
string format: uuid
status
required
string
serialNumber

Human-readable serial number of the unit being reworked (read-only).

string
ecoNumber

ECO number, when the order is ECO-linked (read-only).

string
nullable
ecoTitle

ECO title, when the order is ECO-linked (read-only).

string
nullable

Example generated

{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"orderNumber": "example",
"serialId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"reason": "example",
"ecoId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"status": "example",
"serialNumber": "example",
"ecoNumber": "example",
"ecoTitle": "example"
}

Unauthorized

Not found

The order is not in progress, or checklist steps are not done

Media typeapplication/json
object
error
required
string

Example generated

{
"error": "example"
}