Method

rxc-pencilins-add

Description

This method will create a pencil-in booking.

Parameters

Name Input Value Type Description
business_code Integer This is the business code.
type_id Integer This is the unique identifier of the unit type we want to create the pencil-in booking within.
unit_id Integer (Optional) This is the unique identifier of the unit we want to create the pencil-in booking on.
open_date Timestamp This is the date that the pencil-in reservation starts on.
close_date Timestamp This is the check out date of the pencil-in reservation.
description String (Optional) This is the description of this pencil-in.
business_rez_id Integer (Optional) This is the local id (RezRobot uses Rez_ID of the reservation) so we have a cross reference.
rez_number String (Optional) This is the local rez_number (RezRobot user Rez_Number of the reservation) so we have a cross reference.
rez_type Integer (Optional) This is the type for pencil-in we are creating, reservation hold or service booking.
check_availability Integer (Optional) If exists we will be checking availability, RezRobot will never pass this.
format enumeration (optional) Set this value to "xml" for XML raw formatted output, "xml-clean" for XML tidy formatted output or "json" for JSON formatted output. If not passed, "xml" is used as a default

XML Encoded Request

URL Encoded Request





Result