{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","activeApiName":"CURRENT","versions":[{"id":2694,"versionTagId":"latest","environmentTemplateId":null,"publishedId":64033,"published":true,"publishDate":"2019-05-13T09:11:13.000Z","publisherId":3073876,"customColor":"","customDomainId":null,"createdAt":"2019-05-13T09:11:13.000Z","updatedAt":"2021-03-22T15:55:34.000Z","apiName":"CURRENT"},{"id":378884,"versionTagId":"0f5bacad-7ae7-4cdb-b7f7-753041e1c010","environmentTemplateId":null,"publishedId":64033,"published":true,"publishDate":"2021-03-22T15:39:15.000Z","publisherId":3073876,"customColor":"","customDomainId":null,"createdAt":"2021-03-22T15:39:15.000Z","updatedAt":"2021-03-22T15:55:34.000Z","apiName":"0.1.0"}],"collection":{"info":{"_postman_id":"e6414029-3504-f50e-71ee-012a86fecbe2","name":"Line-up API","description":"The Line-Up API allows you to programmatically view, reserve and book tickets for events created on Line-Up.\n\n# Overview\n\n- The Line-up API is organised around [REST](https://en.wikipedia.org/wiki/Representational_state_transfer \"Representational state transfer\") and it uses Resource orientated URLS. HTTP Verbs are used to specify the type of action you wish to perform.\n- The API supports [Cross Origin Resource Sharing](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing \"CORS\") for client side requests; however secret API keys should never be included in client side code.\n- All requests require either a public or secret API key for [Authentication](#Authentication).\n- The API responses are returned as [JSON](http://www.json.org/, JSON), including [errors][Errors]. Each JSON response is [structured][Structure] in the same way.\n- Any POST/PUT data sent to the API should be formatted as JSON.\n- All API response will return an approriate HTTP status code.\n\n# Basic Booking Flow\n\nThe basic flow for booking tickets is as follows:\n- Fetch and the details of an Event\n- Retrieve the Performances for that event\n- Fetch an array of Tickets and their availability for the selected performance.\n- Create a reservation for one or more tickets.\n- If required, create a new Customer.\n- Create and Order for the Customer from the Reservation.\n\n# Authentication\n\nRequest to the Line-Up API are authenticated using your public or secret API keys. Your API keys can be managed in your dashboard. The API is authenticated using HTTP Basic Auth, you should provide your API key as the username value, there is no need to provide any value for the password.\n\nYour secret API key should be kept private at all times and should not be included in client side code, or any other publicly accessable place.\n\nIf you are purchasing tickets on behalf of a customer that you have created via the API, you can authernticate calls to the orders endpoint using bearer auth, where the token value is the customers tempory auth token.\n\n# Structure\nThe Line-Up API provides responses in JSON. Each JSON response is structured in the same way.\n\n    {\n      \"_metadata\": {\n        \"numberResults\": 8, \n        \"pageNumber\": 1,\n        \"perPage\": 25, \n        \"totalPages\": 1\n      }, \n      \"data\": [..]\n    }\n\n### Metadata\nThe metadata section contains information required to for pagination. It will show:\n* The number of results available.\n* The current page number.\n* The number of results per page.\n* The total number of pages available.\n\n### Data\nThe data section refers to the core of the response; this is either a list of objects or a single object.\n\n###  Pagination\nPagination of results can be achieved by specifying the `page` parameter in the request. The number of results per page can also be adjusted by adding the `resultsPerPage` parameter. There is a maximim of 100 results per page.\n","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"3073876","team":72176,"collectionId":"e6414029-3504-f50e-71ee-012a86fecbe2","publishedId":"77h5NNW","public":true,"publicUrl":"https://docs.lineupnow.com","privateUrl":"https://go.postman.co/documentation/3073876-e6414029-3504-f50e-71ee-012a86fecbe2","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"399BA2"},"documentationLayout":"classic-double-column","customisation":null,"version":"8.11.4","publishDate":"2021-03-22T15:55:34.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[{"name":"Live","id":"beb6f27d-d9fd-41ea-af4e-946e94b45511","owner":"3073876","values":[{"key":"url","value":"https://api.lineupnow.com","enabled":true},{"key":"secretKey","value":"Your API Key","enabled":true},{"key":"eventId","value":"{{EventID}}","enabled":true},{"key":"password","value":"","enabled":true}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/6eefcb4b1f070db938d89932c95910b77ca78fd6331d2c553f066a8d5633863e","favicon":"https://lineupnow.com/favicon.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[{"label":"CURRENT","value":"latest"},{"label":"0.1.0","value":"0f5bacad-7ae7-4cdb-b7f7-753041e1c010"}],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"Live","value":"3073876-beb6f27d-d9fd-41ea-af4e-946e94b45511"}],"canonicalUrl":"https://docs.lineupnow.com/view/metadata/77h5NNW"}