Create a new form which can be used to collect additional information from customers upon ticket purchase.
Security
SessionKey(Required scopes: customeradministrator)
- Mock serverhttps://docs.ticketingevents.com/_mock/openapi/hosts/{host}/forms
- QA Serverhttps://qa.ticketingevents.com/v3/hosts/{host}/forms
- Production Serverhttps://api.ticketingevents.com/v3/hosts/{host}/forms
curl -i -X POST \
'https://docs.ticketingevents.com/_mock/openapi/hosts/{host}/forms' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"name": "Meal Options",
"description": "Collect meal options from our mas players to prepare appropriate amounts for breakfast.",
"fields": [
{
"name": "Soup",
"type": "short_text"
},
{
"name": "Main",
"type": "short_text"
},
{
"name": "Drink",
"type": "short_text"
}
]
}'Response
{ "self": "/hosts/14271847571941/forms/1927471842571142", "name": "Meal Options", "description": "Collect meal options from our mas players to prepare appropriate amounts for breakfast.", "fields": [ { … }, { … }, { … } ] }