Create a project work order
Body
-
id
string Required Your reference for the work order. Multiple request with same id will be processed only once.
-
proposalId
string Required Proposal ID to match project
-
description
string Description added to work order
POST
/projects/workorder
curl \
-X POST https://partner.trukks.se/doorway/v1/projects/workorder \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id":"string","proposalId":"string","description":"string"}'
Request example
{
"id": "string",
"proposalId": "string",
"description": "string"
}
Request examples
{
"id": "string",
"proposalId": "string",
"description": "string"
}
Response examples (409)
{
"traceId": "string",
"message": "string"
}
Response examples (409)
{
"traceId": "string",
"message": "string"
}
Response examples (200)
{
"id": "string",
"title": "string",
"message": "string"
}
Response examples (200)
{
"id": "string",
"title": "string",
"message": "string"
}
Response examples (400)
{
"traceId": "string",
"message": "string"
}
Response examples (400)
{
"traceId": "string",
"message": "string"
}
Response examples (500)
{
"traceId": "string",
"message": "string"
}
Response examples (500)
{
"traceId": "string",
"message": "string"
}