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": "eebfd166-e61c-44fb-87bc-4e7a3bb1be08",
"type": "form_field_placement_conditions",
"attributes": {
"form_field_placement_id": "5a215c5a-c68d-4f23-8243-d3b7d4a6c9c9",
"conditioned": "placement",
"position": 2,
"form_field_id": "8f1bd790-5df5-42b5-a35a-08b1bc41d73b",
"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": "eebfd166-e61c-44fb-87bc-4e7a3bb1be08",
"type": "form_field_placement_conditions",
"attributes": {
"form_field_placement_id": "5a215c5a-c68d-4f23-8243-d3b7d4a6c9c9",
"conditioned": "placement",
"position": 2,
"form_field_id": "8f1bd790-5df5-42b5-a35a-08b1bc41d73b",
"comparison": "equal",
"values": [
"test"
]
}
}
}