Method

rxc-occupanttypes-set

Description

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

Parameters

Name Input Value Type Description
business_code Integer This is the business we are updating the occupant for.
mod_time Timestamp This is the modification time of your data so we can verify it hasn't changed since it was downloaded.
occupant_id Integer This is the unique identifier of the occupant type we are updating.
label String This is the occupant label we are updating this occupant type to.
person Integer This is a flag that specifies if this is a person or not. (1 = person, 0 = not person)
use_type_product Integer This is a flag that specifies if the system should use occupant products or unit type products when applying occupant charges.
base_price_default Integer This is a flag that specifies if this is the default occupant. It calculates rates differently if this is the case.
description String (Optional) This is a description we are updating this occupant type to.
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