This article is also available in:

Creating a work order through the API

Creating a work order through the API


Imagine you have an external software system that can track time and you want it to create work orders for you.


This request shows how to create a work order with:


  • employee commute information
  • employee time entries
  • extra line items with used articles


POST https://app.robaws.com/api/v2/work-orders
{
"projectId": "1",
"commuteEntries": [
{
"distance": 17,
"returnDistance": 33,
"employeeId":"1"
},
{
"distance": 5,
"returnDistance": 5,
"employeeId": "2"
}
],
"timeEntries": [
{
"employeeId":"1",
"articleId":"556",
"startTime": {
"hour": 8,
"minute": 30
},
"endTime": {
"hour": 18,
"minute": 45
},
"breakHours": 1.5
}
],
"lineItems": [
{
"type": "LINE",
"articleId": "1",
"quantity": "3",
"description": "Your custom description"
}
]
}

Updated on: 09/09/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!