Creates an in progress standard order as a booking

Licenses Required

  • Vista.Ocapi
Request
header Parameters
Connect-Region-Code
string

Region Code

Request Body schema:
required

Details of the order to be created

siteId
required
string non-empty

Gets the unique identifier of the site

bookingMode
required
string (OrderBookingMode)

Represents the mode of an order booking base

Enum: "Paid" "Unpaid" "UnpaidConfirmed"
Responses
200

Success

400

Site does not exist.

post/ocapi/v1/orders/standard/booking
Request samples
{
  • "siteId": "string",
  • "bookingMode": "Paid"
}
Response samples
application/json
{
  • "order": {
    },
  • "relatedData": {
    }
}