{"__v":0,"_id":"55274d4293f6062d00f316c8","category":{"__v":2,"_id":"552748df9d4bcd2300d0383d","pages":["55274cdebf3df9230068f7b1","55274e785296eb3900185abd"],"project":"545a65231d018b1400227d8f","version":"54e431e6de9f5b2300fc6dbc","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-04-10T03:51:59.068Z","from_sync":false,"order":9,"slug":"ticket-api","title":"TICKET 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:10:42.302Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"method":"get","results":{"codes":[{"name":"","code":"{\n  \"Status\": \"ok\",\n  \"Result\": {\n    \"Id\": 7415,\n    \"UserId\": 1384,\n    \"EventId\": 10474,\n    \"TicketspoolId\": 5581,\n    \"Name\": \"General admission\",\n    \"Description\": \"Access all areas\",\n    \"Message\": \"\",\n    \"Total\": 1000,\n    \"Price\": 0,\n    \"Earlybird\": false,\n    \"EarlybirdPrice\": 0,\n    \"EarlybirdDate\": \"2015-04-24T00:00:00Z\",\n    \"EarlybirdExpiryShow\": true,\n    \"DefaultQuantity\": 10,\n    \"Type\": \"normal\",\n    \"Mode\": \"standard\",\n    \"Order\": 1,\n    \"MinimumQuantity\": 1,\n    \"Status\": \"active\"\n  }\n}","language":"json","status":200},{"name":"","code":"{\n  \"Status\": \"error\",\n  \"Errors\": [\n    {\n      \"Key\": \"eventId\",\n      \"Message\": \"The Event id is not valid\"\n    }\n  ]\n}","language":"json","status":400}]},"auth":"required","params":[{"_id":"54e431b38ef7552300409e32","ref":"","in":"query","required":true,"desc":"The ticket id","default":"","type":"int","name":"TicketId"}],"url":"/ticket/:ticket_id"},"isReference":false,"order":1,"body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Library examples\"\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl \\\\\\n  -H \\\"Content-Type: application/json\\\" \\\\\\n  -u \\\"testuser:moy1zZCscHpx7ei8CzNA\\\" \\\\\\n  https://api.attendly.net/v2/ticket/9032\",\n      \"language\": \"curl\"\n    }\n  ]\n}\n[/block]","excerpt":"Get the ticket.","slug":"ticket-get","type":"endpoint","title":"Ticket get"}

getTicket get

Get the ticket.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Query Params

TicketId:
required
integer
The ticket id

Result Format


Documentation

[block:api-header] { "type": "basic", "title": "Library examples" } [/block] [block:code] { "codes": [ { "code": "curl \\\n -H \"Content-Type: application/json\" \\\n -u \"testuser:moy1zZCscHpx7ei8CzNA\" \\\n https://api.attendly.net/v2/ticket/9032", "language": "curl" } ] } [/block]