Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/vnd.api+json
Response
form_field_placement_condition created
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",
"position": 123,
"form_field_id": "<string>",
"comparison": "equal",
"values": [
"<string>"
]
}
}
}'
{
"data": {
"id": "c79d3106-eee3-4f11-862c-86da349f22ff",
"type": "form_field_placement_conditions",
"attributes": {
"form_field_placement_id": "1c226793-89dd-42f2-b779-990a1dce7437",
"conditioned": "placement",
"position": 2,
"form_field_id": "6682e7ea-9290-418e-a0e3-abb8512e7fd7",
"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",
"position": 123,
"form_field_id": "<string>",
"comparison": "equal",
"values": [
"<string>"
]
}
}
}'
{
"data": {
"id": "c79d3106-eee3-4f11-862c-86da349f22ff",
"type": "form_field_placement_conditions",
"attributes": {
"form_field_placement_id": "1c226793-89dd-42f2-b779-990a1dce7437",
"conditioned": "placement",
"position": 2,
"form_field_id": "6682e7ea-9290-418e-a0e3-abb8512e7fd7",
"comparison": "equal",
"values": [
"test"
]
}
}
}