ObjectTypeUpdateRequest
RequestSent in requests. Its values are closed: anything not listed is refused.
Attributes
1Fields to change; only sent fields change. property_defs, when sent, changes the definitions it lists (by id) and adds the ones without an id, in the order sent; definitions left out are untouched and move after the sent ones.
Details
A definition is never deleted, because objects hold values for it: archive it with is_archived: true.
5 attributes of data
Turn ledger tagging on (creates the dimension and a value for every object). Turning it off is refused with BILLING_OBJECT_GL_TAGGING_IRREVERSIBLE.
Definitions to change or add, in display order.
10 attributes of each item
What a property's value is. numeric a decimal number (area, share, resident count); text free text; boolean yes or no; contact a contact of this organization (an owner, a payer, a tenant); address the object's own address (address_text on the object; at most one per type); meter a slot for one meter of one meter type.
One of numeric, text, boolean, contact, address, meter
Details
Fixed once the definition is saved.
Hold several values at once. Omitted or null: false on a new definition, unchanged on an existing one. Turning it off is refused with BILLING_OBJECT_PROPERTY_DEF_MULTI_IN_USE while an object holds several current values.
Required for a meter property and refused for every other kind.