Insert a new owner.
Insert an Owner
Creates a new owner relation in Bloxs.
An owner relation pertains to real estate owners, and creating one automatically triggers the creation of a new financial administration for it, under which real estate objects, service tickets, invoices, and other entities are subsequently created and processed.
A developer calls this endpoint to register a new real estate owner not yet in the system, rather than update an existing one. On success, Bloxs generates and returns the internal reference and display name for the new record, along with the full stored data.
The correspondence method determines whether an email address or a postal address must be supplied.
Request Fields
Field | Type | Required | Description |
|---|---|---|---|
name | string, max 256 | Required | The owner's registered or trading name. |
website | string, nullable | Optional | The owner's website URL. |
correspondenceMethod | integer (enum) | Required | How correspondence should be delivered to this owner. Allowed values: 1 = Email, 2 = Post. When set to Email, primaryEmailAddresses is mandatory. When set to Post, address is mandatory. |
languageISOCode | string, max 2, nullable | Optional | ISO 639-1 two-letter language code (for example "nl" or "en") determining the language used in correspondence. |
externalIdentifier | string, max 100, nullable | Optional | An external API identifier to associate with this owner, if the integrating system wants to track its own identifier for the record. |
address.street | string, max 200 | Conditionally required | Street name of the owner's main address. Required when correspondenceMethod is set to Post (2). |
address.houseNumber | string, max 40, nullable | Optional | House number of the owner's main address, including any suffix (for example "12A"). |
address.postalCode | string, max 20 | Conditionally required | Postal code of the owner's main address. Required when correspondenceMethod is set to Post (2). |
address.city | string, max 200 | Conditionally required | City of the owner's main address. Required when correspondenceMethod is set to Post (2). |
address.countryISOCode | string, max 2 | Conditionally required | ISO 3166-1 alpha-2 country code of the owner's main address, for example "NL". Required when correspondenceMethod is set to Post (2). |
invoiceAddress.street | string, max 200 | Required (if invoiceAddress is set) | Street name of the address to use for invoicing this owner, if different from the main address. |
invoiceAddress.houseNumber | string, max 40, nullable | Optional | House number of the invoice address, including any suffix. |
invoiceAddress.postalCode | string, max 20 | Required (if invoiceAddress is set) | Postal code of the invoice address. |
invoiceAddress.city | string, max 200 | Required (if invoiceAddress is set) | City of the invoice address. |
invoiceAddress.countryISOCode | string, max 2 | Required (if invoiceAddress is set) | ISO 3166-1 alpha-2 country code of the invoice address. |
postalAddress.street | string, max 200 | Required (if postalAddress is set) | Street name of the postal correspondence address, if different from the main address. |
postalAddress.houseNumber | string, max 40, nullable | Optional | House number of the postal address, including any suffix. |
postalAddress.postalCode | string, max 20 | Required (if postalAddress is set) | Postal code of the postal address. |
postalAddress.city | string, max 200 | Required (if postalAddress is set) | City of the postal address. |
postalAddress.countryISOCode | string, max 2 | Required (if postalAddress is set) | ISO 3166-1 alpha-2 country code of the postal address. |
phoneNumber | string, nullable | Optional | The owner's landline phone number. |
mobileNumber | string, nullable | Optional | The owner's mobile phone number. |
primaryEmailAddresses | array of string, nullable | Conditionally required | The owner's primary email address(es), used for general correspondence. Required when correspondenceMethod is set to Email (1). |
invoicesEmailAddresses | array of string, nullable | Optional | Email address(es) that should receive invoices for this owner. |
paymentRemindersEmailAddresses | array of string, nullable | Optional | Email address(es) that should receive payment reminder correspondence. |
indexationsEmailAddresses | array of string, nullable | Optional | Email address(es) that should receive rent or fee indexation notices. |
serviceTicketsEmailAddresses | array of string, nullable | Optional | Email address(es) that should receive service or maintenance ticket correspondence. |
purchaseOrdersEmailAddresses | array of string, nullable | Optional | Email address(es) that should receive purchase order correspondence. |
portalsEmailAddresses | array of string, nullable | Optional | Email address(es) used for portal-related notifications. |
otherEmailAddresses | array of string, nullable | Optional | Any additional email address(es) not covered by the categories above. |
cocNumber | string, max 256, nullable | Optional | Chamber of Commerce (KVK-style) registration number for the owner. |
cocDescription | string, nullable | Optional | Free-text description associated with the Chamber of Commerce registration. |
vatNumber | string, max 256, nullable | Optional | The owner's VAT identification number, used for invoicing and determining VAT/reverse-charge treatment where applicable. |
remarks | string, nullable | Optional | Free-text internal remarks about the owner. |
Response Fields
Field | Type | Required | Description |
|---|---|---|---|
reference | string, max 100 | Optional | The internal identifier (Reference/Code) generated by Bloxs for the newly created owner. |
externalIdentifier | string, max 100 | Optional | The external API identifier for this owner, if one was supplied on creation. |
displayName | string | Optional | The formatted display name generated by Bloxs for the owner. |
name | string, max 256 | Required | The owner's registered or trading name. |
website | string, nullable | Optional | The owner's website URL. |
correspondenceMethod | integer (enum) | Required | How correspondence is delivered to this owner. Allowed values: 1 = Email, 2 = Post. |
languageISOCode | string, max 2, nullable | Optional | ISO 639-1 two-letter language code determining the correspondence language. |
address.street | string, max 200 | Conditionally required | Street name of the owner's main address. |
address.houseNumber | string, max 40, nullable | Optional | House number of the owner's main address, including any suffix. |
address.postalCode | string, max 20 | Conditionally required | Postal code of the owner's main address. |
address.city | string, max 200 | Conditionally required | City of the owner's main address. |
address.countryISOCode | string, max 2 | Conditionally required | ISO 3166-1 alpha-2 country code of the owner's main address. |
invoiceAddress.street | string, max 200 | Required (if invoiceAddress is set) | Street name of the invoice address. |
invoiceAddress.houseNumber | string, max 40, nullable | Optional | House number of the invoice address. |
invoiceAddress.postalCode | string, max 20 | Required (if invoiceAddress is set) | Postal code of the invoice address. |
invoiceAddress.city | string, max 200 | Required (if invoiceAddress is set) | City of the invoice address. |
invoiceAddress.countryISOCode | string, max 2 | Required (if invoiceAddress is set) | ISO 3166-1 alpha-2 country code of the invoice address. |
postalAddress.street | string, max 200 | Required (if postalAddress is set) | Street name of the postal address. |
postalAddress.houseNumber | string, max 40, nullable | Optional | House number of the postal address. |
postalAddress.postalCode | string, max 20 | Required (if postalAddress is set) | Postal code of the postal address. |
postalAddress.city | string, max 200 | Required (if postalAddress is set) | City of the postal address. |
postalAddress.countryISOCode | string, max 2 | Required (if postalAddress is set) | ISO 3166-1 alpha-2 country code of the postal address. |
phoneNumber | string, nullable | Optional | The owner's landline phone number. |
mobileNumber | string, nullable | Optional | The owner's mobile phone number. |
primaryEmailAddresses | array of string, nullable | Conditionally required | The owner's primary email address(es). |
invoicesEmailAddresses | array of string, nullable | Optional | Email address(es) that receive invoices for this owner. |
paymentRemindersEmailAddresses | array of string, nullable | Optional | Email address(es) that receive payment reminder correspondence. |
indexationsEmailAddresses | array of string, nullable | Optional | Email address(es) that receive rent or fee indexation notices. |
serviceTicketsEmailAddresses | array of string, nullable | Optional | Email address(es) that receive service or maintenance ticket correspondence. |
purchaseOrdersEmailAddresses | array of string, nullable | Optional | Email address(es) that receive purchase order correspondence. |
portalsEmailAddresses | array of string, nullable | Optional | Email address(es) used for portal-related notifications. |
otherEmailAddresses | array of string, nullable | Optional | Any additional email address(es) not covered by the categories above. |
cocNumber | string, max 256, nullable | Optional | Chamber of Commerce (KVK-style) registration number, where applicable. |
cocDescription | string, nullable | Optional | Free-text description associated with the Chamber of Commerce registration. |
vatNumber | string, max 256, nullable | Optional | The owner's VAT identification number. |
remarks | string, nullable | Optional | Free-text internal remarks about the owner. |
archiveDate | string (date), nullable | Optional | The date from which the owner is archived. Always null immediately after creation. |
Email = 1 Post = 2
The owner was created
Email = 1 Post = 2
The owner data has validation issues