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": "5267de2a-19ed-4e39-bb0e-d902fcffb900",
"type": "form_set_conditions",
"attributes": {
"form_set_id": "9f1103f7-5e1e-4c42-9404-34f86f9da73f",
"form_field_id": "26b74574-bf34-4ebd-a885-94abc0f1cf0f",
"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": "5267de2a-19ed-4e39-bb0e-d902fcffb900",
"type": "form_set_conditions",
"attributes": {
"form_set_id": "9f1103f7-5e1e-4c42-9404-34f86f9da73f",
"form_field_id": "26b74574-bf34-4ebd-a885-94abc0f1cf0f",
"comparison": "equal",
"values": [
"test"
]
}
}
}