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": "0a183a9e-5f4a-4fc3-a5a0-8a98115f80cf",
"type": "form_field_placements",
"attributes": {
"form_field_id": "dc89646d-bbf3-4bd2-ba4b-18cb1a108885",
"form_set_id": "8263f78e-0680-417f-ab23-9099f4516df4",
"form": "web_update_incident_form",
"position": 1,
"required": false,
"placement_operator": "and",
"required_operator": "and"
}
}
}
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": "0a183a9e-5f4a-4fc3-a5a0-8a98115f80cf",
"type": "form_field_placements",
"attributes": {
"form_field_id": "dc89646d-bbf3-4bd2-ba4b-18cb1a108885",
"form_set_id": "8263f78e-0680-417f-ab23-9099f4516df4",
"form": "web_update_incident_form",
"position": 1,
"required": false,
"placement_operator": "and",
"required_operator": "and"
}
}
}