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": "f4cf2ef6-d583-458e-a80b-7f698880b42f",
"type": "form_set_conditions",
"attributes": {
"form_set_id": "12bb7846-9b27-4e22-b3d2-81401ff967b5",
"form_field_id": "6425054f-75df-40f8-b4f5-ce90c3cd8ed3",
"comparison": "equal",
"values": [
"test"
]
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
form_set_condition created
Show child attributes
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": "f4cf2ef6-d583-458e-a80b-7f698880b42f",
"type": "form_set_conditions",
"attributes": {
"form_set_id": "12bb7846-9b27-4e22-b3d2-81401ff967b5",
"form_field_id": "6425054f-75df-40f8-b4f5-ce90c3cd8ed3",
"comparison": "equal",
"values": [
"test"
]
}
}
}