---
updatedAt: 2026-06-19T08:17:57.000Z
agentTools:
  projectIndex: https://developers.onbuildingminds.com/llms.txt
---

# Submit Role Rental Contract Contact data

Validates and queues Role Rental Contract Contact records for asynchronous ingestion. Send a JSON array of objects; a 200 response means the records were accepted and validated. Ingestion into the platform happens asynchronously — poll GET /batch/{id}/inbound until each record reaches Completed or Published. You do not need to send parent entities before children; referenced parents are resolved automatically.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/role-rental-contract-contact": {
      "post": {
        "operationId": "RoleRentalContractContactController_sendRoleRentalContractContactData",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/RoleRentalContractContact"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Data validation successful",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InboundResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Some or all records have failed during the validation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InboundResponseDto"
                }
              }
            }
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "Submit Role Rental Contract Contact data",
        "tags": [
          "Tenancy & commercial"
        ],
        "description": "Validates and queues Role Rental Contract Contact records for asynchronous ingestion. Send a JSON array of objects; a 200 response means the records were accepted and validated. Ingestion into the platform happens asynchronously — poll GET /batch/{id}/inbound until each record reaches Completed or Published. You do not need to send parent entities before children; referenced parents are resolved automatically."
      }
    }
  },
  "info": {
    "title": "BuildingMinds Digital Twin API",
    "description": "Onboard your portfolio's Digital Twin — buildings, spaces, meters, consumption and more — into the BuildingMinds platform from your own systems. Records are submitted as JSON over a secure REST interface and ingested asynchronously: a 200 means each record was accepted and validated, then processing continues per record (poll the batch status until each record reaches Completed or Published).",
    "version": "1.0.0",
    "contact": {},
    "license": {
      "name": "BuildingMinds",
      "url": "https://buildingminds.com"
    }
  },
  "tags": [
    {
      "name": "Tenancy & commercial",
      "description": "Leases, options, payments, the parties and roles on a contract, and occupancy metrics."
    }
  ],
  "servers": [
    {
      "url": "https://api.onbuildingminds.com/api/digitaltwinintegration"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearer": {
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "type": "http"
      }
    },
    "schemas": {
      "Data": {
        "type": "object",
        "properties": {
          "batchId": {
            "type": "string"
          },
          "batchType": {
            "type": "string"
          },
          "totalMessagesCount": {
            "type": "integer"
          },
          "failedMessagesCount": {
            "type": "integer"
          },
          "pendingMessagesCount": {
            "type": "integer"
          },
          "successMessagesCount": {
            "type": "integer"
          },
          "failedMessages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InboundMessage"
            },
            "description": "Records that failed validation, each with its error."
          }
        }
      },
      "InboundResponseDto": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "the status of the request"
          },
          "data": {
            "description": "the data of the request",
            "allOf": [
              {
                "$ref": "#/components/schemas/Data"
              }
            ]
          }
        },
        "required": [
          "message",
          "data"
        ]
      },
      "InboundMessage": {
        "type": "object",
        "properties": {
          "inboundId": {
            "type": "string",
            "description": "Unique ID for this record within the batch."
          },
          "batchId": {
            "type": "string",
            "description": "ID of the batch this record belongs to."
          },
          "objectId": {
            "type": "string",
            "description": "The external ID you provided for this record (used to match updates)."
          },
          "type": {
            "type": "string",
            "description": "Entity type of the record."
          },
          "status": {
            "type": "string",
            "enum": [
              "New",
              "InProgress",
              "ValidationSuccessful",
              "Retrying",
              "Completed",
              "Published",
              "Failed",
              "FailedValidation",
              "TransformationFailed",
              "FailedGeoCoding",
              "GeoCodingSuccessful",
              "Resubmitting"
            ],
            "description": "Processing status. 'Completed' or 'Published' = fully onboarded; 'FailedValidation'/'Failed' indicate errors; 'Retrying' is transient."
          },
          "error": {
            "type": "string",
            "description": "Validation or processing error message, if any (free text)."
          },
          "bmId": {
            "type": "string",
            "description": "The BuildingMinds platform ID assigned once the record is onboarded."
          },
          "numOfRetries": {
            "type": "integer",
            "description": "How many times processing has been retried."
          },
          "source": {
            "type": "string"
          },
          "payload": {
            "type": "object",
            "description": "The original record you submitted."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "RoleRentalContractContact": {
        "type": "object",
        "properties": {
          "contactId": {
            "type": "string",
            "description": "Unique identifier either coming from previous system otherwise it needs to be defined"
          },
          "rentalContractId": {
            "type": "string",
            "description": "Unique identifier either coming from previous system otherwise it needs to be defined"
          },
          "roleId": {
            "type": "string",
            "description": "Unique identifier either coming from previous system otherwise it needs to be defined"
          }
        },
        "required": [
          "contactId",
          "rentalContractId",
          "roleId"
        ]
      }
    }
  }
}
```