Create work order

POST {{baseUrl}}/workorders

Create work order for the tenant

Request Body

{"dueDate"=>"<string>", "title"=>"<string>", "assignedTo"=>"<string>", "attachments"=>[{"name"=>"<string>", "assetId"=>"<string>", "path"=>"<string>"}, {"name"=>"<string>", "assetId"=>"<string>", "path"=>"<string>"}], "associations"=>[{"id"=>"<string>", "type"=>"<string>"}, {"id"=>"<string>", "type"=>"<string>"}], "description"=>"<string>", "source"=>"<string>", "priority"=>"<string>", "status"=>"<string>", "type"=>"<string>", "notifyAssignee"=>false, "metadata"=>{"activationDate"=>"<string>", "completedDate"=>"<string>", "nulla_9"=>"non eiusmod"}, "externalSystems"=>[[{"type"=>"<string>", "name"=>"<string>", "entityId"=>"<string>", "link"=>"<string>", "metadata"=>"<object>"}, {"type"=>"<string>", "name"=>"<string>", "entityId"=>"<string>", "link"=>"<string>", "metadata"=>"<object>"}], [{"type"=>"<string>", "name"=>"<string>", "entityId"=>"<string>", "link"=>"<string>", "metadata"=>"<object>"}, {"type"=>"<string>", "name"=>"<string>", "entityId"=>"<string>", "link"=>"<string>", "metadata"=>"<object>"}]]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;message&quot;:&quot;Work order created/updated/deleted with wo-handle AA-000&quot;,&quot;woHandle&quot;:&quot;AA-000&quot;,&quot;eTag&quot;:&quot;1702540787672&quot;}