Creates a new form_set_condition from provided data
curl --request POST \
--url https://api.rootly.com/v1/form_sets/{form_set_id}/conditions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "form_set_conditions",
"attributes": {
"form_field_id": "<string>",
"comparison": "equal",
"values": [
"<string>"
]
}
}
}'
{
"data": {
"id": "47bb03a5-d4d6-49b3-915b-52a3eaa755ae",
"type": "form_set_conditions",
"attributes": {
"form_set_id": "32f8e0d8-7fe9-49ff-bdfd-44f9be192fd3",
"form_field_id": "cef2083c-292e-4414-8c7c-1adb63db557d",
"comparison": "equal",
"values": [
"test"
]
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
form_set_condition created
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/form_sets/{form_set_id}/conditions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "form_set_conditions",
"attributes": {
"form_field_id": "<string>",
"comparison": "equal",
"values": [
"<string>"
]
}
}
}'
{
"data": {
"id": "47bb03a5-d4d6-49b3-915b-52a3eaa755ae",
"type": "form_set_conditions",
"attributes": {
"form_set_id": "32f8e0d8-7fe9-49ff-bdfd-44f9be192fd3",
"form_field_id": "cef2083c-292e-4414-8c7c-1adb63db557d",
"comparison": "equal",
"values": [
"test"
]
}
}
}