v5

latestOpenAPI 3.1.02026-08-0456189324.9 KB
Integrations Resource Records V2

Create Resource Records Bulk

post/integrations/v2/resource-records/bulk

Request body

logicalIdstring nullable

Unique identifier for the integration resource record

integrationIdstring nullable

Reference to the associated integration

Example request

[
  {
    "integrationId": "5eb7cf5a86d9755df3a6c593",
    "config": {
      "supervisorId": "5eb7cf5a86d9755df3a6c593",
      "preferred_visiting_reasons": [
        "5eb7cf5a86d9755df3a6c593"
      ]
    }
  }
]

Response

Successful Response

total_createdinteger required

Total number of records successfully created.

total_errorsinteger required

Total number of records that failed to create.

Example response

{
  "results": [
    {
      "record": {
        "teamId": "5eb7cf5a86d9755df3a6c593",
        "createdBy": "5eb7cf5a86d9755df3a6c593",
        "updatedBy": "5eb7cf5a86d9755df3a6c593",
        "_id": "5eb7cf5a86d9755df3a6c593",
        "integrationId": "5eb7cf5a86d9755df3a6c593",
        "config": {
          "supervisorId": "5eb7cf5a86d9755df3a6c593",
          "preferred_visiting_reasons": [
            "5eb7cf5a86d9755df3a6c593"
          ]
        }
      }
    }
  ]
}