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": "e33fe8f0-d2d0-4b77-b80c-2d6eb87eecd8",
"type": "form_set_conditions",
"attributes": {
"form_set_id": "8fba611b-5189-4029-8fee-d8deac9e8a86",
"form_field_id": "cc85ea67-157f-4362-b122-8a151b61a250",
"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": "e33fe8f0-d2d0-4b77-b80c-2d6eb87eecd8",
"type": "form_set_conditions",
"attributes": {
"form_set_id": "8fba611b-5189-4029-8fee-d8deac9e8a86",
"form_field_id": "cc85ea67-157f-4362-b122-8a151b61a250",
"comparison": "equal",
"values": [
"test"
]
}
}
}