POST /accounts/{account_id}/cloudforce-one/events/relationships/create
Creates a directed relationship between two events. The relationship is from parent to child with a specified type.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
account_id |
String | Yes |
Account ID. |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
parentId |
String | Yes |
UUID of the parent event that will be the source of the relationship |
relationshipType |
String | Yes |
Type of relationship to create between parent and child events Valid values:
|
datasetId |
String | Yes |
Dataset identifier where the events are stored |
childIds[] |
Array | Yes |
Array of UUIDs for child events. Single child = 1:1 relationship, multiple = 1:many relationships |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.