/
REST Objects Booking

REST Objects Booking

5.0.0

The Booking object can be part of:

  • The Appointment Book object, in the following location:
  • In this situation, a Booking object represents the details of when a Work Item is desired to be "booked" (i.e. scheduled), including additional details such as who should perform the work, when performing an appointment booking.

or:

  • The Work Item object, in the following locations:
  • In this situation, a Booking object represents the details of a Work Item has been "booked" (i.e. scheduled), including additional details such as who will perform the work.

Booking Object Format  

JSON Format
{
    "OrderDate": "",
    "SchdArr": "",
    "SchdStart": "",
    "SchdEnd": "",
    "ServiceDesc": "",
    "ServiceOrg": "",
    "Tech": "",
    "Offer": {
		// Offer Object
    },
    "TechInfo": {
		"Name": "",
        "Phone": "",
        "ImageUrl": ""
    },
 	"ServiceOrgInfo": {
		"Name": "",
		"ServiceOrg": "",
		"ExtSysId": "",
		"Address": {
			"AddrLine1": "",
			"AddrLine2": "",
			"City": "",
			"Region": "",
			"PostalCode": "",
			"Country": ""
		},
		"Phone": "",
    	"Email": "",
	    "ImageUrl": ""
	}
}

Booking Object Properties


PropertyTypeRequired?DescriptionField Mappings
ServiceDispatchServiceMobilityServiceScheduling
OfferobjectNo

In the context of a requesting an appointment offer for a new Work Item, an REST Objects Appointment Offer containing details of the appointment offer.

Required when booking a Work Item; not present when viewing a booked Work Item.

Booking.Offer.Offerng

N/AN/A
OrderDateUTC Date/TimeNo

The UTC date and time when the Work Item was created, in ISO-8601 format using pattern YYYY-MM-DDTHH:mm:SS.sssZ.

Not required to be set when booking a Work Item; present when viewing a booked Work Item.

Booking.Offer.OfferId

/OrderDatedate
SchdArrUTC Date/TimeNo

The UTC date and time the Worker allocated to the Work Item is scheduled to arrive on site, in ISO-8601 format using pattern YYYY-MM-DDTHH:mm:SS.sssZ.

Not required to be set when booking a Work Item; present when viewing a booked Work Item.

ServiceCenterBooking.Offer.SchdStart 

N/A(expectedStart + travel)
SchdStartUTC Date/TimeNo

The UTC date and time the Worker allocated to the Work Item is scheduled to start travelling to the site, in ISO-8601 format using pattern YYYY-MM-DDTHH:mm:SS.sssZ.

Not required to be set when booking a Work Item; present when viewing a booked Work Item.

(OfferIDCollection:SchdDelDate + OfferIDCollection:TimePeriod)/PlannedStartDateexpectedStart
SchdEndUTC Date/TimeNo

The UTC date and time the Worker allocated to the Work Item is scheduled to complete the work, in ISO-8601 format using pattern YYYY-MM-DDTHH:mm:SS.sssZ.

Not required to be set when booking a Work Item; present when viewing a booked Work Item.

(OfferIDCollection:SchdDelDate + OfferIDCollection:TimePeriod)/PlannedEndDateexpectedEnd
ServiceDescstringNo

A description of the organization or group responsible for servicing the job.

Not required to be set when booking a Work Item; present when viewing a booked Work Item.

Servicer NameN/AfruDescription
ServiceOrgstringNo

The organization or group responsible for servicing the job.

Not required to be set when booking a Work Item; present when viewing a booked Work Item.

ServiceCenterN/AFRU
TechstringNo

The ID of the assigned worker.

Not required to be set when booking a Work Item; present when viewing a booked Work Item.

N/A/UserNamescheduledEmp
TechInfoobjectNo

Where the Primary Sub-System is ServiceDispatch, the ServiceDispatch TechInfo object.

Not required to be set when booking a Work Item; present when viewing a booked Work Item.

N/AN/AN/A
ServiceOrgInfoobjectNo

Where the Primary Sub-System is ServiceDispatch, the ServiceDispatch ServicerInfo object.

Not required to be set when booking a Work Item; present when viewing a booked Work Item.

N/AN/AN/A

Related content

Request Appointments
Request Appointments
More like this
Book Appointment
Book Appointment
More like this
Booking.objects
Booking.objects
More like this
REST Objects Appointment Book
REST Objects Appointment Book
More like this
Book Non-Appointment Job
Book Non-Appointment Job
More like this
Update Non-Appointment Job
Update Non-Appointment Job
More like this