PendingBooking

A pending booking [PendingBooking] is a draft booking created when searching for resources as part of the following features:

XML

SOAP

REST

Database table

Object

PendingBooking

oaPendingBooking

pending_booking

Supported Commands

Read

read()

The PendingBooking object has the following properties:

XML / SOAP

Database

Description

approval_status

approval_status

[Read-only] A one-character string indicating the approval status of the booking request. Possible values:

  • O - Open

  • S - Submitted

  • A - Approved

  • R - Rejected

as_percentage

as_percentage

[Read-only] A 1/0 field indicating which of the fields (hours or percentage) are , and which is derived.

  • 1 = percentage is and hours is derived.

  • 0 = hours in and percentage is derived.

booking_typeid

booking_type_id

[Read-only] The ID of the associated booking_type.

created

created

[Read-only] Time the record was created. See Date Fields.

customerid

customer_id

[Read-only] The ID of the associated customer.

date_approved

date_approved

[Read-only] The date the booking request was approved. See Date Fields.

date_submitted

date_submitted

[Read-only] The date the booking_request was submitted. See Date Fields.

dirty

dirty

[Read-only] A "2/1/0" field: 0=clean; 1=dirty; 2=in progress

enddate

enddate

[Read-only] The end date of the booking. See Date Fields.

endtime

endtime

[Read-only] End time. See Date Fields.

externalid

external_id

[Read-only] If the record was imported from an external system you store the unique external record ID here.

hours

hours

[Read-only] The number of hours booked to this project during this date range. This is either the booked hours or derived from the percentage.

id

id

[Read-only] Unique ID. Automatically assigned by OpenAir.

job_codeid

job_code_id

[Read-only] The ID of the associated job code.

locationid

location_id

[Read-only] The location ID for this booking.

notes

notes

[Read-only] Booking notes.

notify_owner

notify_owner

[Read-only] A 1/0 field indicating whether to send email to the requestor when the booking is modified.

ownerid

ownerid

[Read-only] The ID of the associated user creating the booking.

percentage

percentage

[Read-only] The percentage of time booked to this project during this date range. This is either the booked percentage or derived from the hours.

project_assignment_profileid

project_assignment_profile_id

[Read-only] The ID of the associated project assignment profile.

project_taskid

project_task_id

[Read-only] The ID of the task within the associated project.

projectid

project_id

[Read-only] The ID of the associated project.

repeatid

repeat_id

[Read-only] The ID of the associated repeating event.

resource_request_queue_id

resource_request_queue_id

[Read-only] The ID of the associated resource request queue.

startdate

startdate

[Read-only] The start date of the booking. See Date Fields.

starttime

starttime

[Read-only] Start time. See Date Fields.

updated

updated

[Read-only] Time the record was last updated or modified. See Date Fields.

userid

user_id

[Read-only] The ID of the associated user.