# Bulk write 'SubTenantTenantConnection'

Endpoint: POST /accounts/users/customer/subtenanttenantconnection/list/
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):

  - `organization` (object)

  - `organization.id` (string)

  - `custom_id` (string)

  - `sub_tenant` (object, required)

  - `sub_tenant.id` (string)

  - `parent_sub_tenant` (object)

  - `parent_sub_tenant.id` (string)

  - `category` (integer)
    **Additional Validation Information:**
Enum Descriptions:
* `0` - Relative
* `1` - Close Relative
* `2` - Registered Partnership
* `3` - Partner
* `4` - Cohabitant
* `5` - Child
* `6` - Work
* `7` - Resident
* `8` - Disability Support
* `9` - Live In Tenant
* `10` - Welfare Support
* `11` - Staff
* `12` - Authorized Signatory
* `13` - Financial Manager
* `14` - Contract Manager
* `15` - Premises Manager
* `16` - Business Unit
* `17` - It Support
* `18` - Supplier Contact
* `19` - Security Manager
* `20` - Legal Contact
* `21` - Ice Contact
    Enum: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21

  - `invoice_distribution_instruction` (array)

  - `reminder_distribution_instruction` (array)

  - `debt_distribution_instruction` (array)

  - `prefer_invoice_view_only` (boolean)

  - `stakeholder_type` (integer, required)
    **Additional Validation Information:**
Enum Descriptions:
* `0` - Trustee
* `1` - Contact Person
* `2` - Administrator
* `3` - Legal Guardian
    Enum: 0, 1, 2, 3

  - `is_active` (boolean)

  - `tenant` (object, required)

  - `tenant.id` (string)

## Response 201 fields (application/json):

  - `organization` (object)

  - `organization.id` (string)

  - `id` (string, required)
    **Additional Validation Information:**
Must be unique

  - `custom_id` (string)

  - `created_at` (string)

  - `sub_tenant` (object, required)

  - `sub_tenant.id` (string)

  - `parent_sub_tenant` (object)

  - `parent_sub_tenant.id` (string)

  - `category` (integer)
    **Additional Validation Information:**
Enum Descriptions:
* `0` - Relative
* `1` - Close Relative
* `2` - Registered Partnership
* `3` - Partner
* `4` - Cohabitant
* `5` - Child
* `6` - Work
* `7` - Resident
* `8` - Disability Support
* `9` - Live In Tenant
* `10` - Welfare Support
* `11` - Staff
* `12` - Authorized Signatory
* `13` - Financial Manager
* `14` - Contract Manager
* `15` - Premises Manager
* `16` - Business Unit
* `17` - It Support
* `18` - Supplier Contact
* `19` - Security Manager
* `20` - Legal Contact
* `21` - Ice Contact
    Enum: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21

  - `invoice_distribution_instruction` (array)

  - `reminder_distribution_instruction` (array)

  - `debt_distribution_instruction` (array)

  - `prefer_invoice_view_only` (boolean)

  - `stakeholder_type` (integer, required)
    **Additional Validation Information:**
Enum Descriptions:
* `0` - Trustee
* `1` - Contact Person
* `2` - Administrator
* `3` - Legal Guardian
    Enum: 0, 1, 2, 3

  - `is_active` (boolean)

  - `tenant` (object, required)

  - `tenant.id` (string)

  - `tags` (any)

  - `customer_columns` (any)

  - `pending_monitor_approval_amount` (any)

