Method

rxc-unittypes-set

Description

This method will update an existing new unit type for the business logged in.

Parameters

Name Input Value Type Description
business_code Integer This is the business we are updating the unit type for.
mod_time Timestamp This is the modification time of your data so we can verify it hasn't changed since it was downloaded.
type_id Integer This is the unique identifier of the unit type we want to update.
length Integer (Optional) This is the maximum vehicle length that this unit type will accept.
width Integer (Optional) This is the maximum vehicle width that this unit type will accept.
height Integer (Optional) This is the maximum vehicle height that this unit type will accept.
depth Integer (Optional) This is the maximum vehicle depth that this unit type will accept.
label String (Optional) This is the label of this unit type.
long_name String (Optional) This is the long label of this unit type.
hover_text String (Optional) This is the hover text of this unit type.
length_sensitive Integer (Optional) This is a flag that specifies if this unit type is length sensitive or not.
max_people Integer (Optional) This specifies the maximum number of people that this unit type will accept.
description String (Optional) This is a description of this unit type.
overflow Integer (Optional) This is a flag that specifies if this unit type is an overflow or not.
checkin_time Timestamp (Optional) This is the check-in time for this unit type.
checkout_time Timestamp (Optional) This is the check-out time for this unit type.
general_policy String (Optional) This is the general policy when someone is making reservations on this unit type.
cancel_policy String (Optional) This is the cancellation policy when someone is cancelling a reservation on this unit type.
open_date Timestamp (Optional) This is the start month and day that this unit type is available every year.
close_date Timestamp (Optional) This is the end month and day that this unit type is available every year.
unit_count Integer (Optional) This is a number of units that exist or need to be created for the type.
start_at Integer (Optional) This is a number used to label the new units for this type.
grid_position Integer (Optional) This is a number used to order unit types on the avail grid.
online_tab_id Integer (Optional) This is the online tab that this type should display under on the web.
occupant_ids String (Optional) This is a CSV of occupant_ids we want to assign to this unit type.
included String (Optional) This is a CSV of included amounts that should line up with the CSV of occupant ids.
maximum String (Optional) This is a CSV of maximum amounts that should line up with the CSV of occupant ids.
hideonweb String (Optional) This is tells us whether the type should be hidden from the online pages or not.
taxids String (Optional) This is a CSV of tax ids we want to assign to this unit type.
meterids String (Optional) This is a CSV of meter ids we want to assign to this unit type.
auto_assign_meter Integer (Optional) This will indicate to us if we need to auto assign units to a meter.
url String (Optional) This is a url assigned to this unit type.
auto_clean String (Optional) This is tells us whether the units of this type should be set to auto clean on check out or not.
auto_last_day_checkout String (Optional) This is tells us whether the units of this type should be set to last day check out or not.
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