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": "e3448305-fecd-4d1c-adf5-c5f8a71341f6",
"type": "form_set_conditions",
"attributes": {
"form_set_id": "e74b1b0e-27fc-493c-8b9c-fcfe597ee031",
"form_field_id": "45535968-ff13-44be-9c98-beb87eb79ad6",
"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": "e3448305-fecd-4d1c-adf5-c5f8a71341f6",
"type": "form_set_conditions",
"attributes": {
"form_set_id": "e74b1b0e-27fc-493c-8b9c-fcfe597ee031",
"form_field_id": "45535968-ff13-44be-9c98-beb87eb79ad6",
"comparison": "equal",
"values": [
"test"
]
}
}
}