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": "f0408531-1782-4a46-8914-dec47eb5acce",
"type": "form_field_placement_conditions",
"attributes": {
"form_field_placement_id": "47cc464c-8f02-479a-a201-4e09c57ac7c8",
"conditioned": "placement",
"position": 2,
"form_field_id": "169b0196-b7ed-4498-9ef5-023c360ff712",
"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": "f0408531-1782-4a46-8914-dec47eb5acce",
"type": "form_field_placement_conditions",
"attributes": {
"form_field_placement_id": "47cc464c-8f02-479a-a201-4e09c57ac7c8",
"conditioned": "placement",
"position": 2,
"form_field_id": "169b0196-b7ed-4498-9ef5-023c360ff712",
"comparison": "equal",
"values": [
"test"
]
}
}
}