Guest User

Untitled

a guest
May 2nd, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 95.94 KB | None | 0 0
  1. swagger: '2.0'
  2. info:
  3. title: Musement API
  4. description: Musmement API
  5. termsOfService: 'https://www.musement.com/'
  6. contact:
  7. license:
  8. name: Apache 2.0
  9. url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
  10. version: 3.2.0
  11. host: developers.musement.com
  12. basePath: /api/v3/
  13. schemes:
  14. - https
  15. consumes:
  16. - application/xml
  17. - application/json
  18. produces:
  19. - application/xml
  20. - application/json
  21. paths:
  22. /activity-taxonomies/features:
  23. get:
  24. tags:
  25. - ActivityTaxonomy
  26. summary: Get all feature taxonomies
  27. parameters:
  28. - $ref: '#/parameters/category'
  29. - $ref: '#/parameters/offset'
  30. - $ref: '#/parameters/limit'
  31. responses:
  32. '200':
  33. description: Returned when successful
  34. schema:
  35. $ref: '#/definitions/ActivityTaxonomy'
  36. '404':
  37. description: Returned when resource is not found
  38. '503':
  39. description: Returned when the service is unavailable
  40. /activity-taxonomies/highlights:
  41. get:
  42. tags:
  43. - ActivityTaxonomy
  44. summary: Get all highlight taxonomies
  45. parameters:
  46. - $ref: '#/parameters/category'
  47. - $ref: '#/parameters/offset'
  48. - $ref: '#/parameters/limit'
  49. responses:
  50. '200':
  51. description: Returned when successful
  52. schema:
  53. $ref: '#/definitions/ActivityTaxonomy'
  54. '404':
  55. description: Returned when resource is not found
  56. '503':
  57. description: Returned when the service is unavailable
  58. '/carts/{cartId}':
  59. get:
  60. tags:
  61. - Cart
  62. summary: Get a cart by unique identifier
  63. parameters:
  64. - $ref: '#/parameters/cartId'
  65. responses:
  66. '200':
  67. description: Returned when successful
  68. schema:
  69. $ref: '#/definitions/Cart'
  70. '404':
  71. description: Returned when resource is not found
  72. '503':
  73. description: Returned when the service is unavailable
  74. put:
  75. tags:
  76. - Cart
  77. summary: Replace a Cart
  78. parameters:
  79. - $ref: '#/parameters/cartId'
  80. - name: cart
  81. in: body
  82. description: Cart request
  83. required: true
  84. schema:
  85. $ref: '#/definitions/CartRequest'
  86. responses:
  87. '200':
  88. description: Returned when successful
  89. schema:
  90. $ref: '#/definitions/Cart'
  91. '404':
  92. description: Returned when resource is not found
  93. '503':
  94. description: Returned when the service is unavailable
  95. delete:
  96. tags:
  97. - Cart
  98. summary: Delete a Cart
  99. parameters:
  100. - $ref: '#/parameters/cartId'
  101. responses:
  102. '200':
  103. description: Returned when successful
  104. '404':
  105. description: Returned when resource is not found
  106. '503':
  107. description: Returned when the service is unavailable
  108. patch:
  109. tags:
  110. - Cart
  111. summary: Update a Cart
  112. parameters:
  113. - $ref: '#/parameters/cartId'
  114. - name: cart
  115. in: body
  116. description: Cart request
  117. required: true
  118. schema:
  119. $ref: '#/definitions/CartRequest'
  120. responses:
  121. '200':
  122. description: Returned when successful
  123. schema:
  124. $ref: '#/definitions/Cart'
  125. '404':
  126. description: Returned when resource is not found
  127. '503':
  128. description: Returned when the service is unavailable
  129. '/carts/{cartId}/form':
  130. get:
  131. tags:
  132. - Cart
  133. summary: Get the form associated to a cart
  134. parameters:
  135. - $ref: '#/parameters/cartId'
  136. responses:
  137. '200':
  138. description: Returned when successful
  139. '404':
  140. description: Returned when resource is not found
  141. '503':
  142. description: Returned when the service is unavailable
  143. '/carts/{cartId}/bundles':
  144. get:
  145. tags:
  146. - 'Cart, Bundle'
  147. summary: Get the bundle in a cart
  148. parameters:
  149. - $ref: '#/parameters/cartId'
  150. responses:
  151. '200':
  152. description: Returned when successful
  153. schema:
  154. $ref: '#/definitions/Bundle'
  155. '404':
  156. description: Returned when resource is not found
  157. '503':
  158. description: Returned when the service is unavailable
  159. /carts:
  160. post:
  161. tags:
  162. - Cart
  163. summary: Create a cart
  164. parameters:
  165. - name: cart
  166. in: body
  167. description: Cart request
  168. required: true
  169. schema:
  170. $ref: '#/definitions/CartRequest'
  171. responses:
  172. '200':
  173. description: Returned when successful
  174. schema:
  175. $ref: '#/definitions/Cart'
  176. '404':
  177. description: Returned when resource is not found
  178. '503':
  179. description: Returned when the service is unavailable
  180. '/carts/{id}/tickets':
  181. post:
  182. tags:
  183. - Cart
  184. summary: Add tickets to a cart
  185. parameters:
  186. - name: id
  187. in: path
  188. description: Cart Id
  189. required: true
  190. type: integer
  191. responses:
  192. '200':
  193. description: Returned when successful
  194. schema:
  195. $ref: '#/definitions/Cart'
  196. '404':
  197. description: Returned when resource is not found
  198. '503':
  199. description: Returned when the service is unavailable
  200. '/carts/{id}/tickets/{ticketId}':
  201. delete:
  202. tags:
  203. - Cart
  204. summary: Delete a ticket by ID
  205. parameters:
  206. - name: id
  207. in: path
  208. description: Cart Id
  209. required: true
  210. type: integer
  211. - name: ticketId
  212. in: path
  213. description: Ticket Id
  214. required: true
  215. type: integer
  216. responses:
  217. '200':
  218. description: Returned when successful
  219. schema:
  220. $ref: '#/definitions/Ticket'
  221. '404':
  222. description: Returned when resource is not found
  223. '503':
  224. description: Returned when the service is unavailable
  225. '/categories/{categoryId}':
  226. get:
  227. tags:
  228. - Category
  229. summary: Get a category by identifier
  230. parameters:
  231. - $ref: '#/parameters/categoryId'
  232. responses:
  233. '200':
  234. description: Returned when successful
  235. schema:
  236. $ref: '#/definitions/Category'
  237. '404':
  238. description: Returned when resource is not found
  239. '503':
  240. description: Returned when the service is unavailable
  241. /categories:
  242. get:
  243. tags:
  244. - Category
  245. summary: Get categories
  246. parameters:
  247. - $ref: '#/parameters/offset'
  248. - $ref: '#/parameters/limit'
  249. responses:
  250. '200':
  251. description: Returned when successful
  252. schema:
  253. type: array
  254. items:
  255. $ref: '#/definitions/Category'
  256. '404':
  257. description: No resource found
  258. '503':
  259. description: Service unavailable
  260. '/categories/{categoryId}/events':
  261. get:
  262. tags:
  263. - Category
  264. - Event
  265. summary: Get events for a category sorted by category relevance.
  266. description: >-
  267. Get all events for a category sorted by category relevance. Only the
  268. events that have at least one active date in the period specified
  269. between date_from and date_to are returned. If date_from and date_to are
  270. not set then the period that will be set will be one year from the date
  271. of the request'
  272. parameters:
  273. - $ref: '#/parameters/categoryId'
  274. - $ref: '#/parameters/vertical'
  275. - $ref: '#/parameters/city'
  276. - $ref: '#/parameters/venue'
  277. - $ref: '#/parameters/editorial-category'
  278. - $ref: '#/parameters/date_from'
  279. - $ref: '#/parameters/date_to'
  280. - $ref: '#/parameters/offset'
  281. - $ref: '#/parameters/limit'
  282. - name: sort_by
  283. in: query
  284. description: Sorting strategy
  285. required: false
  286. type: string
  287. default: venue-relevance
  288. enum:
  289. - relevance
  290. - venue-relevance
  291. - category-relevance
  292. - price
  293. - rating
  294. responses:
  295. '200':
  296. description: Returned when successful
  297. schema:
  298. type: array
  299. items:
  300. $ref: '#/definitions/Event'
  301. '404':
  302. description: No resource found
  303. '503':
  304. description: Service unavailable
  305. '/cities/{cityId}':
  306. get:
  307. tags:
  308. - City
  309. summary: Get city by unique identifier
  310. parameters:
  311. - $ref: '#/parameters/cityId'
  312. responses:
  313. '200':
  314. description: Returned when successful
  315. schema:
  316. $ref: '#/definitions/City'
  317. '404':
  318. description: Returned when resource is not found
  319. '503':
  320. description: Returned when the service is unavailable
  321. /cities:
  322. get:
  323. tags:
  324. - City
  325. summary: Get cities
  326. parameters:
  327. - $ref: '#/parameters/offset'
  328. - $ref: '#/parameters/limit'
  329. - name: prioritized_country
  330. in: query
  331. description: Set the country to prioritize (id) (will affect results order)
  332. required: false
  333. type: string
  334. - name: prioritized_country_cities_limit
  335. in: query
  336. description: >-
  337. Set the number of cities to select from the country given in
  338. prioritized_country, if not given means unlimited
  339. required: false
  340. type: integer
  341. - name: sort_by
  342. in: query
  343. description: Set sorting strategy
  344. required: false
  345. type: string
  346. default: weight
  347. enum:
  348. - none
  349. - weight
  350. - name: without_events
  351. in: query
  352. description: Set to 'yes' return all cities otherwise only those with events
  353. required: false
  354. type: string
  355. default: 'no'
  356. enum:
  357. - 'yes'
  358. - 'no'
  359. responses:
  360. '200':
  361. description: Returned when successful
  362. schema:
  363. type: array
  364. items:
  365. $ref: '#/definitions/CityAggregated'
  366. '404':
  367. description: No resource found
  368. '503':
  369. description: Service unavailable
  370. '/cities/{cityId}/lists':
  371. get:
  372. tags:
  373. - City
  374. - List
  375. summary: Get lists for a city
  376. parameters:
  377. - $ref: '#/parameters/cityId'
  378. - $ref: '#/parameters/offset'
  379. - $ref: '#/parameters/limit'
  380. - name: sort_by
  381. in: query
  382. description: Set sorting strategy
  383. required: false
  384. type: string
  385. default: weight
  386. enum:
  387. - none
  388. - weight
  389. - name: without_events
  390. in: query
  391. description: Set to 'yes' return all cities otherwise only those with events
  392. required: false
  393. type: string
  394. default: 'no'
  395. enum:
  396. - 'yes'
  397. - 'no'
  398. - name: tag
  399. in: query
  400. description: List tags to filter by
  401. required: false
  402. type: array
  403. items:
  404. type: string
  405. collectionFormat: multi
  406. - name: list-types
  407. in: query
  408. description: List type to filter by
  409. required: false
  410. type: array
  411. items:
  412. type: string
  413. collectionFormat: multi
  414. responses:
  415. '200':
  416. description: Returned when successful
  417. schema:
  418. type: array
  419. items:
  420. $ref: '#/definitions/MusementList'
  421. '404':
  422. description: No resource found
  423. '503':
  424. description: Service unavailable
  425. '/cities/{cityId}/verticals':
  426. get:
  427. tags:
  428. - City
  429. - Vertical
  430. summary: Get all verticals for a city
  431. parameters:
  432. - $ref: '#/parameters/cityId'
  433. responses:
  434. '200':
  435. description: Returned when successful
  436. schema:
  437. type: array
  438. items:
  439. $ref: '#/definitions/Vertical'
  440. '404':
  441. description: Returned when resource is not found
  442. '503':
  443. description: Returned when the service is unavailable
  444. '/cities/{cityId}/events':
  445. get:
  446. operationId: getEvents
  447. tags:
  448. - City
  449. - Event
  450. summary: Get all verticals for a city
  451. description: >-
  452. Get all events for an city. Only the events that have at least one
  453. active date in the period specified between date_from and date_to are
  454. returned. If date_from and date_to are not set then the period that will
  455. be set will be one year from the date of the request'
  456. parameters:
  457. - $ref: '#/parameters/cityId'
  458. - $ref: '#/parameters/vertical'
  459. - $ref: '#/parameters/category'
  460. - $ref: '#/parameters/venue'
  461. - $ref: '#/parameters/editorial-category'
  462. - $ref: '#/parameters/date_from'
  463. - $ref: '#/parameters/date_to'
  464. - $ref: '#/parameters/offset'
  465. - $ref: '#/parameters/limit'
  466. - name: sort_by
  467. in: query
  468. description: Sorting strategy
  469. required: false
  470. type: string
  471. default: venue-relevance
  472. enum:
  473. - relevance
  474. - venue-relevance
  475. - category-relevance
  476. - price
  477. - rating
  478. responses:
  479. '200':
  480. description: Returned when successful
  481. schema:
  482. type: array
  483. items:
  484. $ref: '#/definitions/Event'
  485. '404':
  486. description: Returned when resource is not found
  487. '503':
  488. description: Returned when the service is unavailable
  489. '/cities/{cityId}/events/{happening}':
  490. get:
  491. tags:
  492. - City
  493. - Event
  494. summary: Get events
  495. parameters:
  496. - $ref: '#/parameters/cityId'
  497. - $ref: '#/parameters/offset'
  498. - $ref: '#/parameters/limit'
  499. - name: happening
  500. in: path
  501. description: Events for today or tomorrow ?
  502. required: true
  503. type: string
  504. enum:
  505. - today
  506. - tomorrow
  507. responses:
  508. '200':
  509. description: Returned when successful
  510. schema:
  511. type: array
  512. items:
  513. $ref: '#/definitions/Event'
  514. '404':
  515. description: No resource found
  516. '503':
  517. description: Service unavailable
  518. '/cities/{cityId}/venues':
  519. get:
  520. tags:
  521. - 'City, Venue'
  522. summary: Get venues for a city
  523. parameters:
  524. - $ref: '#/parameters/cityId'
  525. - $ref: '#/parameters/offset'
  526. - $ref: '#/parameters/limit'
  527. - $ref: '#/parameters/vertical'
  528. responses:
  529. '200':
  530. description: Returned when successful
  531. schema:
  532. type: array
  533. items:
  534. $ref: '#/definitions/Venue'
  535. '404':
  536. description: No resource found
  537. '503':
  538. description: Service unavailable
  539. '/cities/{cityId}/categories':
  540. get:
  541. tags:
  542. - City
  543. - Category
  544. summary: Categories for the city. Sorted by the number of events for the category
  545. parameters:
  546. - $ref: '#/parameters/cityId'
  547. responses:
  548. '200':
  549. description: Returned when successful
  550. '404':
  551. description: Returned when resource is not found
  552. '503':
  553. description: Returned when te service is unavailable
  554. '/cities/{cityId}/blogposts':
  555. get:
  556. tags:
  557. - City
  558. - Blogpost
  559. summary: Get the blogposts for the city
  560. parameters:
  561. - $ref: '#/parameters/cityId'
  562. responses:
  563. '200':
  564. description: Returned when successful
  565. '404':
  566. description: Returned when resource is not found
  567. '503':
  568. description: Returned when the service is unavailable
  569. '/events/{eventId}/comments':
  570. get:
  571. tags:
  572. - Event
  573. - Comment
  574. summary: Get comments for an event
  575. parameters:
  576. - $ref: '#/parameters/eventId'
  577. - $ref: '#/parameters/offset'
  578. - $ref: '#/parameters/limit'
  579. - name: locale
  580. in: query
  581. description: Set first comment in this language
  582. required: false
  583. type: string
  584. responses:
  585. '200':
  586. description: Returned when successful
  587. schema:
  588. type: array
  589. items:
  590. $ref: '#/definitions/Comment'
  591. '404':
  592. description: No resource found
  593. '503':
  594. description: Service unavailable
  595. /content-managers/me:
  596. get:
  597. tags:
  598. - Security
  599. summary: Get logged content manager data
  600. responses:
  601. '200':
  602. description: Returned when successful
  603. schema:
  604. $ref: '#/definitions/ContentManager'
  605. '503':
  606. description: Returned when the service is unavailable
  607. '/countries/{countryId}':
  608. get:
  609. tags:
  610. - Country
  611. summary: Get country by unique identifier
  612. parameters:
  613. - name: countryId
  614. in: path
  615. description: Country identifier
  616. required: true
  617. type: integer
  618. responses:
  619. '200':
  620. description: Returned when successful
  621. '404':
  622. description: Returned when resource is not found
  623. '503':
  624. description: Returned when the service is unavailable
  625. /countries:
  626. get:
  627. tags:
  628. - Country
  629. summary: Get all countries
  630. responses:
  631. '200':
  632. description: Returned when successful
  633. schema:
  634. type: array
  635. items:
  636. $ref: '#/definitions/Country'
  637. '404':
  638. description: Returned when resource is not found
  639. '503':
  640. description: Returned when the service is unavailable
  641. '/countries/{countryId}/cities':
  642. get:
  643. tags:
  644. - Country
  645. - City
  646. summary: Get all cities for a country
  647. parameters:
  648. - $ref: '#/parameters/countryId'
  649. - $ref: '#/parameters/offset'
  650. - $ref: '#/parameters/limit'
  651. responses:
  652. '200':
  653. description: Returned when successful
  654. schema:
  655. type: array
  656. items:
  657. $ref: '#/definitions/CityAggregated'
  658. '404':
  659. description: Returned when resource is not found
  660. '503':
  661. description: Returned when the service is unavailable
  662. '/countries/{countryId}/events':
  663. get:
  664. tags:
  665. - Country
  666. - Events
  667. summary: Get all events for a country
  668. description: >-
  669. Get all events for a country sorted by relevance. If priority_city is
  670. specified the event for that city are returned first'
  671. parameters:
  672. - $ref: '#/parameters/countryId'
  673. - $ref: '#/parameters/vertical'
  674. - name: priority_city
  675. in: query
  676. description: Prioritize results that belong to this city
  677. required: false
  678. type: integer
  679. - $ref: '#/parameters/offset'
  680. - $ref: '#/parameters/limit'
  681. responses:
  682. '200':
  683. description: Returned when successful
  684. schema:
  685. type: array
  686. items:
  687. $ref: '#/definitions/Event'
  688. '404':
  689. description: Returned when resource is not found
  690. '503':
  691. description: Returned when the service is unavailable
  692. /currencies:
  693. get:
  694. tags:
  695. - Currencies
  696. summary: Get all available currencies
  697. responses:
  698. '200':
  699. description: Returned when successful
  700. schema:
  701. $ref: '#/definitions/Currency'
  702. '404':
  703. description: Returned when resource is not found
  704. '503':
  705. description: Returned when the service is unavailable
  706. /customers/me:
  707. get:
  708. tags:
  709. - Security
  710. summary: Get logged user data
  711. responses:
  712. '200':
  713. description: Returned when successful
  714. schema:
  715. $ref: '#/definitions/Customer'
  716. '503':
  717. description: Returned when te service is unavailable
  718. /customers/me/orders:
  719. get:
  720. tags:
  721. - Order
  722. summary: Get all orders for the user logged in
  723. responses:
  724. '200':
  725. description: Returned when successful
  726. schema:
  727. type: array
  728. items:
  729. $ref: '#/definitions/Order'
  730. '503':
  731. description: Returned when the service is unavailable
  732. /customers/me/reviews:
  733. get:
  734. tags:
  735. - Review
  736. summary: Get all reviews for the user logged in
  737. responses:
  738. '200':
  739. description: Returned when successful
  740. schema:
  741. $ref: '#/definitions/Comment'
  742. '503':
  743. description: Returned when the service is unavailable
  744. '/customers/me/wishes/{id}':
  745. delete:
  746. tags:
  747. - Wishlist
  748. summary: Delete an item from user wishlist
  749. parameters:
  750. - name: id
  751. in: path
  752. description: ''
  753. required: true
  754. type: integer
  755. responses:
  756. '204':
  757. description: Returned when successful
  758. '403':
  759. description: When the user has no authorization on the item it's trying to remove
  760. '404':
  761. description: The item to remove doesn't exists
  762. '503':
  763. description: Returned when te service is unavailable
  764. '/editorial-categories/{editorialcategoryId}':
  765. get:
  766. tags:
  767. - Editorial category
  768. summary: Get an editorial category by ID
  769. parameters:
  770. - $ref: '#/parameters/editorialcategoryId'
  771. responses:
  772. '200':
  773. description: Returned when successful
  774. schema:
  775. $ref: '#/definitions/EditorialCategory'
  776. '404':
  777. description: Returned when resource is not found
  778. '503':
  779. description: Returned when the service is unavailable
  780. /editorial-categories:
  781. get:
  782. tags:
  783. - Editorial category
  784. summary: Get all editorial categories
  785. parameters:
  786. - $ref: '#/parameters/offset'
  787. - $ref: '#/parameters/limit'
  788. responses:
  789. '200':
  790. description: Returned when successful
  791. schema:
  792. type: array
  793. items:
  794. $ref: '#/definitions/EditorialCategory'
  795. '404':
  796. description: Returned when resource is not found
  797. '503':
  798. description: Returned when the service is unavailable
  799. '/editorial-categories/{editorialcategoryId}/events':
  800. get:
  801. tags:
  802. - Editorial category
  803. - Event
  804. summary: Get all events for an editorial category sorted by event relevance.
  805. description: >-
  806. Get all events for an editorial category sorted by relevance. Only the
  807. events that have at least one active date in the period specified
  808. between date_from and date_to are returned. If date_from and date_to are
  809. not set then the period that will be set will be one year from the date
  810. of the request'
  811. parameters:
  812. - $ref: '#/parameters/editorialcategoryId'
  813. - $ref: '#/parameters/vertical'
  814. - $ref: '#/parameters/city'
  815. - $ref: '#/parameters/category'
  816. - $ref: '#/parameters/venue'
  817. - $ref: '#/parameters/date_from'
  818. - $ref: '#/parameters/date_to'
  819. - $ref: '#/parameters/offset'
  820. - $ref: '#/parameters/limit'
  821. - name: sort_by
  822. in: query
  823. description: Sorting strategy
  824. required: false
  825. type: string
  826. default: relevance
  827. enum:
  828. - relevance
  829. - price
  830. - rating
  831. responses:
  832. '200':
  833. description: Returned when successful
  834. schema:
  835. type: array
  836. items:
  837. $ref: '#/definitions/Event'
  838. '404':
  839. description: Returned when resource is not found
  840. '503':
  841. description: Returned when the service is unavailable
  842. '/editorial-categories/{editorialcategoryId}/flavours':
  843. get:
  844. tags:
  845. - Editorial categories
  846. summary: Get all flavours connected to an editorial category
  847. parameters:
  848. - $ref: '#/parameters/editorialcategoryId'
  849. responses:
  850. '200':
  851. description: Returned when successful
  852. schema:
  853. $ref: '#/definitions/Flavour'
  854. '404':
  855. description: Returned when resource is not found
  856. '503':
  857. description: Returned when the service is unavailable
  858. /events/search:
  859. get:
  860. tags:
  861. - search
  862. - deprecated
  863. summary: Deprecated API for search - Use search-extended endpoint
  864. parameters:
  865. - $ref: '#/parameters/limit'
  866. - $ref: '#/parameters/offset'
  867. responses:
  868. '200':
  869. description: Returned when successful
  870. '503':
  871. description: Returned when te service is unavailable
  872. deprecated: true
  873. /events/search-extended:
  874. get:
  875. tags:
  876. - Event
  877. summary: API for search
  878. parameters:
  879. - name: q
  880. in: query
  881. description: Query String
  882. required: false
  883. type: string
  884. - $ref: '#/parameters/offset'
  885. - $ref: '#/parameters/limit'
  886. - $ref: '#/parameters/date_from'
  887. - $ref: '#/parameters/date_to'
  888. - $ref: '#/parameters/vertical_collection'
  889. - $ref: '#/parameters/category_collection'
  890. - $ref: '#/parameters/country_collection'
  891. - $ref: '#/parameters/city_collection'
  892. - name: minPrice
  893. in: query
  894. description: Minimum price for an event to be considered
  895. required: false
  896. type: string
  897. minimum: 0
  898. - name: maxPrice
  899. in: query
  900. description: Maximum price for an event to be considered
  901. required: false
  902. type: string
  903. minimum: 1
  904. - name: topFeature
  905. in: query
  906. description: Query String
  907. required: false
  908. type: string
  909. - name: sorting
  910. in: query
  911. description: Sorting strategy
  912. required: false
  913. type: string
  914. default: relevance
  915. enum:
  916. - relevance
  917. - venue-relevance
  918. - city-relevance
  919. - category-relevance
  920. - price
  921. - rating
  922. responses:
  923. '200':
  924. description: Returned when successful
  925. schema:
  926. $ref: '#/definitions/SearchResponse'
  927. '503':
  928. description: Returned when te service is unavailable
  929. '/events/{eventId}':
  930. get:
  931. tags:
  932. - Event
  933. summary: Get event by unique identifier
  934. parameters:
  935. - $ref: '#/parameters/eventId'
  936. responses:
  937. '200':
  938. description: Returned when successful
  939. schema:
  940. $ref: '#/definitions/Event'
  941. '404':
  942. description: Returned when resource is not found
  943. '503':
  944. description: Returned when the service is unavailable
  945. '/activities/{activityUuid}/contents/{localeCode}':
  946. get:
  947. tags:
  948. - Event
  949. - Activity
  950. summary: Get activity content for a specific locale
  951. parameters:
  952. - $ref: '#/parameters/activityUuid'
  953. - $ref: '#/parameters/localeCode'
  954. responses:
  955. '200':
  956. description: Returned when successful
  957. schema:
  958. $ref: '#/definitions/ActivityContent'
  959. '404':
  960. description: Returned when resource is not found
  961. '503':
  962. description: Returned when the service is unavailable
  963. '/events/{eventId}/contact-form':
  964. get:
  965. tags:
  966. - Event
  967. summary: Get Event contact form
  968. parameters:
  969. - $ref: '#/parameters/eventId'
  970. responses:
  971. '200':
  972. description: Returned when successful
  973. schema:
  974. $ref: '#/definitions/Category'
  975. '404':
  976. description: Returned when resource is not found
  977. '503':
  978. description: Returned when the service is unavailable
  979. '/events/{eventId}/contact-requests':
  980. post:
  981. tags:
  982. - Event
  983. summary: Send a contact request with submitted data.
  984. parameters:
  985. - $ref: '#/parameters/eventId'
  986. responses:
  987. '200':
  988. description: Returned when successful
  989. '400':
  990. description: Returned when the form has errors
  991. '/events/{eventId}/dates':
  992. get:
  993. tags:
  994. - Event
  995. - Date
  996. summary: Get available dates for an event
  997. parameters:
  998. - $ref: '#/parameters/eventId'
  999. - name: date_from
  1000. in: query
  1001. description: 'Start date | If not specified set to today | Use format: YYYY-MM-DD'
  1002. required: false
  1003. type: string
  1004. - name: date_to
  1005. in: query
  1006. description: 'To date | If not specified set to next year | Use format: YYYY-MM-DD'
  1007. required: false
  1008. type: string
  1009. responses:
  1010. '200':
  1011. description: Returned when successful
  1012. schema:
  1013. $ref: '#/definitions/Date'
  1014. '404':
  1015. description: Returned when resource is not found
  1016. '503':
  1017. description: Returned when the service is unavailable
  1018. '/events/{eventId}/bundles':
  1019. get:
  1020. tags:
  1021. - Event
  1022. - Bundle
  1023. summary: Get bundles related to an event
  1024. parameters:
  1025. - $ref: '#/parameters/eventId'
  1026. responses:
  1027. '200':
  1028. description: Returned when successful
  1029. schema:
  1030. $ref: '#/definitions/Bundle'
  1031. '404':
  1032. description: Returned when resource is not found
  1033. '503':
  1034. description: Returned when the service is unavailable
  1035. '/events/{eventId}/schedule/{day}':
  1036. get:
  1037. tags:
  1038. - Event
  1039. - Date
  1040. summary: Get schedule for a day for an event
  1041. parameters:
  1042. - $ref: '#/parameters/eventId'
  1043. - $ref: '#/parameters/day'
  1044. - name: ticketsNumber
  1045. in: query
  1046. description: Number of ticket requested tickets |Only useful for real time events
  1047. required: false
  1048. type: string
  1049. responses:
  1050. '200':
  1051. description: Returned when successful
  1052. schema:
  1053. type: array
  1054. items:
  1055. $ref: '#/definitions/Schedule'
  1056. '404':
  1057. description: Returned when resource is not found
  1058. '503':
  1059. description: Returned when the service is unavailable
  1060. '/events/{eventId}/schedule/{day}/{giftCode}':
  1061. get:
  1062. tags:
  1063. - Event
  1064. - Date
  1065. summary: Get schedule for Gift and specific day
  1066. parameters:
  1067. - $ref: '#/parameters/eventId'
  1068. - $ref: '#/parameters/day'
  1069. - $ref: '#/parameters/giftCode'
  1070. responses:
  1071. '200':
  1072. description: Returned when successful
  1073. schema:
  1074. type: array
  1075. items:
  1076. $ref: '#/definitions/Schedule'
  1077. '404':
  1078. description: Returned when resource is not found
  1079. '503':
  1080. description: Returned when the service is unavailable
  1081. '/events/{eventId}/gift-schedule':
  1082. get:
  1083. tags:
  1084. - Event
  1085. - Date
  1086. summary: Get schedule for a 'Gift creation' for an Event
  1087. parameters:
  1088. - $ref: '#/parameters/eventId'
  1089. responses:
  1090. '200':
  1091. description: Returned when successful
  1092. schema:
  1093. $ref: '#/definitions/GiftSchedule'
  1094. '404':
  1095. description: Returned when Event is not found or is not giftable
  1096. '503':
  1097. description: Returned when the service is unavailable
  1098. /events:
  1099. get:
  1100. tags:
  1101. - Event
  1102. summary: Get events
  1103. parameters:
  1104. - name: ids
  1105. in: query
  1106. description: Filter on these events
  1107. required: true
  1108. type: array
  1109. items:
  1110. type: integer
  1111. collectionFormat: multi
  1112. responses:
  1113. '200':
  1114. description: Returned when successful
  1115. schema:
  1116. type: array
  1117. items:
  1118. $ref: '#/definitions/Event'
  1119. '404':
  1120. description: No resource found
  1121. '503':
  1122. description: Service unavailable
  1123. '/events/{eventId}/media':
  1124. get:
  1125. tags:
  1126. - Event
  1127. - Media
  1128. summary: Get all media for an event
  1129. parameters:
  1130. - $ref: '#/parameters/eventId'
  1131. responses:
  1132. '200':
  1133. description: Returned when successful
  1134. schema:
  1135. type: array
  1136. items:
  1137. $ref: '#/definitions/GalleryMedia'
  1138. '404':
  1139. description: No resource found
  1140. '503':
  1141. description: Service unavailable
  1142. '/feedback-requests/{feedbackRequestNonce}':
  1143. get:
  1144. tags:
  1145. - Event
  1146. - Comment
  1147. - Purchase experience
  1148. summary: Get feedback request details
  1149. parameters:
  1150. - name: feedbackRequestNonce
  1151. in: path
  1152. description: Feedback request nonce
  1153. required: true
  1154. type: string
  1155. responses:
  1156. '200':
  1157. description: Returned when successful
  1158. schema:
  1159. $ref: '#/definitions/FeedbackRequest'
  1160. '404':
  1161. description: No resource found
  1162. '503':
  1163. description: Service unavailable
  1164. '/carts/{cartId}/gifts':
  1165. post:
  1166. tags:
  1167. - Cart
  1168. summary: Create tailored Gift and add it to Cart
  1169. parameters:
  1170. - name: cartId
  1171. in: path
  1172. description: Cart Id
  1173. required: true
  1174. type: integer
  1175. - name: giftCreationRequest
  1176. in: body
  1177. description: Gift creation request
  1178. required: true
  1179. schema:
  1180. $ref: '#/definitions/GiftCreationRequest'
  1181. responses:
  1182. '200':
  1183. description: Returned when successful
  1184. schema:
  1185. $ref: '#/definitions/ResponseWithMessage'
  1186. '404':
  1187. description: Returned when resource is not found
  1188. '503':
  1189. description: Returned when the service is unavailable
  1190. '/carts/{cartId}/gifts/{giftCode}':
  1191. put:
  1192. tags:
  1193. - Cart
  1194. summary: >-
  1195. Redeem gift code with chosen date+time+language. Appropriate Tickets
  1196. with price 0 will be added to Cart
  1197. parameters:
  1198. - name: cartId
  1199. in: path
  1200. description: Cart Id
  1201. required: true
  1202. type: integer
  1203. - name: giftCode
  1204. in: path
  1205. description: Gift code
  1206. required: true
  1207. type: string
  1208. - name: giftRedeemRequest
  1209. in: body
  1210. description: Gift redeem request
  1211. required: true
  1212. schema:
  1213. $ref: '#/definitions/GiftRedeemRequest'
  1214. responses:
  1215. '200':
  1216. description: Returned when successful
  1217. schema:
  1218. $ref: '#/definitions/ResponseWithMessage'
  1219. '404':
  1220. description: Returned when resource is not found
  1221. '503':
  1222. description: Returned when the service is unavailable
  1223. /languages:
  1224. get:
  1225. tags:
  1226. - Language
  1227. summary: Get all the possible content languages
  1228. responses:
  1229. '200':
  1230. description: Returned when successful
  1231. '404':
  1232. description: Returned when resource is not found
  1233. '503':
  1234. description: Returned when the service is unavailable
  1235. /poi-types:
  1236. get:
  1237. tags:
  1238. - POI types
  1239. summary: Get all the POI types
  1240. responses:
  1241. '200':
  1242. description: Returned when successful
  1243. schema:
  1244. type: array
  1245. items:
  1246. $ref: '#/definitions/TranslatedMetadata'
  1247. '404':
  1248. description: Returned when resource is not found
  1249. '503':
  1250. description: Returned when the service is unavailable
  1251. /activity-languages:
  1252. get:
  1253. tags:
  1254. - Activity
  1255. summary: Get all possible languages for the activities
  1256. responses:
  1257. '200':
  1258. description: Returned when successful
  1259. schema:
  1260. type: array
  1261. items:
  1262. $ref: '#/definitions/TranslatedMetadata'
  1263. '404':
  1264. description: Returned when resource is not found
  1265. '503':
  1266. description: Returned when the service is unavailable
  1267. /features:
  1268. get:
  1269. tags:
  1270. - 'features, metadata'
  1271. summary: Get all the available features
  1272. responses:
  1273. '200':
  1274. description: Returned when successful
  1275. schema:
  1276. type: array
  1277. items:
  1278. $ref: '#/definitions/TranslatedMetadata'
  1279. '404':
  1280. description: Returned when resource is not found
  1281. '503':
  1282. description: Returned when the service is unavailable
  1283. /services:
  1284. get:
  1285. tags:
  1286. - 'services, metadata'
  1287. summary: Get all available services
  1288. responses:
  1289. '200':
  1290. description: Returned when successful
  1291. schema:
  1292. type: array
  1293. items:
  1294. $ref: '#/definitions/TranslatedMetadata'
  1295. '404':
  1296. description: Returned when resource is not found
  1297. '503':
  1298. description: Returned when the service is unavailable
  1299. /orders:
  1300. post:
  1301. tags:
  1302. - Order
  1303. summary: Create an order
  1304. parameters:
  1305. - name: cart_id
  1306. in: formData
  1307. description: ''
  1308. required: false
  1309. type: integer
  1310. responses:
  1311. '200':
  1312. description: Returned when successful
  1313. '404':
  1314. description: Returned when resource is not found
  1315. '503':
  1316. description: Returned when te service is unavailable
  1317. '/orders/{orderUuid}':
  1318. get:
  1319. tags:
  1320. - Order
  1321. summary: Get details for an order
  1322. parameters:
  1323. - name: orderUuid
  1324. in: path
  1325. description: Order Uuid
  1326. required: true
  1327. type: string
  1328. responses:
  1329. '200':
  1330. description: Returned when successful
  1331. schema:
  1332. $ref: '#/definitions/Order'
  1333. '404':
  1334. description: Returned when resource is not found
  1335. '503':
  1336. description: Returned when te service is unavailable
  1337. /payments/braintree/token:
  1338. post:
  1339. tags:
  1340. - Payment
  1341. - Order
  1342. - Braintree
  1343. summary: Create Braintree clientToken
  1344. responses:
  1345. '200':
  1346. description: Returned when successful
  1347. schema:
  1348. $ref: '#/definitions/PostClientToken'
  1349. '503':
  1350. description: Returned when the service is unavailable
  1351. /payments/braintree/payment:
  1352. post:
  1353. tags:
  1354. - Braintree
  1355. summary: Pay an order.
  1356. description: Pay an order using braintree.
  1357. parameters:
  1358. - name: braintreePayment
  1359. in: body
  1360. description: Braintree payment info request
  1361. required: true
  1362. schema:
  1363. $ref: '#/definitions/BraintreePaymentRequest'
  1364. responses:
  1365. '200':
  1366. description: Returned when payment was successful
  1367. schema:
  1368. $ref: '#/definitions/ResponseWithMessage'
  1369. '401':
  1370. description: Returned when Order does not belong to authenticated Customer
  1371. '404':
  1372. description: Returned when Order was not found
  1373. '422':
  1374. description: >-
  1375. Returned when there was error error during payment via Braintree
  1376. (wrong credit card number, bad CVV code, not enough balance, etc)
  1377. '423':
  1378. description: Returned when Order is already payed
  1379. '503':
  1380. description: Returned when the service isUnavailable
  1381. /payments/no/payment:
  1382. post:
  1383. tags:
  1384. - Order
  1385. summary: Apply the no-payment strategy.
  1386. description: >-
  1387. Apply the no-payment strategy for an order. You can use this strategy if
  1388. the cart amount is zero or if you have the special `NoPaymentStrategy`
  1389. grant
  1390. responses:
  1391. '200':
  1392. description: Returned when payment was successful
  1393. schema:
  1394. $ref: '#/definitions/ResponseWithMessage'
  1395. '404':
  1396. description: Returned when Order was not found
  1397. '422':
  1398. description: >-
  1399. Returned when Order amount is > 0 or other error during
  1400. NoPaymentStrategy
  1401. '423':
  1402. description: Returned when Order is already processed by NoPaymentStrategy
  1403. '503':
  1404. description: Returned when the service is unavailable
  1405. /payments/paypal/payment:
  1406. post:
  1407. tags:
  1408. - Paypal
  1409. summary: Pay an Order.
  1410. description: Pay an Order using Paypal.
  1411. parameters:
  1412. - name: paypalPayment
  1413. in: body
  1414. description: Paypal payment info request
  1415. required: true
  1416. schema:
  1417. $ref: '#/definitions/PaypalPaymentRequest'
  1418. responses:
  1419. '200':
  1420. description: Returned when payment was successful
  1421. schema:
  1422. $ref: '#/definitions/SuccessfulPayment'
  1423. '401':
  1424. description: Returned when Order does not belong to authenticated Customer
  1425. '404':
  1426. description: Returned when Order was not found
  1427. '422':
  1428. description: Returned when there was error error verifying payment via Paypal
  1429. '423':
  1430. description: Returned when Order is already payed
  1431. '503':
  1432. description: Returned when the service isUnavailable
  1433. /payments/stripe/stored_source_info:
  1434. get:
  1435. tags:
  1436. - Payment
  1437. - Order
  1438. - Stripe
  1439. summary: Get stored Stripe Source info
  1440. responses:
  1441. '200':
  1442. description: Returned when successful
  1443. '404':
  1444. description: Returned when no stored Stripe Source is found
  1445. '503':
  1446. description: Returned when the service is unavailable
  1447. /payments/stripe/payment:
  1448. post:
  1449. tags:
  1450. - Stripe
  1451. summary: Pay an order.
  1452. description: Pay an order using stripe.
  1453. parameters:
  1454. - name: stripePayment
  1455. in: body
  1456. description: Stripe payment info request
  1457. required: true
  1458. schema:
  1459. $ref: '#/definitions/StripePaymentRequest'
  1460. responses:
  1461. '200':
  1462. description: Returned when payment was successful
  1463. schema:
  1464. $ref: '#/definitions/SuccessfulPayment'
  1465. '401':
  1466. description: Returned when Order does not belong to authenticated Customer
  1467. '404':
  1468. description: Returned when Order was not found
  1469. '422':
  1470. description: >-
  1471. Returned when there was error error during payment via Stripe (wrong
  1472. credit card number, bad CVV code, not enough balance, etc)
  1473. '423':
  1474. description: Returned when Order is already payed
  1475. '503':
  1476. description: Returned when the service isUnavailable
  1477. /payments/stripe/complete_3d_secure:
  1478. post:
  1479. tags:
  1480. - Stripe
  1481. summary: Complete 3d secure payment.
  1482. description: Complete 3d secure payment after confirming it on card issuer page.
  1483. responses:
  1484. '200':
  1485. description: Returned when payment was successful
  1486. schema:
  1487. $ref: '#/definitions/SuccessfulPayment'
  1488. '401':
  1489. description: Returned when Order does not belong to authenticated Customer
  1490. '404':
  1491. description: Returned when Order was not found
  1492. '422':
  1493. description: >-
  1494. Returned when there was error error during payment via Stripe (wrong
  1495. credit card number, bad CVV code, not enough balance, etc)
  1496. '423':
  1497. description: Returned when Order is already payed
  1498. '503':
  1499. description: Returned when the service isUnavailable
  1500. '/pricetags/{id}':
  1501. get:
  1502. tags:
  1503. - Pricetag
  1504. summary: Get the name for a pricetag
  1505. parameters:
  1506. - name: id
  1507. in: path
  1508. description: ''
  1509. required: true
  1510. type: integer
  1511. responses:
  1512. '200':
  1513. description: Returned when successful
  1514. schema:
  1515. $ref: '#/definitions/Pricetag'
  1516. '404':
  1517. description: Returned when resource is not found
  1518. '503':
  1519. description: Returned when the service is unavailable
  1520. /proxy/auth/user:
  1521. post:
  1522. tags:
  1523. - API proxy
  1524. summary: POST Login using password grant type
  1525. responses:
  1526. '200':
  1527. description: Returned when successful
  1528. '400':
  1529. description: Returned when the login has errors
  1530. '503':
  1531. description: Returned when te service is unavailable
  1532. /proxy/auth/client:
  1533. post:
  1534. tags:
  1535. - API proxy
  1536. summary: POST Login using client_credentials grant type
  1537. responses:
  1538. '200':
  1539. description: Returned when successful
  1540. '400':
  1541. description: Returned when the login has errors
  1542. '503':
  1543. description: Returned when te service is unavailable
  1544. /login:
  1545. get:
  1546. tags:
  1547. - Security
  1548. summary: Login a user via OAuth 2
  1549. responses:
  1550. '200':
  1551. description: Returned when successful
  1552. '400':
  1553. description: Returned when the errors
  1554. '503':
  1555. description: Returned when the service is unavailable
  1556. /refresh:
  1557. get:
  1558. tags:
  1559. - Security
  1560. summary: Retrieve a fresh access token
  1561. responses:
  1562. '200':
  1563. description: Returned when successful
  1564. '400':
  1565. description: Returned when the errors
  1566. '503':
  1567. description: Returned when the service is unavailable
  1568. /signup/soft:
  1569. post:
  1570. tags:
  1571. - Security
  1572. summary: Register a new customer setting the softpassword
  1573. responses:
  1574. '200':
  1575. description: Returned when successful
  1576. '400':
  1577. description: Returned when the form has errors
  1578. '503':
  1579. description: Returned when te service is unavailable
  1580. /signup:
  1581. post:
  1582. tags:
  1583. - Security
  1584. summary: Begin a new signup process
  1585. responses:
  1586. '200':
  1587. description: Returned when successful
  1588. '400':
  1589. description: Returned when the form has errors
  1590. '503':
  1591. description: Returned when te service is unavailable
  1592. /signup/external_provider:
  1593. post:
  1594. tags:
  1595. - Security
  1596. summary: Register a new customer using external provider data
  1597. responses:
  1598. '200':
  1599. description: Returned when successful
  1600. schema:
  1601. $ref: '#/definitions/Customer'
  1602. '400':
  1603. description: Returned when the form has errors
  1604. '503':
  1605. description: Returned when te service is unavailable
  1606. /reset_password:
  1607. post:
  1608. tags:
  1609. - Security
  1610. summary: Send reset password email. This method always returns 204
  1611. parameters:
  1612. - name: email
  1613. in: formData
  1614. description: Email address of the user
  1615. required: true
  1616. type: string
  1617. responses:
  1618. '204':
  1619. description: Returned in all the other cases
  1620. '406':
  1621. description: Returned when there are wrong data in the request
  1622. /suggest:
  1623. get:
  1624. tags:
  1625. - Autosuggest
  1626. summary: Search relevant items in Musement DB
  1627. parameters:
  1628. - name: q
  1629. in: query
  1630. description: Search string. Minimum 3 chars
  1631. required: false
  1632. type: string
  1633. responses:
  1634. '200':
  1635. description: Returned when there are items.
  1636. '404':
  1637. description: Returned when no data are found.
  1638. /suppliers/me:
  1639. get:
  1640. tags:
  1641. - Security
  1642. summary: Get logged supplier data
  1643. responses:
  1644. '200':
  1645. description: Returned when successful
  1646. schema:
  1647. $ref: '#/definitions/Supplier'
  1648. '503':
  1649. description: Returned when the service is unavailable
  1650. /suppliers/me/price-features:
  1651. get:
  1652. tags:
  1653. - Security
  1654. summary: Get all available price features for the logged in supplier
  1655. responses:
  1656. '200':
  1657. description: Returned when successful
  1658. schema:
  1659. type: array
  1660. items:
  1661. $ref: '#/definitions/TranslatedMetadata'
  1662. '503':
  1663. description: Returned when the service is unavailable
  1664. /suppliers/me/ticket-holders:
  1665. get:
  1666. tags:
  1667. - Security
  1668. summary: Get all available ticket holders features for the logged in supplier
  1669. responses:
  1670. '200':
  1671. description: Returned when successful
  1672. schema:
  1673. type: array
  1674. items:
  1675. $ref: '#/definitions/TranslatedMetadata'
  1676. '503':
  1677. description: Returned when the service is unavailable
  1678. /suppliers/me/activities:
  1679. get:
  1680. tags:
  1681. - Security
  1682. summary: Get activities for the logged in supplier
  1683. parameters:
  1684. - $ref: '#/parameters/offset'
  1685. - $ref: '#/parameters/limit'
  1686. responses:
  1687. '200':
  1688. description: Returned when successful
  1689. schema:
  1690. type: array
  1691. items:
  1692. $ref: '#/definitions/Event'
  1693. '503':
  1694. description: Returned when the service is unavailable
  1695. '/customers/me/orders/{order_id}/tickets/{ticket_id}':
  1696. get:
  1697. tags:
  1698. - Order
  1699. summary: Get the details for a specific ticket
  1700. parameters:
  1701. - name: order_id
  1702. in: path
  1703. description: $order_id Order identifier
  1704. required: true
  1705. type: integer
  1706. - name: ticket_id
  1707. in: path
  1708. description: $ticket_id Ticket identifier
  1709. required: true
  1710. type: integer
  1711. responses:
  1712. '200':
  1713. description: Returned when successful
  1714. schema:
  1715. $ref: '#/definitions/Order'
  1716. '503':
  1717. description: Returned when the service is unavailable
  1718. '/venues/{venueId}':
  1719. get:
  1720. tags:
  1721. - Venue
  1722. summary: Get a venue
  1723. parameters:
  1724. - name: venueId
  1725. in: path
  1726. description: ''
  1727. required: true
  1728. type: integer
  1729. responses:
  1730. '200':
  1731. description: Returned when successful
  1732. '404':
  1733. description: Returned when resource is not found
  1734. '503':
  1735. description: Returned when the service is unavailable
  1736. '/venues/{venueId}/events':
  1737. get:
  1738. tags:
  1739. - Venue
  1740. - Event
  1741. summary: Get all events for a venue sorted by venue relevance.
  1742. description: >-
  1743. Get all events for an venue sorted by relevance. Only the events that
  1744. have at least one active date in the period specified between date_from
  1745. and date_to are returned. If date_from and date_to are not set then the
  1746. period that will be set will be one year from the date of the request'
  1747. parameters:
  1748. - $ref: '#/parameters/venueId'
  1749. - $ref: '#/parameters/vertical'
  1750. - $ref: '#/parameters/city'
  1751. - $ref: '#/parameters/category'
  1752. - $ref: '#/parameters/editorial-category'
  1753. - $ref: '#/parameters/date_from'
  1754. - $ref: '#/parameters/date_to'
  1755. - $ref: '#/parameters/offset'
  1756. - $ref: '#/parameters/limit'
  1757. - name: sort_by
  1758. in: query
  1759. description: Sorting strategy
  1760. required: false
  1761. type: string
  1762. default: venue-relevance
  1763. enum:
  1764. - relevance
  1765. - venue-relevance
  1766. - category-relevance
  1767. - price
  1768. - rating
  1769. responses:
  1770. '200':
  1771. description: Returned when successful
  1772. schema:
  1773. type: array
  1774. items:
  1775. $ref: '#/definitions/Event'
  1776. '404':
  1777. description: Returned when resource is not found
  1778. '503':
  1779. description: Returned when the service is unavailable
  1780. /verticals:
  1781. get:
  1782. tags:
  1783. - Vertical
  1784. summary: Get all verticals
  1785. parameters:
  1786. - $ref: '#/parameters/offset'
  1787. - $ref: '#/parameters/limit'
  1788. responses:
  1789. '200':
  1790. description: Returned when successful
  1791. '404':
  1792. description: Returned when resource is not found
  1793. '503':
  1794. description: Returned when the service is unavailable
  1795. '/verticals/{verticalId}/events':
  1796. get:
  1797. tags:
  1798. - Vertical
  1799. summary: Get all events for by vertical ID
  1800. parameters:
  1801. - $ref: '#/parameters/verticalId'
  1802. - $ref: '#/parameters/offset'
  1803. - $ref: '#/parameters/limit'
  1804. responses:
  1805. '200':
  1806. description: Returned when successful
  1807. '302':
  1808. description: Returned when more than 100 items requested
  1809. '404':
  1810. description: Returned when resource is not found
  1811. '503':
  1812. description: Returned when the service is unavailable
  1813. '/verticals/{verticalId}/categories':
  1814. get:
  1815. tags:
  1816. - Vertical
  1817. summary: Get categories by vertical ID
  1818. parameters:
  1819. - $ref: '#/parameters/verticalId'
  1820. - $ref: '#/parameters/offset'
  1821. - $ref: '#/parameters/limit'
  1822. responses:
  1823. '200':
  1824. description: Returned when successful
  1825. '302':
  1826. description: Returned when more than 100 items requested
  1827. '404':
  1828. description: Returned when resource is not found
  1829. '503':
  1830. description: Returned when the service is unavailable
  1831. '/wishes/{code}':
  1832. get:
  1833. tags:
  1834. - Wishlist
  1835. summary: Get a wish
  1836. parameters:
  1837. - name: code
  1838. in: path
  1839. description: 'Wish identifier in the form ''[wish-id]-[wishtype]'''
  1840. required: true
  1841. type: string
  1842. responses:
  1843. '200':
  1844. description: Returned when successful
  1845. schema:
  1846. $ref: '#/definitions/Wish'
  1847. '403':
  1848. description: When the user has no authorization on the item it's trying to view
  1849. '404':
  1850. description: The item to view doesn't exists
  1851. '503':
  1852. description: Returned when te service is unavailable
  1853. definitions:
  1854. Currency:
  1855. properties:
  1856. code:
  1857. type: string
  1858. name:
  1859. type: string
  1860. symbol:
  1861. type: string
  1862. is_top:
  1863. type: boolean
  1864. FormError:
  1865. properties:
  1866. code:
  1867. type: string
  1868. globalErrorMessage:
  1869. type: string
  1870. errors:
  1871. type: array
  1872. items:
  1873. $ref: '#/definitions/FormFieldError'
  1874. FormFieldError:
  1875. properties:
  1876. fieldName:
  1877. type: string
  1878. fieldErrorMessage:
  1879. type: string
  1880. ExtendedField: {}
  1881. ActivityContent:
  1882. xml:
  1883. name: ActivityContent
  1884. ActivityPoi:
  1885. properties:
  1886. latitude:
  1887. type: number
  1888. format: float
  1889. longitude:
  1890. type: number
  1891. format: float
  1892. types:
  1893. type: array
  1894. items:
  1895. $ref: '#/definitions/TranslatedMetadata'
  1896. xml:
  1897. name: ActivityPoi
  1898. ActivityTaxonomy:
  1899. properties:
  1900. uuid:
  1901. type: string
  1902. name:
  1903. type: string
  1904. category:
  1905. type: string
  1906. xml:
  1907. name: ActivityTaxonomy
  1908. Background:
  1909. properties:
  1910. id:
  1911. type: integer
  1912. slogan:
  1913. type: string
  1914. active:
  1915. type: boolean
  1916. coverImageUrl:
  1917. type: string
  1918. xml:
  1919. name: Background
  1920. Barcode:
  1921. properties:
  1922. code:
  1923. type: string
  1924. imageUrl:
  1925. type: string
  1926. used: {}
  1927. seasonPass: {}
  1928. xml:
  1929. name: Barcode
  1930. Blogger:
  1931. properties:
  1932. id:
  1933. type: string
  1934. name:
  1935. type: string
  1936. bio:
  1937. type: string
  1938. avatar:
  1939. type: string
  1940. socialUrl:
  1941. type: string
  1942. website:
  1943. type: string
  1944. xml:
  1945. name: Blogger
  1946. Blogpost:
  1947. properties:
  1948. id:
  1949. type: string
  1950. title:
  1951. type: string
  1952. abstract:
  1953. type: string
  1954. publishDate:
  1955. type: string
  1956. format: date-time
  1957. url:
  1958. type: string
  1959. backgroundImage:
  1960. type: string
  1961. backgroundImageCredits:
  1962. type: string
  1963. categories:
  1964. type: array
  1965. items:
  1966. $ref: '#/definitions/BlogpostCategory'
  1967. blocks:
  1968. type: string
  1969. city:
  1970. $ref: '#/definitions/City'
  1971. author:
  1972. $ref: '#/definitions/Blogger'
  1973. shareImage:
  1974. type: string
  1975. xml:
  1976. name: Blogpost
  1977. BlogpostBlock:
  1978. properties:
  1979. id:
  1980. type: string
  1981. xml:
  1982. name: BlogpostBlock
  1983. BlogpostBlockEmbeddedHtml:
  1984. properties:
  1985. embeddedCode:
  1986. type: string
  1987. type:
  1988. type: string
  1989. id:
  1990. type: string
  1991. xml:
  1992. name: BlogpostBlockEmbeddedHtml
  1993. BlogpostBlockImage:
  1994. properties:
  1995. url:
  1996. type: string
  1997. caption:
  1998. type: string
  1999. shareable:
  2000. type: boolean
  2001. id:
  2002. type: string
  2003. xml:
  2004. name: BlogpostBlockImage
  2005. BlogpostBlockText:
  2006. properties:
  2007. text:
  2008. type: string
  2009. id:
  2010. type: string
  2011. xml:
  2012. name: BlogpostBlockText
  2013. BlogpostCategory:
  2014. properties:
  2015. id:
  2016. type: string
  2017. code:
  2018. type: string
  2019. name:
  2020. type: string
  2021. slug:
  2022. type: string
  2023. description:
  2024. type: string
  2025. metaTitle:
  2026. type: string
  2027. backgroundImage:
  2028. type: string
  2029. xml:
  2030. name: BlogpostCategory
  2031. BlogpostCategoryAggregated:
  2032. properties:
  2033. blogpostCount:
  2034. type: integer
  2035. id:
  2036. type: string
  2037. code:
  2038. type: string
  2039. name:
  2040. type: string
  2041. slug:
  2042. type: string
  2043. description:
  2044. type: string
  2045. metaTitle:
  2046. type: string
  2047. backgroundImage:
  2048. type: string
  2049. xml:
  2050. name: BlogpostCategoryAggregated
  2051. Bucket:
  2052. properties:
  2053. id:
  2054. type: integer
  2055. code:
  2056. type: string
  2057. name:
  2058. type: string
  2059. xml:
  2060. name: Bucket
  2061. Bundle:
  2062. properties:
  2063. discount:
  2064. type: integer
  2065. discountType:
  2066. type: string
  2067. bundleType:
  2068. description: on_everything|from_second|no_discount
  2069. type: string
  2070. activities:
  2071. type: array
  2072. items:
  2073. $ref: '#/definitions/Event'
  2074. xml:
  2075. name: Bundle
  2076. Cart:
  2077. properties:
  2078. id:
  2079. type: integer
  2080. tickets:
  2081. type: array
  2082. items:
  2083. $ref: '#/definitions/Ticket'
  2084. discountCode:
  2085. title: discount_code
  2086. description: This is used only when the cart is posted/put/patched.
  2087. type: string
  2088. giftCard:
  2089. $ref: '#/definitions/GiftCard'
  2090. promoCode:
  2091. $ref: '#/definitions/PromoCode'
  2092. customer:
  2093. $ref: '#/definitions/Customer'
  2094. customerId:
  2095. type: integer
  2096. retailPrice:
  2097. $ref: '#/definitions/Price'
  2098. xml:
  2099. name: Cart
  2100. Category:
  2101. properties:
  2102. id:
  2103. type: integer
  2104. name:
  2105. type: string
  2106. level:
  2107. type: string
  2108. code:
  2109. type: string
  2110. eventImageUrl:
  2111. type: string
  2112. coverImageUrl:
  2113. type: string
  2114. url:
  2115. type: string
  2116. xml:
  2117. name: Category
  2118. CategoryAggregated:
  2119. properties:
  2120. eventCount:
  2121. type: integer
  2122. id:
  2123. type: integer
  2124. name:
  2125. type: string
  2126. level:
  2127. type: string
  2128. code:
  2129. type: string
  2130. eventImageUrl:
  2131. type: string
  2132. coverImageUrl:
  2133. type: string
  2134. url:
  2135. type: string
  2136. xml:
  2137. name: CategoryAggregated
  2138. City:
  2139. properties:
  2140. id:
  2141. type: integer
  2142. top:
  2143. description: Indicate if the event is a Musement 'top' event
  2144. type: boolean
  2145. hasConcierge:
  2146. description: True for cities with Musement's concierge service active
  2147. type: boolean
  2148. name:
  2149. description: City name
  2150. type: string
  2151. code:
  2152. description: City code. Do not depends on locale
  2153. type: string
  2154. content:
  2155. description: Description
  2156. type: string
  2157. more:
  2158. type: string
  2159. weight:
  2160. type: integer
  2161. latitude:
  2162. type: number
  2163. format: float
  2164. longitude:
  2165. type: number
  2166. format: float
  2167. country:
  2168. $ref: '#/definitions/Country'
  2169. coverImageUrl:
  2170. type: string
  2171. url:
  2172. type: string
  2173. eventsCount:
  2174. description: Number of active events
  2175. type: integer
  2176. xml:
  2177. name: City
  2178. CityAggregated:
  2179. properties:
  2180. eventCount:
  2181. type: integer
  2182. listCount:
  2183. type: integer
  2184. venueCount:
  2185. type: integer
  2186. showInPopular:
  2187. type: boolean
  2188. id:
  2189. type: integer
  2190. top:
  2191. description: Indicate if the event is a Musement 'top' event
  2192. type: boolean
  2193. hasConcierge:
  2194. description: True for cities with Musement's concierge service active
  2195. type: boolean
  2196. name:
  2197. description: City name
  2198. type: string
  2199. code:
  2200. description: City code. Do not depends on locale
  2201. type: string
  2202. content:
  2203. description: Description
  2204. type: string
  2205. more:
  2206. type: string
  2207. weight:
  2208. type: integer
  2209. latitude:
  2210. type: number
  2211. format: float
  2212. longitude:
  2213. type: number
  2214. format: float
  2215. country:
  2216. $ref: '#/definitions/Country'
  2217. coverImageUrl:
  2218. type: string
  2219. url:
  2220. type: string
  2221. eventsCount:
  2222. description: Number of active events
  2223. type: integer
  2224. xml:
  2225. name: CityAggregated
  2226. Comment:
  2227. properties:
  2228. status:
  2229. type: string
  2230. author:
  2231. $ref: '#/definitions/Customer'
  2232. locale:
  2233. type: string
  2234. pictures:
  2235. type: array
  2236. items:
  2237. type: string
  2238. title:
  2239. type: string
  2240. body:
  2241. type: string
  2242. rating:
  2243. type: number
  2244. format: float
  2245. sentAt:
  2246. type: string
  2247. format: date-time
  2248. event:
  2249. $ref: '#/definitions/Event'
  2250. xml:
  2251. name: Comment
  2252. ContentLanguage:
  2253. properties:
  2254. code:
  2255. type: string
  2256. name:
  2257. type: string
  2258. xml:
  2259. name: ContentLanguage
  2260. ContentManager:
  2261. xml:
  2262. name: ContentManager
  2263. Country:
  2264. properties:
  2265. id:
  2266. type: integer
  2267. name:
  2268. type: string
  2269. isoCode:
  2270. type: string
  2271. countryPrefix:
  2272. type: string
  2273. xml:
  2274. name: Country
  2275. Customer:
  2276. properties:
  2277. id:
  2278. type: integer
  2279. registrationType:
  2280. type: string
  2281. password:
  2282. type: string
  2283. email:
  2284. type: string
  2285. firstname:
  2286. type: string
  2287. lastname:
  2288. type: string
  2289. avatar:
  2290. type: string
  2291. country:
  2292. $ref: '#/definitions/Country'
  2293. currency:
  2294. type: string
  2295. zipcode:
  2296. type: string
  2297. state:
  2298. type: string
  2299. address:
  2300. type: string
  2301. id_number:
  2302. type: string
  2303. mobile:
  2304. type: string
  2305. city:
  2306. description: >-
  2307. This is a string ! It's the city of the address it has nothing to do
  2308. with musement city.
  2309. type: string
  2310. xml:
  2311. name: Customer
  2312. Date:
  2313. properties:
  2314. day:
  2315. type: string
  2316. soldOut:
  2317. type: boolean
  2318. price:
  2319. $ref: '#/definitions/Price'
  2320. discountedPrice:
  2321. $ref: '#/definitions/Price'
  2322. discountAmount:
  2323. $ref: '#/definitions/Price'
  2324. xml:
  2325. name: Date
  2326. Deeplink:
  2327. properties:
  2328. id:
  2329. type: string
  2330. type:
  2331. type: string
  2332. identifier:
  2333. type: string
  2334. apiUrl:
  2335. type: string
  2336. xml:
  2337. name: Deeplink
  2338. Destination:
  2339. properties:
  2340. id:
  2341. type: integer
  2342. verticals:
  2343. type: array
  2344. items:
  2345. $ref: '#/definitions/Vertical'
  2346. city:
  2347. $ref: '#/definitions/City'
  2348. saves:
  2349. type: integer
  2350. name:
  2351. type: string
  2352. canonicalUrl:
  2353. type: string
  2354. phone:
  2355. type: string
  2356. website:
  2357. type: string
  2358. priceRange:
  2359. type: integer
  2360. latitude:
  2361. type: number
  2362. format: float
  2363. longitude:
  2364. type: number
  2365. format: float
  2366. address:
  2367. type: string
  2368. photos:
  2369. type: array
  2370. items:
  2371. $ref: '#/definitions/DestinationPhoto'
  2372. comments:
  2373. type: array
  2374. items:
  2375. $ref: '#/definitions/DestinationComment'
  2376. openingHours:
  2377. type: array
  2378. items: {}
  2379. specialities:
  2380. type: array
  2381. items: {}
  2382. rating:
  2383. type: number
  2384. format: float
  2385. xml:
  2386. name: Destination
  2387. DestinationComment:
  2388. properties:
  2389. author:
  2390. $ref: '#/definitions/DestinationCommentAuthor'
  2391. title:
  2392. type: string
  2393. text:
  2394. type: string
  2395. date:
  2396. description: This value is saved as ISO 8601 string.
  2397. type: string
  2398. xml:
  2399. name: DestinationComment
  2400. DestinationCommentAuthor:
  2401. properties:
  2402. name:
  2403. type: string
  2404. avatar:
  2405. type: string
  2406. xml:
  2407. name: DestinationCommentAuthor
  2408. DestinationPhoto:
  2409. properties:
  2410. url:
  2411. type: string
  2412. title:
  2413. type: string
  2414. xml:
  2415. name: DestinationPhoto
  2416. EditorialCategory:
  2417. properties:
  2418. id:
  2419. type: integer
  2420. imageUrl:
  2421. type: string
  2422. active:
  2423. type: boolean
  2424. name:
  2425. type: string
  2426. subTitle:
  2427. type: string
  2428. content:
  2429. type: string
  2430. slug:
  2431. type: string
  2432. minEventsForFiltering:
  2433. type: integer
  2434. xml:
  2435. name: EditorialCategory
  2436. Event:
  2437. properties:
  2438. uuid:
  2439. description: Event unique identifier
  2440. type: string
  2441. city:
  2442. $ref: '#/definitions/City'
  2443. saves:
  2444. description: Number of customer who saved this city as favorite
  2445. type: integer
  2446. title:
  2447. type: string
  2448. relevance:
  2449. type: integer
  2450. relevanceVenue:
  2451. type: integer
  2452. maxConfirmationTime:
  2453. type: integer
  2454. mustSee:
  2455. type: boolean
  2456. lastChance:
  2457. type: boolean
  2458. topSeller:
  2459. type: boolean
  2460. printVoucher:
  2461. description: Voucher must be printed to access the activity
  2462. type: boolean
  2463. temporary:
  2464. type: boolean
  2465. description:
  2466. type: string
  2467. about:
  2468. type: string
  2469. aboutMarkdown:
  2470. type: string
  2471. aboutHtml:
  2472. type: string
  2473. meetingPoint:
  2474. type: string
  2475. openingHours:
  2476. type: string
  2477. duration: {}
  2478. validity: {}
  2479. numberedSeats:
  2480. type: boolean
  2481. hasPriceInfoOnDate:
  2482. description: 'If true the call GET /events/{id}/dates returns prices for each day.'
  2483. type: boolean
  2484. open:
  2485. description: >-
  2486. Define if the Event is with open dates entrance (aka:
  2487. Event::isOpenTicket).
  2488. type: boolean
  2489. ticketNotIncluded:
  2490. type: boolean
  2491. likelyToSellOut:
  2492. type: boolean
  2493. specialOffer:
  2494. type: boolean
  2495. exclusive:
  2496. type: boolean
  2497. includedHotelNightNumber:
  2498. type: integer
  2499. greenFeeDays:
  2500. type: integer
  2501. daily:
  2502. description: >-
  2503. Define if the Event is with "daily tickets" (aka:
  2504. Event::getDailyTickets)
  2505.  
  2506. This causes for example: to hide "time block" in Orderbox.
  2507. type: boolean
  2508. languages:
  2509. type: array
  2510. items:
  2511. $ref: '#/definitions/TranslatedMetadata'
  2512. groupSize:
  2513. type: array
  2514. items: {}
  2515. food:
  2516. type: array
  2517. items:
  2518. $ref: '#/definitions/TranslatedMetadata'
  2519. services:
  2520. type: array
  2521. items:
  2522. $ref: '#/definitions/TranslatedMetadata'
  2523. translated:
  2524. type: array
  2525. items: {}
  2526. features:
  2527. type: array
  2528. items:
  2529. $ref: '#/definitions/TranslatedMetadata'
  2530. highlights:
  2531. type: array
  2532. items:
  2533. type: string
  2534. included:
  2535. type: array
  2536. items:
  2537. type: string
  2538. notIncluded:
  2539. type: array
  2540. items:
  2541. type: string
  2542. isAvailableToday:
  2543. type: boolean
  2544. isAvailableTomorrow:
  2545. type: boolean
  2546. hasMultipleOptions:
  2547. type: boolean
  2548. coverImageUrl:
  2549. type: string
  2550. extraMediaUrl:
  2551. type: string
  2552. retailPrice:
  2553. $ref: '#/definitions/Price'
  2554. netPrice:
  2555. $ref: '#/definitions/Price'
  2556. bundledPrice:
  2557. $ref: '#/definitions/Price'
  2558. discount:
  2559. type: integer
  2560. bucket:
  2561. $ref: '#/definitions/Bucket'
  2562. categories:
  2563. type: array
  2564. items:
  2565. $ref: '#/definitions/Category'
  2566. reviewsNumber:
  2567. type: integer
  2568. reviewsAvg:
  2569. type: number
  2570. format: float
  2571. reviewsAggregatedInfo:
  2572. type: array
  2573. items: {}
  2574. latitude:
  2575. type: number
  2576. format: float
  2577. longitude:
  2578. type: number
  2579. format: float
  2580. url:
  2581. type: string
  2582. agencyUrls:
  2583. type: array
  2584. items:
  2585. type: string
  2586. agencyPrice:
  2587. $ref: '#/definitions/Price'
  2588. tags:
  2589. type: array
  2590. items:
  2591. $ref: '#/definitions/Tag'
  2592. flavours:
  2593. type: array
  2594. items:
  2595. $ref: '#/definitions/Flavour'
  2596. verticals:
  2597. type: array
  2598. items:
  2599. $ref: '#/definitions/Vertical'
  2600. orderBoxElements:
  2601. type: array
  2602. items:
  2603. type: string
  2604. giftable:
  2605. type: boolean
  2606. hasPassengerInfo:
  2607. type: boolean
  2608. hasExtraCustomerData:
  2609. type: boolean
  2610. realtimeCapable:
  2611. description: Define if the Event is "realtimeCapable".
  2612. type: boolean
  2613. xml:
  2614. name: Event
  2615. FeedbackRequest:
  2616. properties:
  2617. nonce:
  2618. type: string
  2619. type:
  2620. type: string
  2621. event:
  2622. $ref: '#/definitions/Event'
  2623. xml:
  2624. name: CommentRequest
  2625. Flavour:
  2626. properties:
  2627. id:
  2628. type: integer
  2629. name:
  2630. type: string
  2631. active:
  2632. type: boolean
  2633. img:
  2634. type: string
  2635. slug:
  2636. type: string
  2637. xml:
  2638. name: Flavour
  2639. GalleryMedia:
  2640. properties:
  2641. id:
  2642. type: integer
  2643. title:
  2644. type: string
  2645. url:
  2646. type: string
  2647. type:
  2648. type: string
  2649. externalIdentifier:
  2650. type: string
  2651. xml:
  2652. name: GalleryMedia
  2653. GenericEvent:
  2654. properties:
  2655. id:
  2656. type: integer
  2657. whereIs:
  2658. type: string
  2659. whenIs:
  2660. type: string
  2661. latitude:
  2662. type: number
  2663. format: float
  2664. longitude:
  2665. type: number
  2666. format: float
  2667. date:
  2668. type: string
  2669. price:
  2670. type: string
  2671. phone:
  2672. type: string
  2673. website:
  2674. type: string
  2675. rating:
  2676. type: integer
  2677. votes:
  2678. type: integer
  2679. city:
  2680. $ref: '#/definitions/City'
  2681. venue:
  2682. $ref: '#/definitions/Venue'
  2683. images:
  2684. type: array
  2685. items:
  2686. $ref: '#/definitions/GalleryMedia'
  2687. xml:
  2688. name: GenericEvent
  2689. GiftSchedule:
  2690. properties:
  2691. features:
  2692. type: array
  2693. items:
  2694. $ref: '#/definitions/GiftScheduleFeature'
  2695. xml:
  2696. name: GiftSchedule
  2697. GiftScheduleFeature:
  2698. properties:
  2699. featureCode:
  2700. type: string
  2701. name:
  2702. description: Name (label) of Feature.
  2703. type: string
  2704. description:
  2705. type: string
  2706. default:
  2707. type: boolean
  2708. products:
  2709. type: array
  2710. items:
  2711. $ref: '#/definitions/GiftScheduleProduct'
  2712. xml:
  2713. name: GiftScheduleFeature
  2714. GiftScheduleProduct:
  2715. properties:
  2716. holderCode:
  2717. type: string
  2718. name:
  2719. description: Name (label) of Holder.
  2720. type: string
  2721. type:
  2722. type: string
  2723. productId:
  2724. type: string
  2725. minBuy:
  2726. type: integer
  2727. maxBuy:
  2728. type: integer
  2729. availability:
  2730. type: integer
  2731. rawPrice:
  2732. description: >-
  2733. This is the price to the user without any discount applied. (same
  2734. currency as retailPrice)
  2735. $ref: '#/definitions/Price'
  2736. discountAmount:
  2737. description: >-
  2738. Amount of discount in same currency as retailPrice (only
  2739. SeatPrice.discount used because its not in Cart)
  2740. $ref: '#/definitions/Price'
  2741. retailPrice:
  2742. description: >-
  2743. Price with discount applied (only SeatPrice.discount used because its
  2744. not in Cart)
  2745. $ref: '#/definitions/Price'
  2746. serviceFee:
  2747. $ref: '#/definitions/Price'
  2748. xml:
  2749. name: ScheduleProduct
  2750. GiftCard:
  2751. properties:
  2752. id:
  2753. type: integer
  2754. code:
  2755. type: string
  2756. validFrom:
  2757. type: string
  2758. format: date-time
  2759. validUntil:
  2760. type: string
  2761. format: date-time
  2762. created:
  2763. type: string
  2764. format: date-time
  2765. updated:
  2766. type: string
  2767. format: date-time
  2768. xml:
  2769. name: GiftCard
  2770. ListType:
  2771. properties:
  2772. id:
  2773. type: integer
  2774. name:
  2775. type: string
  2776. xml:
  2777. name: ListType
  2778. MusementList:
  2779. properties:
  2780. id:
  2781. type: integer
  2782. title:
  2783. type: string
  2784. description:
  2785. type: string
  2786. authors:
  2787. type: array
  2788. items:
  2789. $ref: '#/definitions/Customer'
  2790. views:
  2791. type: integer
  2792. scroll:
  2793. type: integer
  2794. saves:
  2795. type: integer
  2796. listType:
  2797. $ref: '#/definitions/ListType'
  2798. city:
  2799. $ref: '#/definitions/City'
  2800. coverImageUrl:
  2801. type: string
  2802. verticals:
  2803. type: array
  2804. items:
  2805. $ref: '#/definitions/Vertical'
  2806. xml:
  2807. name: MusementList
  2808. MusementListGenericItem:
  2809. properties:
  2810. id:
  2811. type: integer
  2812. publicType:
  2813. type: string
  2814. title:
  2815. type: string
  2816. description:
  2817. type: string
  2818. genericEvent:
  2819. $ref: '#/definitions/GenericEvent'
  2820. xml:
  2821. name: MusementListGenericItem
  2822. MusementListMusementItem:
  2823. properties:
  2824. id:
  2825. type: integer
  2826. publicType:
  2827. type: string
  2828. title:
  2829. type: string
  2830. xml:
  2831. name: MusementListMusementItem
  2832. MusementListThirdpartyItem:
  2833. properties:
  2834. id:
  2835. type: integer
  2836. publicType:
  2837. type: string
  2838. title:
  2839. type: string
  2840. description:
  2841. type: string
  2842. destination:
  2843. $ref: '#/definitions/Destination'
  2844. xml:
  2845. name: MusementListThirdpartyItem
  2846. Order:
  2847. properties:
  2848. uuid:
  2849. description: Order unique identifier
  2850. type: string
  2851. date:
  2852. type: string
  2853. format: date-time
  2854. status:
  2855. type: string
  2856. tickets:
  2857. type: array
  2858. items:
  2859. $ref: '#/definitions/Ticket'
  2860. xml:
  2861. name: Order
  2862. Page:
  2863. properties:
  2864. id:
  2865. type: integer
  2866. title:
  2867. type: string
  2868. content:
  2869. type: string
  2870. xml:
  2871. name: Page
  2872. PassengerInfo:
  2873. properties:
  2874. salutation:
  2875. type: string
  2876. firstname:
  2877. type: string
  2878. lastname:
  2879. type: string
  2880. dateOfBirth:
  2881. title: date_of_birth
  2882. type: string
  2883. format: date-time
  2884. passport:
  2885. type: string
  2886. email:
  2887. type: string
  2888. passportExpiryDate:
  2889. title: passport_expiry_date
  2890. type: string
  2891. format: date-time
  2892. nationality:
  2893. type: string
  2894. medicalNotes:
  2895. title: medical_note
  2896. type: string
  2897. address:
  2898. type: string
  2899. fanCard:
  2900. description: /**
  2901. type: string
  2902. xml:
  2903. name: PassengerInfo
  2904. Price:
  2905. properties:
  2906. currency:
  2907. type: string
  2908. value:
  2909. type: number
  2910. format: float
  2911. formattedValue:
  2912. type: number
  2913. format: float
  2914. xml:
  2915. name: Price
  2916. Pricetag:
  2917. properties:
  2918. id:
  2919. type: integer
  2920. code:
  2921. type: string
  2922. priceFeature:
  2923. type: string
  2924. ticketHolder:
  2925. type: string
  2926. name:
  2927. type: string
  2928. group:
  2929. type: string
  2930. xml:
  2931. name: Pricetag
  2932. Product:
  2933. properties:
  2934. id:
  2935. description: >-
  2936. This is a unique identifier of the product. For Musement's product
  2937. this is the SeatPriceId
  2938.  
  2939. for 3rd party product is the unique identifier of the partner's
  2940. product.
  2941.  
  2942.  
  2943. Please note that this is a string
  2944. type: string
  2945. type:
  2946. type: string
  2947. title:
  2948. type: string
  2949. datetime:
  2950. type: string
  2951. format: date-time
  2952. touristCategory:
  2953. type: string
  2954. activityName:
  2955. type: string
  2956. activity:
  2957. $ref: '#/definitions/Event'
  2958. image:
  2959. type: string
  2960. finalPrice:
  2961. $ref: '#/definitions/Price'
  2962. discountAmount:
  2963. $ref: '#/definitions/Price'
  2964. serviceFee:
  2965. $ref: '#/definitions/Price'
  2966. xml:
  2967. name: Product
  2968. PromoCode:
  2969. properties:
  2970. code:
  2971. type: string
  2972. active:
  2973. type: boolean
  2974. percentage:
  2975. type: boolean
  2976. discount:
  2977. type: integer
  2978. maxUsage:
  2979. type: integer
  2980. validFrom:
  2981. type: string
  2982. format: date-time
  2983. validUntil:
  2984. type: string
  2985. format: date-time
  2986. minimumAmount:
  2987. type: number
  2988. format: float
  2989. xml:
  2990. name: PromoCode
  2991. Activity:
  2992. xml:
  2993. name: Activity
  2994. BraintreePaymentRequest:
  2995. properties:
  2996. orderId:
  2997. type: integer
  2998. nonce:
  2999. description: >-
  3000. Braintree "nonce" created on "client side". If provided then don't
  3001. provide "paymentMethodToken".
  3002. paymentMethodToken:
  3003. description: >-
  3004. Braintree "paymentMethodToken". If provided then don't provide
  3005. "nonce".
  3006. clientIp:
  3007. description: '[optional] User IP address for logging purposes.'
  3008. type: string
  3009. cardholderName:
  3010. description: >-
  3011. [optional] Credit card holder name. Required for iOS integration
  3012. because its missing in "tokenizeCard" function there. Include it only
  3013. if you pass "nonce" parameter.
  3014. type: string
  3015. xml:
  3016. name: BraintreePaymentRequest
  3017. CartRequest:
  3018. properties:
  3019. tickets:
  3020. type: array
  3021. items:
  3022. $ref: '#/definitions/TicketRequest'
  3023. customer:
  3024. $ref: '#/definitions/CustomerRequest'
  3025. discountCode:
  3026. title: discount_code
  3027. type: string
  3028. xml:
  3029. name: CartRequest
  3030. CityRequest:
  3031. properties:
  3032. id:
  3033. type: integer
  3034. xml:
  3035. name: CityRequest
  3036. CountryRequest:
  3037. properties:
  3038. id:
  3039. type: integer
  3040. name:
  3041. type: string
  3042. xml:
  3043. name: CountryRequest
  3044. CustomerRequest:
  3045. properties:
  3046. favouriteCity:
  3047. $ref: '#/definitions/CityRequest'
  3048. email:
  3049. type: string
  3050. firstname:
  3051. type: string
  3052. lastname:
  3053. type: string
  3054. country:
  3055. $ref: '#/definitions/CountryRequest'
  3056. zipcode:
  3057. type: string
  3058. state:
  3059. type: string
  3060. city:
  3061. description: >-
  3062. This is a string ! It's the city of the address it has nothing to do
  3063. with musement city.
  3064. type: string
  3065. address:
  3066. type: string
  3067. idNumber:
  3068. title: id_number
  3069. type: string
  3070. mobile:
  3071. type: string
  3072. currency:
  3073. type: string
  3074. vatNumber:
  3075. type: string
  3076. birthdate:
  3077. type: string
  3078. format: date-time
  3079. xml:
  3080. name: CustomerRequest
  3081. GiftCreationProductWithQuantity:
  3082. properties:
  3083. holderCode:
  3084. type: string
  3085. quantity:
  3086. type: integer
  3087. xml:
  3088. name: GiftCreationProductWithQuantity
  3089. GiftCreationRequest:
  3090. properties:
  3091. eventId:
  3092. type: integer
  3093. donorName:
  3094. type: string
  3095. message:
  3096. type: string
  3097. pictureUrl:
  3098. type: string
  3099. print:
  3100. type: boolean
  3101. recipientEmail:
  3102. description: Optional if print is true.
  3103. type: string
  3104. recipientName:
  3105. type: string
  3106. featureCode:
  3107. type: string
  3108. productsWithQuantities:
  3109. type: array
  3110. items:
  3111. $ref: '#/definitions/GiftCreationProductWithQuantity'
  3112. xml:
  3113. name: GiftCreationRequest
  3114. GiftRedeemRequest:
  3115. properties:
  3116. date:
  3117. description: This is optional - for example when open ticket.
  3118. type: string
  3119. time:
  3120. description: This is optional - for example when open ticket.
  3121. type: string
  3122. language:
  3123. description: This is optional - when Event doesnt have languages to choose.
  3124. type: string
  3125. xml:
  3126. name: GiftRedeemRequest
  3127. PassengerInfoRequest:
  3128. properties:
  3129. salutation:
  3130. type: string
  3131. firstname:
  3132. type: string
  3133. lastname:
  3134. type: string
  3135. dateOfBirth:
  3136. type: string
  3137. format: date-time
  3138. passport:
  3139. type: string
  3140. email:
  3141. type: string
  3142. passportExpiryDate:
  3143. type: string
  3144. format: date-time
  3145. nationality:
  3146. type: string
  3147. medicalNotes:
  3148. type: string
  3149. address:
  3150. type: string
  3151. fanCard:
  3152. type: string
  3153. xml:
  3154. name: PassengerInfoRequest
  3155. PaypalPaymentRequest:
  3156. properties:
  3157. orderId:
  3158. type: integer
  3159. paypalPaymentId:
  3160. description: Paypal "payment id" obtained on "client side".
  3161. type: string
  3162. clientIp:
  3163. description: '[optional] User IP address for logging purposes.'
  3164. type: string
  3165. xml:
  3166. name: PaypalPaymentRequest
  3167. ProductRequest:
  3168. properties:
  3169. id:
  3170. type: string
  3171. type:
  3172. type: string
  3173. xml:
  3174. name: ProductRequest
  3175. PurchaseExperience:
  3176. properties:
  3177. locale:
  3178. type: string
  3179. title:
  3180. type: string
  3181. text:
  3182. type: string
  3183. rating:
  3184. type: integer
  3185. xml:
  3186. name: PurchaseExperience
  3187. StripePaymentRequest:
  3188. properties:
  3189. orderId:
  3190. type: integer
  3191. stripeToken:
  3192. description: >-
  3193. Stripe token created on "client side". If provided then don't provide
  3194. "stripeSourceId".
  3195. stripeSourceId:
  3196. description: Stripe "Source id". If provided then don't provide "stripeToken".
  3197. clientIp:
  3198. description: '[optional] User IP address for logging purposes.'
  3199. type: string
  3200. xml:
  3201. name: StripePaymentRequest
  3202. TicketRequest:
  3203. properties:
  3204. product:
  3205. $ref: '#/definitions/Product'
  3206. quantity:
  3207. type: integer
  3208. passengersInfo:
  3209. title: passengers_info
  3210. type: array
  3211. items:
  3212. $ref: '#/definitions/PassengerInfoRequest'
  3213. metadata:
  3214. $ref: '#/definitions/TicketMetadataRequest'
  3215. xml:
  3216. name: TicketRequest
  3217. TicketMetadataRequest:
  3218. properties:
  3219. language:
  3220. type: string
  3221. note:
  3222. type: string
  3223. extended_fields:
  3224. type: array
  3225. items:
  3226. $ref: '#/definitions/ExtendedField'
  3227. xml:
  3228. name: TicketMetadataRequest
  3229. PostClientToken:
  3230. xml:
  3231. name: PostClientToken
  3232. SuccessfulPayment:
  3233. xml:
  3234. name: PaypalPayment
  3235. ResponseWithMessage:
  3236. xml:
  3237. name: ResponseWithMessage
  3238. SearchResponse:
  3239. xml:
  3240. name: SearchResponse
  3241. RedirectTo3dSecureCardIssuer:
  3242. xml:
  3243. name: RedirectTo3dSecureCardIssuer
  3244. Wish:
  3245. properties:
  3246. code:
  3247. type: string
  3248. itemId:
  3249. type: integer
  3250. itemType:
  3251. type: string
  3252. title:
  3253. type: string
  3254. description:
  3255. type: string
  3256. coverImageUrl:
  3257. type: string
  3258. city:
  3259. $ref: '#/definitions/City'
  3260. latitude:
  3261. type: number
  3262. format: float
  3263. longitude:
  3264. type: number
  3265. format: float
  3266. xml:
  3267. name: Wish
  3268. Review:
  3269. properties:
  3270. locale:
  3271. type: string
  3272. rating:
  3273. type: integer
  3274. picture:
  3275. type: string
  3276. title:
  3277. type: string
  3278. body:
  3279. type: string
  3280. sentAt:
  3281. type: string
  3282. format: date-time
  3283. approvedAt:
  3284. type: string
  3285. format: date-time
  3286. xml:
  3287. name: Review
  3288. Schedule:
  3289. properties:
  3290. groups:
  3291. type: array
  3292. items:
  3293. $ref: '#/definitions/ScheduleGroup'
  3294. xml:
  3295. name: Schedule
  3296. ScheduleGroup:
  3297. properties:
  3298. featureCode:
  3299. type: string
  3300. name:
  3301. description: Name (label) of Feature.
  3302. type: string
  3303. description:
  3304. type: string
  3305. default:
  3306. type: boolean
  3307. slots:
  3308. type: array
  3309. items:
  3310. $ref: '#/definitions/ScheduleSlot'
  3311. xml:
  3312. name: ScheduleGroup
  3313. ScheduleProduct:
  3314. properties:
  3315. holderCode:
  3316. type: string
  3317. name:
  3318. description: Name (label) of Holder.
  3319. type: string
  3320. type:
  3321. type: string
  3322. productId:
  3323. type: string
  3324. minBuy:
  3325. type: integer
  3326. maxBuy:
  3327. type: integer
  3328. availability:
  3329. type: integer
  3330. rawPrice:
  3331. description: >-
  3332. This is the price to the user without any discount applied. (same
  3333. currency as retailPrice)
  3334. $ref: '#/definitions/Price'
  3335. discountAmount:
  3336. description: >-
  3337. Amount of discount in same currency as retailPrice (only
  3338. SeatPrice.discount used because its not in Cart)
  3339. $ref: '#/definitions/Price'
  3340. retailPrice:
  3341. description: >-
  3342. Price with discount applied (only SeatPrice.discount used because its
  3343. not in Cart)
  3344. $ref: '#/definitions/Price'
  3345. serviceFee:
  3346. $ref: '#/definitions/Price'
  3347. xml:
  3348. name: ScheduleProduct
  3349. ScheduleSlot:
  3350. properties:
  3351. time:
  3352. type: string
  3353. languages:
  3354. type: array
  3355. items:
  3356. $ref: '#/definitions/TranslatedMetadata'
  3357. products:
  3358. type: array
  3359. items:
  3360. $ref: '#/definitions/ScheduleProduct'
  3361. xml:
  3362. name: ScheduleSlot
  3363. SeatPrice:
  3364. properties:
  3365. id:
  3366. type: integer
  3367. event:
  3368. $ref: '#/definitions/Event'
  3369. priceTag:
  3370. $ref: '#/definitions/Pricetag'
  3371. rawPrice:
  3372. description: >-
  3373. This is the price to the user without any discount applied. (same
  3374. currency as retailPrice)
  3375. $ref: '#/definitions/Price'
  3376. discountAmount:
  3377. description: >-
  3378. Amount of discount in same currency as retailPrice (only
  3379. SeatPrice.discount used because its not in Cart)
  3380. $ref: '#/definitions/Price'
  3381. retailPrice:
  3382. description: >-
  3383. Price with discount applied (only SeatPrice.discount used because its
  3384. not in Cart)
  3385. $ref: '#/definitions/Price'
  3386. serviceFee:
  3387. $ref: '#/definitions/Price'
  3388. datetime:
  3389. type: integer
  3390. xml:
  3391. name: SeatPrice
  3392. Supplier:
  3393. properties:
  3394. uuid:
  3395. type: string
  3396. name:
  3397. type: string
  3398. contactEmail:
  3399. type: string
  3400. contactNumber:
  3401. type: string
  3402. xml:
  3403. name: Supplier
  3404. Tag:
  3405. properties:
  3406. id:
  3407. type: integer
  3408. name:
  3409. type: string
  3410. xml:
  3411. name: Tag
  3412. Ticket:
  3413. properties:
  3414. uuid:
  3415. description: Ticket unique identifier
  3416. type: string
  3417. cartId:
  3418. type: integer
  3419. product:
  3420. $ref: '#/definitions/Product'
  3421. code:
  3422. type: string
  3423. quantity:
  3424. type: integer
  3425. totalPrice:
  3426. $ref: '#/definitions/Price'
  3427. bundle: {}
  3428. passengersInfo:
  3429. type: array
  3430. items:
  3431. $ref: '#/definitions/PassengerInfo'
  3432. metadata:
  3433. $ref: '#/definitions/TicketMetadata'
  3434. status:
  3435. type: string
  3436. vouchers:
  3437. type: array
  3438. items:
  3439. type: string
  3440. xml:
  3441. name: Ticket
  3442. TicketMetadata:
  3443. properties:
  3444. language:
  3445. type: string
  3446. note:
  3447. type: string
  3448. extendedFields:
  3449. type: array
  3450. items: {}
  3451. xml:
  3452. name: TicketMetadata
  3453. TranslatedMetadata:
  3454. properties:
  3455. code:
  3456. type: string
  3457. name:
  3458. type: string
  3459. extra:
  3460. type: array
  3461. items:
  3462. type: string
  3463. xml:
  3464. name: TranslatedMetadata
  3465. Venue:
  3466. properties:
  3467. id:
  3468. type: integer
  3469. city:
  3470. $ref: '#/definitions/City'
  3471. name:
  3472. type: string
  3473. headline:
  3474. type: string
  3475. latitude:
  3476. type: number
  3477. format: float
  3478. longitude:
  3479. type: number
  3480. format: float
  3481. relevance:
  3482. type: integer
  3483. description:
  3484. type: string
  3485. descriptionHtml:
  3486. type: string
  3487. address:
  3488. type: string
  3489. events:
  3490. type: array
  3491. items:
  3492. $ref: '#/definitions/Event'
  3493. verticals:
  3494. type: array
  3495. items:
  3496. $ref: '#/definitions/Vertical'
  3497. coverImageUrl:
  3498. type: string
  3499. eventsCount:
  3500. type: integer
  3501. url:
  3502. type: string
  3503. country:
  3504. $ref: '#/definitions/Country'
  3505. showCalendar:
  3506. type: boolean
  3507. showFlavoursFilter:
  3508. type: boolean
  3509. showFiltersWhenEventsCount:
  3510. type: integer
  3511. xml:
  3512. name: Venue
  3513. Vertical:
  3514. properties:
  3515. id:
  3516. type: integer
  3517. name:
  3518. type: string
  3519. active:
  3520. type: boolean
  3521. code:
  3522. type: string
  3523. slug:
  3524. type: string
  3525. sectionTitle:
  3526. type: string
  3527. coverImageUrl:
  3528. type: string
  3529. topEvents:
  3530. type: array
  3531. items:
  3532. $ref: '#/definitions/Event'
  3533. relevance:
  3534. type: integer
  3535. xml:
  3536. name: Vertical
  3537. VerticalAggregated:
  3538. properties:
  3539. count:
  3540. type: integer
  3541. id:
  3542. type: integer
  3543. name:
  3544. type: string
  3545. active:
  3546. type: boolean
  3547. code:
  3548. type: string
  3549. slug:
  3550. type: string
  3551. sectionTitle:
  3552. type: string
  3553. coverImageUrl:
  3554. type: string
  3555. topEvents:
  3556. type: array
  3557. items:
  3558. $ref: '#/definitions/Event'
  3559. relevance:
  3560. type: integer
  3561. xml:
  3562. name: VerticalAggregated
  3563. parameters:
  3564. limit:
  3565. name: limit
  3566. in: query
  3567. description: Max number of items in the response
  3568. required: false
  3569. type: integer
  3570. default: 10
  3571. maximum: 100
  3572. offset:
  3573. name: offset
  3574. in: query
  3575. description: Pagination offset
  3576. required: false
  3577. type: integer
  3578. default: 0
  3579. minimum: 0
  3580. cartId:
  3581. name: cartId
  3582. in: path
  3583. description: Cart identifier
  3584. required: true
  3585. type: integer
  3586. categoryId:
  3587. name: categoryId
  3588. in: path
  3589. description: Category identifier
  3590. required: true
  3591. type: integer
  3592. verticalId:
  3593. name: verticalId
  3594. in: path
  3595. description: Vertical identifier
  3596. required: true
  3597. type: integer
  3598. eventId:
  3599. name: eventId
  3600. in: path
  3601. description: Event identifier
  3602. required: true
  3603. type: integer
  3604. activityUuid:
  3605. name: activityUuid
  3606. in: path
  3607. description: Activity identifier
  3608. required: true
  3609. type: string
  3610. editorialcategoryId:
  3611. name: editorialcategoryId
  3612. in: path
  3613. description: Editorial category identifier
  3614. required: true
  3615. type: integer
  3616. destinationId:
  3617. name: destinationId
  3618. in: path
  3619. description: Destination identifier
  3620. required: true
  3621. type: integer
  3622. countryId:
  3623. name: countryId
  3624. in: path
  3625. description: Country identifier
  3626. required: true
  3627. type: integer
  3628. cityId:
  3629. name: cityId
  3630. in: path
  3631. description: City identifier
  3632. required: true
  3633. type: integer
  3634. venueId:
  3635. name: venueId
  3636. in: path
  3637. description: Venue identifier
  3638. required: true
  3639. type: integer
  3640. day:
  3641. name: day
  3642. in: path
  3643. description: 'Day | Use format: YYYY-MM-DD'
  3644. required: true
  3645. type: string
  3646. vertical:
  3647. name: vertical
  3648. in: query
  3649. description: Vertical identifier
  3650. required: false
  3651. type: integer
  3652. city:
  3653. name: city
  3654. in: query
  3655. description: City identifier
  3656. required: false
  3657. type: integer
  3658. venue:
  3659. name: venue
  3660. in: query
  3661. description: Venue identifier
  3662. required: false
  3663. type: integer
  3664. editorial-category:
  3665. name: editorial-category
  3666. in: query
  3667. description: Editorial category identifier
  3668. required: false
  3669. type: integer
  3670. category:
  3671. name: category
  3672. in: query
  3673. description: Category identifier
  3674. required: false
  3675. type: integer
  3676. giftCode:
  3677. name: giftCode
  3678. in: path
  3679. description: Gift code
  3680. required: true
  3681. type: string
  3682. vertical_collection:
  3683. name: vertical_collection
  3684. in: query
  3685. description: List of verticals comma separated
  3686. required: false
  3687. type: array
  3688. items:
  3689. type: string
  3690. collectionFormat: csv
  3691. category_collection:
  3692. name: category_collection
  3693. in: query
  3694. description: List of categories comma separated
  3695. required: false
  3696. type: array
  3697. items:
  3698. type: string
  3699. collectionFormat: csv
  3700. country_collection:
  3701. name: country_collection
  3702. in: query
  3703. description: List of countries comma separated
  3704. required: false
  3705. type: array
  3706. items:
  3707. type: string
  3708. collectionFormat: csv
  3709. city_collection:
  3710. name: city_collection
  3711. in: query
  3712. description: List of cities comma separated
  3713. required: false
  3714. type: array
  3715. items:
  3716. type: string
  3717. collectionFormat: csv
  3718. date_from:
  3719. name: date_from
  3720. in: query
  3721. description: 'Start date | Use format: YYYY-MM-DD'
  3722. required: false
  3723. type: string
  3724. date_to:
  3725. name: date_to
  3726. in: query
  3727. description: 'To date | Use format: YYYY-MM-DD'
  3728. required: false
  3729. type: string
  3730. localeCode:
  3731. name: localeCode
  3732. in: path
  3733. description: Locale code
  3734. required: true
  3735. type: string
  3736. securityDefinitions:
  3737. Bearer:
  3738. type: apiKey
  3739. name: Authorization
  3740. in: header
  3741. musement_client_credential_auth:
  3742. type: oauth2
  3743. flow: application
  3744. tokenUrl: /login
  3745. externalDocs:
  3746. description: Find out more about Musement API
  3747. url: 'http://musement.gelato.io'
Add Comment
Please, Sign In to add comment