Creates a new form_field_placement from provided data
curl --request POST \
--url https://api.rootly.com/v1/form_fields/{form_field_id}/placements \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "form_field_placements",
"attributes": {
"form_set_id": "<string>",
"form": "<string>",
"position": 123,
"required": true,
"required_operator": "and",
"placement_operator": "and"
}
}
}'
{
"data": {
"id": "39d68ff3-4823-4673-9f1e-bf582f5b53dc",
"type": "form_field_placements",
"attributes": {
"form_field_id": "3588f0d0-f0d4-4efe-b6a1-3ac23f39a019",
"form_set_id": "02d7834e-7743-4a31-b649-0bf90c1bb329",
"form": "web_update_incident_form",
"position": 1,
"required": false,
"placement_operator": "and",
"required_operator": "and",
"non_editable": false
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
form_field_placement created
The response is of type object
.
curl --request POST \
--url https://api.rootly.com/v1/form_fields/{form_field_id}/placements \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "form_field_placements",
"attributes": {
"form_set_id": "<string>",
"form": "<string>",
"position": 123,
"required": true,
"required_operator": "and",
"placement_operator": "and"
}
}
}'
{
"data": {
"id": "39d68ff3-4823-4673-9f1e-bf582f5b53dc",
"type": "form_field_placements",
"attributes": {
"form_field_id": "3588f0d0-f0d4-4efe-b6a1-3ac23f39a019",
"form_set_id": "02d7834e-7743-4a31-b649-0bf90c1bb329",
"form": "web_update_incident_form",
"position": 1,
"required": false,
"placement_operator": "and",
"required_operator": "and",
"non_editable": false
}
}
}