{"__v":0,"_id":"55274e785296eb3900185abd","category":{"__v":0,"_id":"55274dd79d4bcd2300d0384a","pages":[],"project":"545a65231d018b1400227d8f","version":"54e431e6de9f5b2300fc6dbc","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-04-10T04:13:11.678Z","from_sync":false,"order":10,"slug":"tickets-pool-api","title":"TICKETS POOL API"},"editedParams":true,"editedParams2":true,"project":"545a65231d018b1400227d8f","user":"545a64cfbf1d2b0e00aaa091","version":{"__v":10,"_id":"54e431e6de9f5b2300fc6dbc","forked_from":"545a65231d018b1400227d92","project":"545a65231d018b1400227d8f","createdAt":"2015-02-18T06:32:06.531Z","releaseDate":"2015-02-18T06:32:06.531Z","categories":["54e431e7de9f5b2300fc6dbd","54e431e7de9f5b2300fc6dbe","54e56a85c2f66835000133c3","54ff948548c94d23004f1e17","5527280be69c7d0d00047eaf","55273bb14a7ac121004c60f0","55274588975eef3700ca8077","552748df9d4bcd2300d0383d","55274dd79d4bcd2300d0384a","55fa03180e1f1f1700a1f6ce","55fa3172d6f4370d001d99fd"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-04-10T04:15:52.978Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"method":"post","results":{"codes":[{"name":"","code":"{\n  \"Status\": \"ok\",\n  \"Result\": {\n    \"ID\": 5643,\n    \"UserID\": 3,\n    \"EventID\": 123,\n    \"Total\": 1000,\n    \"ShowFees\": true\n  }\n}","language":"json","status":201}]},"auth":"required","params":[{"_id":"54e56a19c2f66835000133c0","ref":"","in":"body","required":true,"desc":"The Event id for this tickets pool","default":"","type":"int","name":"EventID"},{"_id":"54e56a19c2f66835000133bf","ref":"","in":"body","required":true,"desc":"The total number of tickets for this event (this will override tickets total)","default":"5000","type":"int","name":"Total"},{"_id":"54ffd2d9179d042d00514eb4","ref":"","in":"body","required":false,"desc":"Should we show fees next to ticket prices","default":"true","type":"boolean","name":"ShowFees"}],"url":"/ticketspool"},"isReference":false,"order":0,"body":"[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -X POST  -u \\\"testuser:moy1zZCscHpx7ei8CzNA\\\" -H \\\"Cache-Control: no-cache\\\"  -d '{\\n\\t\\\"Ticketspool\\\": {\\n\\t\\t\\t\\t\\\"UserID\\\": 3,\\n\\t\\t\\t\\t\\\"EventID\\\": 123,\\n\\t\\t\\t\\t\\\"Total\\\": 1000,\\n\\t\\t\\t\\t\\\"ShowFees\\\": true\\n\\t\\t\\t}\\n}' https://api.attendly.net/v2/ticketspool\",\n      \"language\": \"curl\"\n    }\n  ]\n}\n[/block]","excerpt":"Create a tickets pool for an event","slug":"tickets-pool-create","type":"endpoint","title":"Tickets pool create"}

postTickets pool create

Create a tickets pool for an event

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Body Params

EventID:
required
integer
The Event id for this tickets pool
Total:
required
integer5000
The total number of tickets for this event (this will override tickets total)
ShowFees:
booleantrue
Should we show fees next to ticket prices

Result Format


Documentation

[block:code] { "codes": [ { "code": "curl -X POST -u \"testuser:moy1zZCscHpx7ei8CzNA\" -H \"Cache-Control: no-cache\" -d '{\n\t\"Ticketspool\": {\n\t\t\t\t\"UserID\": 3,\n\t\t\t\t\"EventID\": 123,\n\t\t\t\t\"Total\": 1000,\n\t\t\t\t\"ShowFees\": true\n\t\t\t}\n}' https://api.attendly.net/v2/ticketspool", "language": "curl" } ] } [/block]