Skip to main content
Create Visit Orders

Authorizations

Authorization
string
header
required

Enter your Bearer token. It's required to authenticate API requests.

Body

application/json
MachineId
integer<int64>

The unique identifier of the machine for which the visit order is being created.

VisitDate
string<date-time>

The date and time when the machine is scheduled to be visited.

DriverId
string<uuid> | null

The unique identifier of the driver assigned to visit the machine. This field is nullable if no driver is assigned.

RouteId
integer<int64> | null

The unique identifier of the route associated with the machine visit. This field is nullable if the route is not specified.

OrderKey
integer<int32>

The sequence order key indicating the position of the machine in the visit order.

Response

200 - application/json

The newly created visit orders.

VisitDate
string<date-time>

The date and time when the machine is scheduled to be visited.

MachineId
integer<int64> | null

The unique identifier of the machine associated with the visit order. This field is nullable if the machine ID is not available.

DriverId
string<uuid> | null

The unique identifier of the driver assigned to visit the machine. This field is nullable if no driver is assigned.

RouteId
integer<int64> | null

The unique identifier of the route associated with the machine visit. This field is nullable if the route is not specified.

OrderKey
integer<int32> | null

The sequence order key indicating the position of the machine in the visit order. This field is nullable if the order key is not defined.

CreatedDt
string<date-time>

The date and time when the visit order was created.

CreatedBy
integer<int64>

The unique identifier of the user who created the visit order.

UpdatedDt
string<date-time> | null

The date and time when the visit order was last updated. This field is nullable if no updates have been made.

UpdatedBy
integer<int64> | null

The unique identifier of the user who last updated the visit order. This field is nullable if no updates have been made.