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": "7a36bab7-85e5-4855-9119-75d3b9444a11",
"type": "form_set_conditions",
"attributes": {
"form_set_id": "2ee47610-83cd-4d9d-b9ba-ef29112ece56",
"form_field_id": "f70b1d22-c763-4528-8a8b-cff00ac20c29",
"comparison": "equal",
"values": [
"test"
]
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
form_set_conditions form_set_condition created
Show child attributes
Unique ID of the form set condition
form_set_conditions Show child attributes
The form set this condition applies.
The form field this condition applies.
The condition comparison.
equal The values for comparison.
The value for comparison.
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": "7a36bab7-85e5-4855-9119-75d3b9444a11",
"type": "form_set_conditions",
"attributes": {
"form_set_id": "2ee47610-83cd-4d9d-b9ba-ef29112ece56",
"form_field_id": "f70b1d22-c763-4528-8a8b-cff00ac20c29",
"comparison": "equal",
"values": [
"test"
]
}
}
}