listReworkOrders
GET
/rework-orders
const url = 'https://app.dev.buildtrace.eu/api/rework-orders';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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://app.dev.buildtrace.eu/api/rework-orders \ --header 'Authorization: Bearer <token>'Required scope: service:read.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”status
string
Comma-separated statuses to include: DRAFT, IN_PROGRESS, COMPLETED, CANCELLED (e.g. DRAFT,IN_PROGRESS for the open orders). Absent = all. Any other value is a 400.
limit
integer
offset
integer
Responses
Section titled “Responses”OK
Media typeapplication/json
Array<object>
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
ecoTitle
ECO title, when the order is ECO-linked (read-only).
string
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" }]A status that doesn’t exist
Media typeapplication/json
object
error
required
string
Example generated
{ "error": "example"}Unauthorized