v4

latestOpenAPI 3.1.02026-07-3156189324.6 KB
Integrations Resource Records V2

Create Resource Record

post/integrations/v2/resource-records

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

Example response

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