Method

rxc-occupanttypes-add

Description

This method will add an occupant type to the business logged in.

Parameters

Name Input Value Type Description
business_code Integer This is the business we are adding the occupant to.
label String This is the occupant label we are giving to the new occupant.
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 given to this occupant type we are adding.
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