With the release of request version v2, version v1 is being moved to legacy.
For new integrations, use the current v2.
Version v1 remains available to support existing integrations.
|
PATCH /api/v1/billing/intercom-flats |
The intercom can be specified by intercom_id. The apartment can be specified by flat or flat_id.
Example request body:
{
"intercom_id": 1,
"flat": 10,
"is_smartphone_sip_line_available": true,
"is_landline_sip_line_available": true,
"is_analog_line_available": false
}
Method parameters
int intercom_id, Intercom ID
int flat, Apartment number (mutually exclusive with flat_id)
int flat_id, Intercom apartment record ID (mutually exclusive with flat)
bool is_smartphone_sip_line_available, SIP line availability (smartphone)
bool is_landline_sip_line_available, SIP line availability (landline)
bool is_analog_line_available, Analog line availability
|
200 |
|
Successful response with the updated apartment JSON
|
|
422 |
|
Returns a JSON error object. For more information, see General information > Validation. JSON
|