post https://{tenant}.rubixx.app/api/v2/visits//close
Sample Request:
POST /api/v2/visits/e78e7e96-e255-42f8-912c-08dbd92d7a32/close
This endpoint requires all data to be in the body of the request.
{
"visitCloseReason": "Completed",
"appendVisitNotes": "Work Order Visit Was a Success"
}
Sample Response:
{
"visitId": "57610ff2-1d76-4b9b-b0f0-08dbd95077e8",
"visitDate": "30/10/2023 15:19:00",
"visitType": "WorkOrderVisit",
"visitResult": "Completed",
"address": "1 Albert Square, SW8 1DA",
"visitNote": "CLOSE NOTE - Work Order Visit Was a Success",
"assignedTo": "John Doe",
"createdDate": "30/10/2023 15:20:05",
"lastUpdatedDate": "30/10/2023 15:21:19"
}