Creates a new form_field_placement_condition from provided data
curl --request POST \
--url https://api.rootly.com/v1/form_field_placements/{form_field_placement_id}/conditions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "form_field_placement_conditions",
"attributes": {
"conditioned": "placement",
"form_field_id": "<string>",
"comparison": "equal",
"values": [
"<string>"
],
"position": 123
}
}
}
'{
"data": {
"id": "df4a1b70-c6d8-4ac0-b019-fb91d526711b",
"type": "form_field_placement_conditions",
"attributes": {
"form_field_placement_id": "1846e8de-efa2-4924-b8f1-a463cc109247",
"conditioned": "placement",
"position": 2,
"form_field_id": "ff54ca66-1364-408c-8a65-d8872fca2408",
"comparison": "equal",
"values": [
"test"
]
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
form_field_placement_condition created
Show child attributes
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/form_field_placements/{form_field_placement_id}/conditions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "form_field_placement_conditions",
"attributes": {
"conditioned": "placement",
"form_field_id": "<string>",
"comparison": "equal",
"values": [
"<string>"
],
"position": 123
}
}
}
'{
"data": {
"id": "df4a1b70-c6d8-4ac0-b019-fb91d526711b",
"type": "form_field_placement_conditions",
"attributes": {
"form_field_placement_id": "1846e8de-efa2-4924-b8f1-a463cc109247",
"conditioned": "placement",
"position": 2,
"form_field_id": "ff54ca66-1364-408c-8a65-d8872fca2408",
"comparison": "equal",
"values": [
"test"
]
}
}
}