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": "ccae12cb-4e23-41bb-a8fa-8259db492d60",
"type": "form_field_placement_conditions",
"attributes": {
"form_field_placement_id": "dec3d810-8102-4352-a6dd-5df8de876d5d",
"conditioned": "placement",
"position": 2,
"form_field_id": "c1b66b61-e210-4911-b20c-866ddf274090",
"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": "ccae12cb-4e23-41bb-a8fa-8259db492d60",
"type": "form_field_placement_conditions",
"attributes": {
"form_field_placement_id": "dec3d810-8102-4352-a6dd-5df8de876d5d",
"conditioned": "placement",
"position": 2,
"form_field_id": "c1b66b61-e210-4911-b20c-866ddf274090",
"comparison": "equal",
"values": [
"test"
]
}
}
}