- Create an entity
Creates a new entity.
Required. The entity to create.
(IDENTIFIER) The resource name of the entity. Format: entities/{entity} string.resource_name = ["entities/*"] // value must be a valid resource name
(OPTIONAL) Optional. A mutable, user-settable field for providing a human-readable name for the entity, to be used in user interfaces. Must be <= 63 characters. string.display_name = true // value must be at most 63 characters
(OPTIONAL) The resource name of the schema revision this request was filled against. Format: tenants/{tenant}/customFieldSettings/{custom_field_setting}/revisions/{revision}
(OPTIONAL) The field values organised by group. Each outer map key is the group key; each inner Struct holds field_key → value pairs. Values are raw JSON types matching FormKit output: string, number, bool, or list of strings. The backend validates value types against the field definitions at runtime.
(OPTIONAL) Optional. The etag of the resource. Used for optimistic concurrency control as per AIP-154. string.etag = true // etag must be at most 256 characters
- Mock serverhttps://docs.bndry.net/_mock/apis/openapi/v1alpha/entities
- BNDRY APIhttps://api.bndry.app/v1alpha/entities
curl -i -X POST \
https://docs.bndry.net/_mock/apis/openapi/v1alpha/entities \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"company": {
"type": "COMPANY_TYPE_UNSPECIFIED",
"industry": "Financial Services",
"contacts": [
{
"role": "string",
"displayName": "string",
"contactType": "string",
"emailAddress": "user@example.com",
"phoneNumber": "string"
}
]
},
"name": "string",
"displayName": "Example Financial Services Ltd",
"contactInfo": {
"telephone": [
"+61 2 9876 5432"
],
"businessTelephone": [
"+61 2 9876 5400"
],
"emailAddress": [
"john.smith@example.com"
],
"primaryContacts": [
"Sarah Johnson"
],
"website": [
"https://www.example.com"
],
"registeredBusinessAddresses": [
{
"revision": 0,
"regionCode": "string",
"languageCode": "string",
"postalCode": "string",
"sortingCode": "string",
"administrativeArea": "string",
"locality": "string",
"sublocality": "string",
"addressLines": [
"string"
],
"recipients": [
"string"
],
"organization": "string"
}
],
"principalBusinessAddresses": [
{
"revision": 0,
"regionCode": "string",
"languageCode": "string",
"postalCode": "string",
"sortingCode": "string",
"administrativeArea": "string",
"locality": "string",
"sublocality": "string",
"addressLines": [
"string"
],
"recipients": [
"string"
],
"organization": "string"
}
],
"residentialAddresses": [
{
"revision": 0,
"regionCode": "string",
"languageCode": "string",
"postalCode": "string",
"sortingCode": "string",
"administrativeArea": "string",
"locality": "string",
"sublocality": "string",
"addressLines": [
"string"
],
"recipients": [
"string"
],
"organization": "string"
}
]
},
"registration": {
"property1": {
"value": "12 345 678 901",
"registrationDateTime": "2023-01-15T01:30:15.01Z",
"regionCode": "NSW",
"tradingName": "Example Financial Services",
"registeredName": "Example Financial Services Pty Ltd"
},
"property2": {
"value": "12 345 678 901",
"registrationDateTime": "2023-01-15T01:30:15.01Z",
"regionCode": "NSW",
"tradingName": "Example Financial Services",
"registeredName": "Example Financial Services Pty Ltd"
}
},
"riskDetails": {
"riskStatus": "RISK_STATUS_UNSPECIFIED",
"riskStatusReason": "RISK_STATUS_REASON_UNSPECIFIED",
"riskRating": "string"
},
"entityRelationships": [
{
"sourceEntity": "entities/john-smith",
"targetEntity": "entities/example-financial-services",
"type": "RELATIONSHIP_TYPE_UNSPECIFIED"
}
],
"externalIds": {
"cherryhub": "string",
"custom": {
"property1": "string",
"property2": "string"
}
},
"tags": [
{
"tagType": "string",
"tagDefinitionId": "string"
}
],
"customFieldSettingRevision": "string",
"customFieldValues": {
"property1": {
"property1": null,
"property2": null
},
"property2": {
"property1": null,
"property2": null
}
},
"annotations": {
"property1": "string",
"property2": "string"
},
"etag": "abc123"
}'Success
(IDENTIFIER) The resource name of the entity. Format: entities/{entity} string.resource_name = ["entities/*"] // value must be a valid resource name
(OPTIONAL) Optional. A mutable, user-settable field for providing a human-readable name for the entity, to be used in user interfaces. Must be <= 63 characters. string.display_name = true // value must be at most 63 characters
(OPTIONAL) The resource name of the schema revision this request was filled against. Format: tenants/{tenant}/customFieldSettings/{custom_field_setting}/revisions/{revision}
(OPTIONAL) The field values organised by group. Each outer map key is the group key; each inner Struct holds field_key → value pairs. Values are raw JSON types matching FormKit output: string, number, bool, or list of strings. The backend validates value types against the field definitions at runtime.
Output only. The timestamp when the entity was created.
Output only. The timestamp when the entity was most recently updated.
Output only. The timestamp when the entity will be purged if soft-deleted. See AIP-164.
(OPTIONAL) Optional. The etag of the resource. Used for optimistic concurrency control as per AIP-154. string.etag = true // etag must be at most 256 characters
{ "name": "string", "displayName": "Example Financial Services Ltd", "contactInfo": { "telephone": [ … ], "businessTelephone": [ … ], "emailAddress": [ … ], "primaryContacts": [ … ], "website": [ … ], "registeredBusinessAddresses": [ … ], "principalBusinessAddresses": [ … ], "residentialAddresses": [ … ] }, "registration": { "property1": { … }, "property2": { … } }, "riskDetails": { "riskStatus": "RISK_STATUS_UNSPECIFIED", "riskStatusReason": "RISK_STATUS_REASON_UNSPECIFIED", "riskRating": "string" }, "entityRelationships": [ { … } ], "externalIds": { "cherryhub": "string", "custom": { … } }, "tags": [ { … } ], "customFieldSettingRevision": "string", "customFieldValues": { "property1": { … }, "property2": { … } }, "createTime": "2023-01-15T01:30:15.01Z", "updateTime": "2023-01-15T01:30:15.01Z", "purgeTime": "2023-01-15T01:30:15.01Z", "annotations": { "property1": "string", "property2": "string" }, "etag": "abc123", "company": { "type": "COMPANY_TYPE_UNSPECIFIED", "industry": "Financial Services", "contacts": [ … ] } }