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": "85cd2e67-f8b5-4bf0-8a29-c277210df7a0",
"type": "form_field_placement_conditions",
"attributes": {
"form_field_placement_id": "475e2404-1cf0-48de-b480-1e79f2fb6c47",
"conditioned": "placement",
"position": 2,
"form_field_id": "b6d6365d-aea5-4f23-949f-bcc08e630696",
"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": "85cd2e67-f8b5-4bf0-8a29-c277210df7a0",
"type": "form_field_placement_conditions",
"attributes": {
"form_field_placement_id": "475e2404-1cf0-48de-b480-1e79f2fb6c47",
"conditioned": "placement",
"position": 2,
"form_field_id": "b6d6365d-aea5-4f23-949f-bcc08e630696",
"comparison": "equal",
"values": [
"test"
]
}
}
}