# Create 'Subtenantcontractconnection' Endpoint: POST /accounts/users/customer/subtenantcontractconnection/ Version: 2.0.0 Security: customer_id, application_id, service_id, service_version_id, client_ct, client_object_id, client_secret ## Request fields (application/json): - `sub_tenant` (object, required) - `sub_tenant.id` (string) - `stakeholder_type` (integer, required) Enum: 0, 1, 2 - `custom_id` (string,null) - `apartment_contract` (object,null) Additional Validation Information: This value can't bet set, when any of the following fields are set: industrial_premises_contract, parking_spot_contract, outdoor_section_contract, brf_apartment This field, or at least one of the following fields must be set: industrial_premises_contract, parking_spot_contract, outdoor_section_contract, brf_apartment - `reminder_distribution_instruction` (array,null) - `end_date` (string,null) Additional Validation Information: This value must be set in an proper order, in relation to the following fields: start_date - `start_date` (string,null) Additional Validation Information: This value must be set in an proper order, in relation to the following fields: end_date - `parent_sub_tenant` (object,null) - `parking_spot_contract` (object,null) Additional Validation Information: This value can't bet set, when any of the following fields are set: apartment_contract, industrial_premises_contract, outdoor_section_contract, brf_apartment This field, or at least one of the following fields must be set: apartment_contract, industrial_premises_contract, outdoor_section_contract, brf_apartment - `signed_time` (string,null) - `debt_distribution_instruction` (array,null) - `invoice_distribution_instruction` (array,null) - `industrial_premises_contract` (object,null) Additional Validation Information: This value can't bet set, when any of the following fields are set: apartment_contract, parking_spot_contract, outdoor_section_contract, brf_apartment This field, or at least one of the following fields must be set: apartment_contract, parking_spot_contract, outdoor_section_contract, brf_apartment - `outdoor_section_contract` (object,null) Additional Validation Information: This value can't bet set, when any of the following fields are set: apartment_contract, industrial_premises_contract, parking_spot_contract, brf_apartment This field, or at least one of the following fields must be set: apartment_contract, industrial_premises_contract, parking_spot_contract, brf_apartment - `category` (integer,null) Enum: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 - `organization` (object,null) - `brf_apartment` (object,null) Additional Validation Information: This value can't bet set, when any of the following fields are set: apartment_contract, industrial_premises_contract, parking_spot_contract, outdoor_section_contract This field, or at least one of the following fields must be set: apartment_contract, industrial_premises_contract, parking_spot_contract, outdoor_section_contract - `prefer_invoice_view_only` (boolean) ## Response 201 fields (application/json): - `status` (integer, required) Enum: 0, 1, 2, 3, 4 - `sub_tenant` (object, required) - `sub_tenant.id` (string) - `stakeholder_type` (integer, required) Enum: 0, 1, 2 - `id` (string, required) Additional Validation Information: Must be unique - `custom_id` (string,null) - `apartment_contract` (object,null) Additional Validation Information: This value can't bet set, when any of the following fields are set: industrial_premises_contract, parking_spot_contract, outdoor_section_contract, brf_apartment This field, or at least one of the following fields must be set: industrial_premises_contract, parking_spot_contract, outdoor_section_contract, brf_apartment - `reminder_distribution_instruction` (array,null) - `end_date` (string,null) Additional Validation Information: This value must be set in an proper order, in relation to the following fields: start_date - `start_date` (string,null) Additional Validation Information: This value must be set in an proper order, in relation to the following fields: end_date - `parent_sub_tenant` (object,null) - `created_at` (string) - `parking_spot_contract` (object,null) Additional Validation Information: This value can't bet set, when any of the following fields are set: apartment_contract, industrial_premises_contract, outdoor_section_contract, brf_apartment This field, or at least one of the following fields must be set: apartment_contract, industrial_premises_contract, outdoor_section_contract, brf_apartment - `contract_start_date` (string,null) - `signed_time` (string,null) - `debt_distribution_instruction` (array,null) - `invoice_distribution_instruction` (array,null) - `industrial_premises_contract` (object,null) Additional Validation Information: This value can't bet set, when any of the following fields are set: apartment_contract, parking_spot_contract, outdoor_section_contract, brf_apartment This field, or at least one of the following fields must be set: apartment_contract, parking_spot_contract, outdoor_section_contract, brf_apartment - `customer_columns` (any) - `tags` (any) - `contract_end_date` (string,null) - `outdoor_section_contract` (object,null) Additional Validation Information: This value can't bet set, when any of the following fields are set: apartment_contract, industrial_premises_contract, parking_spot_contract, brf_apartment This field, or at least one of the following fields must be set: apartment_contract, industrial_premises_contract, parking_spot_contract, brf_apartment - `category` (integer,null) Enum: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21 - `organization` (object,null) - `brf_apartment` (object,null) Additional Validation Information: This value can't bet set, when any of the following fields are set: apartment_contract, industrial_premises_contract, parking_spot_contract, outdoor_section_contract This field, or at least one of the following fields must be set: apartment_contract, industrial_premises_contract, parking_spot_contract, outdoor_section_contract - `pending_monitor_approval_amount` (any) - `prefer_invoice_view_only` (boolean) ## Response 401 fields ## Response 403 fields ## Response 429 fields