Discussions

Ask a Question

Generated client for java from Open API spec cannot be compiled

Hello! I try to bootstrap java client for Musement API using this command: ``` openapi-generator generate -i https://www.musement.com/swagger_3.4.0.json?2 -g java -o musement_cli ``` And get this error ``` [main] WARN o.o.codegen.utils.ModelUtils - [deprecated] inheritance without use of 'discriminator.propertyName' is deprecated and will be removed in a future release. Generating model for null ... | Error count: 1, Warning count: 52 Errors: -attribute paths.'/venues/{venueId}/comments'(get).parameters.[sort_by].schemas.default is not of type `array` Warnings: -attribute paths.'/venues/{venueId}/comments'(get).parameters.[sort_by].schemas.default is not of type `array` at org.openapitools.codegen.config.CodegenConfigurator.toContext(CodegenConfigurator.java:471) at org.openapitools.codegen.config.CodegenConfigurator.toClientOptInput(CodegenConfigurator.java:498) at org.openapitools.codegen.cmd.Generate.run(Generate.java:415) at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:61) ``` It can be generating with skipping validation flag, but then it cannot be compiled, because it complains about "cannot find symbol", here is part of stacktrace ``` [ERROR] /Users/ngolub/workspace/musement_cli/src/main/java/org/openapitools/client/model/MusementListGenericItem.java:[27,37] cannot find symbol [ERROR] symbol: class MusementList [ERROR] location: package org.openapitools.client.model ... [ERROR] /Users/ngolub/workspace/musement_cli/src/main/java/org/openapitools/client/model/PostTimeslotProduct.java:[59,31] incompatible types: double cannot be converted to java.math.BigDecimal ``` Definitions it cannot find: * MusementList * OneOfarrayWidgetCollection There are a lot of different errors, but these I think most important. Can you please check if swagger file is generated properly, so it can be used for generating client. Thank you in advance!
ANSWERED

City ID list and Country ID list

Hi, I was testing the Musement API, City Id list and Country Id list is not provided in the documentation. Please, can you send me the link to the following data?
ANSWERED

Time codes

Hi In various responses there are codes to indicate times (duration, validity, cutoff_time, max_confirmation_time) . eg PT3H, PT1H30M, P0D I realise that the time code is ISO8601 but the meaning of these codes is not obvious in some cases. When P0D appears in duration, (zero seconds), I found the sandbox Musement site displays "Flexible" as the duration to users I have seen P0D in cutoff_time and max_confirmation_time too but some clarification of the meaning in these fields. It might be useful to mention that ISO 8601 is being used in the guides section of the documentation. Can you also explain cutoff_time and max_confirmation_time? Just guessing, does cutoff_time indicate how many days ahead the activity can be booked (ie P1D is one day ahead). With respect to max_confirmation_time, is this the amount of time before the date of the service that the activity must be confirmed with the supplier? What does these mean when the time code is P0D? I think it would be very useful if the guides also mentioned the meaning of these time codes, and that ISO 8601 is the format and the purpose of fields such as cutoff_time, validity and max_confirmation_time Many thanks
ANSWERED

City and country endpoint

There seems to an issue with the `v3/cities` endpoint and `v3/countries/nnnn/cities endpoint`. It is possible this issue is simply because we're using the test api? In our database, we need to maintain an up-to-date, simple list of Musement cities (in each language). This is so the Musement city id can be mapped to the appropriate record in our geographical structure. Otherwise, Musement products in that city will never appear on our destination pages! When I tried to make a booking for the test product "Skip-the-line tickets for the Uffizi Gallery", I discovered that Florence (CityID:3) was not loaded onto my test system. I checked our "city list build" function for errors and captured the API responses. In order to build a list of cities, we call `v3/cities` in a loop with limit=100, until an error response is returned. (API response is limited to 100 records) v3/cities?offset=0&limit=100&without_events=yes v3/cities?offset=100&limit=100&without_events=yes v3/cities?offset=200&limit=100&without_events=yes ..... I have attached file mm_citylist-(cities-endpoint).csv that contains a list of all cities returned by the /cities endpoint (in English). I've also included cities-endpoint-responses.rar that contains all the API responses v3/cities. Florence is not included in the results using the above method when "without_events=yes" is not used. As an experiment, I re-coded our city list build function so it pulls a list of countries from the API, then pulls the cities within each country in batches of 100 (due to API response record limit). `v3/countries` - to pull list of Musement country ids -- Start loop with first countryid in response v3/countries/1/cities?offset=0&limit=100 v3/countries/1/cities?offset=100&limit=100 (error response so next country) v3/countries/2/cities?offset=0&limit=100 v3/countries/2/cities?offset=100&limit=100 (error response so next country) v3/countries/3/cities?offset=0&limit=100 v3/countries/3/cities?offset=100&limit=100 v3/countries/3/cities?offset=200&limit=100 (error response so next country) ...... When the responses from these API calls are collated, CityID:3 (Florence) is included. However, the quantity of cities returned by the `v3/countries/nnnnn/cities` call is much lower than the quantity of cities returned by the `v3/cities` call. v3/countries/nnnnn/cities (949 cities returned) v3/cities(1307 cities returned) I have attached a file mm_citylist-(countries-cities-endpoint).csv that contains all cities returned by the `/countries/nnnn/cities` endpoint. For now, what is the best strategy to obtain a complete cities list in each language? To build a mapping table, I only need a few fields: * City Id * City name (in each language) * Country (iso2) * Latitude (helpful but not essential) * Longitude (helpful but not essential) * Timezone (helpful but not essential) Perhaps the developers could consider adding a `/cities-simple` endpoint that returns the basic city information of all city records using just one call?
ANSWERED

Respond data didn't match with swagger schema in V3.4.0

Schema: "group_size": { "type": "array", "items": { "type": "string" } }, Data: "uuid": "bdd368ec-7654-4fb6-b97e-bb4f4c89d1a3", "group_size": [ { "code": "group", "name": "Group tour" } ],
ANSWERED

testing api keys

Hello, I'm Daniel Higa working at Etips. I only have production keys. Please send (by email) a test api key for payment flow. Thank you

1442 error when adding child tickets to cart (TUI products)

Hi Using the production API, an error is returned when a child ticket is added to the cart. I have seen this on several products, so far, it seems to occur only with TUI products. I tried the same product on the Musement website and it adds to cart correctly. Maybe you could provide some insight into why this is happening since it works correctly on the Musement site. I am wondering if there is an issue with the sequence of API calls or whether we need to update to v3.5? Here is an example Sioux City - Gran Canaria - no transfer - entrance with food option https://www.musement.com/uk/gran-canaria/sioux-city-1-122744/ The following header is sent for all API calls Cache-Control: no-cache Content-Type: application\/json Accept: application\/json Authorization: Bearer ******************** X-Musement-Version: 3.4.0 X-Musement-Currency: EUR Accept-Language: en-GB X-Musement-Market: uk,us First, we get availability for a specified date. https://api.musement.com/api/v3/activities/46874845-ffd7-44f1-a3b0-29846562fe2d/dates/2019-06-08 RS [{ "groups": [{ "feature_code": "sioux-city-entrance-food", "name": "Sioux City Entrance + Food", "default": false, "type": "TIME-BASED", "slots": [{ "time": "00:00", "languages": [], "products": [{ "service_fee": { "currency": "EUR", "value": 0, "formatted_value": "\u20ac 0.00" }, "holder_code": "adult-99", "name": "Adult-99 (13-99)", "type": "musement-realtime", "default": false, "product_id": "vdl58dglKlkL9x1QiIkrchTNBGCWBY1TRxCJ2biaRDWKfVeJoLvGxxx7qBg8u+AsdmDFncrFa93aLZgYPtLqVCGHNlYpcG5q8Rp1UFLsPe0rmShJQZ5QLPDMSJSBi\/OuDY\/SgkFqbYKJ0S57nm69ETCl6lUpv4t9\/P6U7iRgMYTattL+lDCX8ZPOAT96\/vSOQWwb4OX081X1yCyvDvtvbqHeMzndC8gE5JSrYQuTFyiloYIU61m3msB6dsSRMpPWajVap4UJP3HsqOZMLTYNIMIgTTOun82PZcwlvbpME5LDngbqCMqlbI35+G8g3c8Oi+PNHVhnWfwYoAe7ifZYx88YA\/Tpxcc1Imk1to+P0Er8qwAYzFb5gbadjQUPSBHqjqnonj+K\/SBRmq7sQ7\/UpA7jYocyjJPpjNHcJlQALjQ9pjIC8OU8vWhlMsQbdPb0R\/7MzMOYVT4uel2lhWldNa63e1bTZ1x2HfVS9CM8ywMqAC0XLFOrejtHiuvCr19AnM4inQwdnAFOjv8t1vlRMKCqRRNuu2c7za0933m2qdOelS8EIlOfbiVxLvSUq4WvcQ4fzQgPojoqmxE5IiU4vpc35jh7yPzNPg5AErIgXHVzaSvIV37sUdo7Wmsu6IOH8HeBFp4HAx21gjTJGRzrsVKgOn7mqZc9MsfCBlvEuAswJPeTipV21DViiXCbDXALdZw=", "min_buy": 1, "max_buy": 99, "original_retail_price": { "currency": "EUR", "value": 58.55, "formatted_value": "\u20ac 58.55" }, "original_retail_price_without_service_fee": { "currency": "EUR", "value": 58.55, "formatted_value": "\u20ac 58.55" }, "discount_amount": { "currency": "EUR", "value": 0, "formatted_value": "\u20ac 0.00" }, "retail_price": { "currency": "EUR", "value": 58.55, "formatted_value": "\u20ac 58.55" }, "retail_price_without_service_fee": { "currency": "EUR", "value": 58.55, "formatted_value": "\u20ac 58.55" }, "merchant_price": { "currency": "EUR", "value": 51.99, "formatted_value": "\u20ac 51.99" } }, { "service_fee": { "currency": "EUR", "value": 0, "formatted_value": "\u20ac 0.00" }, "holder_code": "child-12", "name": "Child (12) (3-12)", "type": "musement-realtime", "default": false, "product_id": "avA6lyU8di6PV19VigzirxYuBHVuiwHfujddZLex9PNxJmrjxLV4yL2hvLfF3FtjF2IREdgyD9ckwuj0iOpzbVlGSYADLordw+lsiWXMov5Ohio7LdruXV5kt1VJs7x5EyIbpKs2E2j8yxbk70PcOdBSwNkXWXkDYZ\/RTk1HpMMikcqH+WLKH4g0N9BwxE7daUFPNSF9d+vXusA82CTXhU2rOqSZxm1z5TGtV1hFq0U06sm6MXBZndBMf+xzrAgYWmDLeUoZbzMfey1\/Xi+FNRc254lkMRAYd7V48VPpGnEnYVRl6ZSdvsEbkEOwGBTZyhHON5hC0tx4xBrJffit+W0O\/2k42Q2WL+FHSCjBuPjEhJMeBEhzVNhJUGNgW94BLjNQPnG8aVAiP43Pne59BUmPu8laSCfuKzD\/nHgh8ND0c58tc7IBqPqhLzNgxsoI9pB2d2u0XPkGQYoeGV6Go59Nf4IX9AzNy+Cdr8DNVLBMTtqpUDxCIlaLQvyG00LSnfDtkz032LDJcqGUUw23mm81kYchPUhZUy4KQWo06EsH8y+UHxm4ax1JnGVxNk8eR4KYEAKkewpbA+p9ChE5XnEoaDozfCy64co29wVYfOYCEExT62+bepUhylHoNk0THmtE45Wz7\/+KybDdCdJXIDP8miZXoaqayH\/s19RZKcvfIPzAqwamKqg8gbZ9el86mQ==", "min_buy": 1, "max_buy": 99, "original_retail_price": { "currency": "EUR", "value": 26.75, "formatted_value": "\u20ac 26.75" }, "original_retail_price_without_service_fee": { "currency": "EUR", "value": 26.75, "formatted_value": "\u20ac 26.75" }, "discount_amount": { "currency": "EUR", "value": 0, "formatted_value": "\u20ac 0.00" }, "retail_price": { "currency": "EUR", "value": 26.75, "formatted_value": "\u20ac 26.75" }, "retail_price_without_service_fee": { "currency": "EUR", "value": 26.75, "formatted_value": "\u20ac 26.75" }, "merchant_price": { "currency": "EUR", "value": 23.75, "formatted_value": "\u20ac 23.75" } }, { "service_fee": { "currency": "EUR", "value": 0, "formatted_value": "\u20ac 0.00" }, "holder_code": "child-2", "name": "Child-2 (0-2)", "type": "musement-realtime", "default": false, "product_id": "Tzk2V4wEu6HQisVV5GxtkRkuBZSOH62w8nQ+vDoMkvp2dzt4m3Kd2puvMH\/xbCNlddahzMdpGWnduz5vFr1PMXA5TJYerVqCMv6ujTNoD1v\/uIfqU2kT7W6jIHWfYDszo768ZDBlja03HJvVVUaep9TzJox6oeXQoy6xgsQFjwySrczGc9qhdmtQOMYHJ\/1MltwVZqMkQ4a4PXuzx+3i2C1EkJRq9FLrc1Ev+yFUsasGI6BYvpOICCVtB+ISnSdLR1RP5WAO4Vl9nl2fD3Ptx\/Os9WMNfJKIuSD9iH7o+9R\/M+mA57JmLfkjT7gGsTfqrAqweR4VvVk\/mEh7XWtPV2pJgmxZzO\/7Sk83mtQrFaQWMDdLp3QzTdUvOojDJAqaZVOQP8CBlm0lVUWJz2tAz6QAcz46Ye6gvo6p9zck3myfgQkcuipuTDBrsvOJqWMVsoB1fYK5mmEK388xc8s4VkWzQ3eH35eUk2Rj4hPwFcwC\/26YCcNIijOcs6J015YUg2I0cvYHS\/ovJgxMY00mym1V+PyWQ1pdzpKO6WqSGQTNQR\/RDd\/9qwAl+Shqy\/HSGn5djN62uIL+IAdlia2lKAeAnxauAZEZW3+cbAvhBJ7y5yrhw\/qTq7e3VaLyoM83oW7CiaPWBghTr48psbVF5\/R74RV79nu3oPHo+3\/Ja5ZyZTVw9uiYbLjtKBx2vhwjlQ==", "min_buy": 1, "max_buy": 99, "original_retail_price": { "currency": "EUR", "value": 0, "formatted_value": "\u20ac 0.00" }, "original_retail_price_without_service_fee": { "currency": "EUR", "value": 0, "formatted_value": "\u20ac 0.00" }, "discount_amount": { "currency": "EUR", "value": 0, "formatted_value": "\u20ac 0.00" }, "retail_price": { "currency": "EUR", "value": 0, "formatted_value": "\u20ac 0.00" }, "retail_price_without_service_fee": { "currency": "EUR", "value": 0, "formatted_value": "\u20ac 0.00" }, "merchant_price": { "currency": "EUR", "value": 0, "formatted_value": "\u20ac 0.00" } }], "tags": [] }] }, { "feature_code": "sioux-city-entrance-only", "name": "Sioux City Entrance Only", "default": false, "type": "TIME-BASED", "slots": [{ "time": "00:00", "languages": [], "products": [{ "service_fee": { "currency": "EUR", "value": 0, "formatted_value": "\u20ac 0.00" }, "holder_code": "adult-99", "name": "Adult-99 (13-99)", "type": "musement-realtime", "default": false, "product_id": "u1Dk5qkH2uiJzscLN\/KLoxWiBGoGIZ1eh7e4KSdr7YtM9YCekLZdMZcOrY1MazvWQ7FsVqdfJo\/hEqeWnFaspZHLf1qR6pIYOItXzkfE3T5mF2szHQ7r9khGkY\/MSBsJLYdFiikuzHpxeCzQT2wLtbZ42k7x5pHUU8boNblUs45iBGFTfi\/259SBdup747MahqiksZ1DMb61crYWdrSh0PctG+fFBa6zZXnWJSuNVsE2OzlCxAiyK1H1U6thOug4qFgzGwnyO5EqPMgO7tFQY7XM++Twiql1OSRPoIJz0xnB8e3Ok0koXZF3F8vaIOnpW\/SMspqYdgTjbgCpU4c5iRah\/v79nK\/64EEiOBsX13NeGa76W+PVNEyJhABA7GMYZvbtuWKZRY4\/+F7z5\/kmFMj0VtO9+bVpnA4fDGnuYndtKoS2\/CugCrElf1QdXrsxvhNq2fJPoO8DooamNqWD9wZ9ul7soYaUDEyKL6IwZnf3O1MaCr59TnX5x+4ajl2V0ltozIFfpdJu3b15b21eoaoQ+gL4\/yZe0nFRT5xObp9+ClDOUUSPgkWS\/KrQP2uLGVk6kCrG4Y3hJ\/ovFtSVvF4DDuZmgRLLvirwxS5vXa+ZXdmdDjTcQwmlqOHk7BPMdUD9OtkTyzR7qFbwsRAhen0jGkNSqu2jU8tar65YgWjyZUhkY1a5LsDtT1jzKXncVvo=", "min_buy": 1, "max_buy": 99, "original_retail_price": { "currency": "EUR", "value": 21.9, "formatted_value": "\u20ac 21.90" }, "original_retail_price_without_service_fee": { "currency": "EUR", "value": 21.9, "formatted_value": "\u20ac 21.90" }, "discount_amount": { "currency": "EUR", "value": 0, "formatted_value": "\u20ac 0.00" }, "retail_price": { "currency": "EUR", "value": 21.9, "formatted_value": "\u20ac 21.90" }, "retail_price_without_service_fee": { "currency": "EUR", "value": 21.9, "formatted_value": "\u20ac 21.90" }, "merchant_price": { "currency": "EUR", "value": 19.45, "formatted_value": "\u20ac 19.45" } }, { "service_fee": { "currency": "EUR", "value": 0, "formatted_value": "\u20ac 0.00" }, "holder_code": "child-12", "name": "Child (12) (3-12)", "type": "musement-realtime", "default": false, "product_id": "v5DsPVvtQthkpMsNZHqWeRPrBA258OopyEREitjpfxdly9M3TFiPtZTo3ifP616HgXU0c7VAMYEHcNJ\/ZWg+Wu8P0pQnGEQw71AbpWTlZhfR3PnvzVIAqEzW2WqILHlqBMrN71yOU2JFEfPeeDvY4C7p6UNPnj8sxe5z\/QtHYtyBjoDD\/cADErnix5DJ+XEFHsNw12RXXoOdEdRj9PNeaqMX5Ntca9onjnA7J289XbZ+bcDCD4O4ikGoX0+HOoUv9K2BQBBdM8XxV9FbBUXRwyDxYDDntRGz3mz+vDJObY9ArQwr+8Q0y20h1tXD4ZrwcEvV6nakUAR5ZSxMWtJUh4+h67fvA6lwpcWtzMoIzbF96cTuzHo5aw9EAdXPIMy6hUmhIb2xsGv7f7vKskI2mWwl9Uof2gMU2hrl0X\/LuEcEt3ALuwqPb5Jr96avHQU4RfCue9PhlOhfdL18GNBhoADVszZw3+j4e+pZytlAMWQWYAtEE5Bf6tY5Yfyn7DIFuOW8Qq5A7+qE8f868TaK1Q112wJQ5mPV1Y\/aPB3biAnmrNkELPlxs4NnB4CjkBCHf8PofqPQ1UVdktkI38AncOF\/+fowoyHsPWYmrhkf+WfziWhbu7289zwohSNXHDa1D0TM56vAhiAdNT2z1E5q6uPdd2SWMsVBlb5xAwn\/YU5+cibsqvxSjz3heflEBIyrdg==", "min_buy": 1, "max_buy": 99, "original_retail_price": { "currency": "EUR", "value": 15.9, "formatted_value": "\u20ac 15.90" }, "original_retail_price_without_service_fee": { "currency": "EUR", "value": 15.9, "formatted_value": "\u20ac 15.90" }, "discount_amount": { "currency": "EUR", "value": 0, "formatted_value": "\u20ac 0.00" }, "retail_price": { "currency": "EUR", "value": 15.9, "formatted_value": "\u20ac 15.90" }, "retail_price_without_service_fee": { "currency": "EUR", "value": 15.9, "formatted_value": "\u20ac 15.90" }, "merchant_price": { "currency": "EUR", "value": 14.12, "formatted_value": "\u20ac 14.12" } }, { "service_fee": { "currency": "EUR", "value": 0, "formatted_value": "\u20ac 0.00" }, "holder_code": "child-2", "name": "Child-2 (0-2)", "type": "musement-realtime", "default": false, "product_id": "lCh33ZEiRt5zx59MZxfktRa4BSfJVOmUksqm70Hk59Fn8Vt1nVdwsRnZEAzGOJKO8hROvo4Ewjeu23LFUQmdELktcUaGG1G+UV\/jCj+0gXbCVcpIgm+e0qyFIcM9GQyzpd84+V3ZHOLatFEpxoCPLAT4pa7qqlfbn4icq+XSJC10dvZg0B7c3PY3U0u+HV7bUMQhWfvr8qew2oDc1hCj1Q9KI20uQJiutasKNAshE0R0u5z7EVFY3i5BzTYsySC\/TLDRJjy30LJ9aNOsjWzWCrQOoJUAwcOBH6AcbjMUBYGMDYjg3TjHPCySRmY4UKL\/MYsLtbZ2qU6MSkJg7eLt7xhjEUAfe8aqUq4v7\/1ME1SDroJeVJOpxBVVYrjJyGnl4ECW3rlhZLCgHogxKSI9aVVDsCn4s9wDuh+UcqI9BN72LQX9W\/c\/nss8kofF5VvAb0UU49DUA3gOldzyrWh3QWz5FYIl7fVumbEXmmXLK0kiZiq5rf5mytRCNHuARfBzD4CH1Yai0G2aZpEcnYxU\/Qj4drB4sbh4SAwzJ0cOVvQjpmFIkkDxmcpLtKcQjJk\/ZTZeROHOwIbKMt4DeRZJEQkfxeeH+5mgarikJHLaC9KPxl\/aLFqqS5x+BkhgrJyoLmmSquWY5+jO5mMzAjcvCDCVxtj\/amIsS5l3sqGSzUxiHXmqNZw6yTct+jYzEuCJMQ==", "min_buy": 1, "max_buy": 99, "original_retail_price": { "currency": "EUR", "value": 0, "formatted_value": "\u20ac 0.00" }, "original_retail_price_without_service_fee": { "currency": "EUR", "value": 0, "formatted_value": "\u20ac 0.00" }, "discount_amount": { "currency": "EUR", "value": 0, "formatted_value": "\u20ac 0.00" }, "retail_price": { "currency": "EUR", "value": 0, "formatted_value": "\u20ac 0.00" }, "retail_price_without_service_fee": { "currency": "EUR", "value": 0, "formatted_value": "\u20ac 0.00" }, "merchant_price": { "currency": "EUR", "value": 0, "formatted_value": "\u20ac 0.00" } }], "tags": [] }] }] }] We choose the option with food and attempt to book 2 adults and 1 child (3-12) So product ids required are: adult: vdl58dglKlkL9x1QiIkrchTNBGCWBY1TRxCJ2biaRDWK.... child (3-12): avA6lyU8di6PV19VigzirxYuB..... Next, we create a cart. In this example, cart uuid is dbcf0b97-6fc5-4e13-acce-ec8d7d32b6ba We add the adults to the card https://api.musement.com/api/v3/carts/dbcf0b97-6fc5-4e13-acce-ec8d7d32b6ba/items RQ { "type": "musement-realtime", "product_identifier": "vdl58dglKlkL9x1QiIkrchTNBGCWBY1TRxCJ2biaRDWKfVeJoLvGxxx7qBg8u+AsdmDFncrFa93aLZgYPtLqVCGHNlYpcG5q8Rp1UFLsPe0rmShJQZ5QLPDMSJSBi\/OuDY\/SgkFqbYKJ0S57nm69ETCl6lUpv4t9\/P6U7iRgMYTattL+lDCX8ZPOAT96\/vSOQWwb4OX081X1yCyvDvtvbqHeMzndC8gE5JSrYQuTFyiloYIU61m3msB6dsSRMpPWajVap4UJP3HsqOZMLTYNIMIgTTOun82PZcwlvbpME5LDngbqCMqlbI35+G8g3c8Oi+PNHVhnWfwYoAe7ifZYx88YA\/Tpxcc1Imk1to+P0Er8qwAYzFb5gbadjQUPSBHqjqnonj+K\/SBRmq7sQ7\/UpA7jYocyjJPpjNHcJlQALjQ9pjIC8OU8vWhlMsQbdPb0R\/7MzMOYVT4uel2lhWldNa63e1bTZ1x2HfVS9CM8ywMqAC0XLFOrejtHiuvCr19AnM4inQwdnAFOjv8t1vlRMKCqRRNuu2c7za0933m2qdOelS8EIlOfbiVxLvSUq4WvcQ4fzQgPojoqmxE5IiU4vpc35jh7yPzNPg5AErIgXHVzaSvIV37sUdo7Wmsu6IOH8HeBFp4HAx21gjTJGRzrsVKgOn7mqZc9MsfCBlvEuAswJPeTipV21DViiXCbDXALdZw=", "quantity": 2 } RS { "uuid": "8519f5c2-e6ba-4282-a3f7-886c4d45b548", "status": "PREBOOK_OK", "quantity": 2, "total_price": { "currency": "EUR", "value": 117.1, "formatted_value": "\u20ac 117.10" }, "total_price_without_service_fee": { "currency": "EUR", "value": 117.1, "formatted_value": "\u20ac 117.10" }, "product": { "type": "musement", "max_confirmation_time": "P0D", "price_tag": { "price_feature": "Sioux City Entrance + Food", "ticket_holder": "Adult-99 (13-99)", "price_feature_code": "sioux-city-entrance-food", "ticket_holder_code": "adult-99" }, "date": "2019-06-08 00:00", "id": "3045072573", "title": "Sioux City", "activity_uuid": "46874845-ffd7-44f1-a3b0-29846562fe2d", "api_url": "https:\/\/api.musement.com\/api\/v3\/activities\/46874845-ffd7-44f1-a3b0-29846562fe2d", "url": "https:\/\/www.musement.com\/uk\/gran-canaria\/sioux-city-1-122744\/", "cover_image_url": "https:\/\/images.musement.com\/cover\/0005\/41\/thumb_440407_cover_header.jpeg", "original_retail_price": { "currency": "EUR", "value": 58.55, "formatted_value": "\u20ac 58.55" }, "original_retail_price_without_service_fee": { "currency": "EUR", "value": 58.55, "formatted_value": "\u20ac 58.55" }, "retail_price": { "currency": "EUR", "value": 58.55, "formatted_value": "\u20ac 58.55" }, "retail_price_without_service_fee": { "currency": "EUR", "value": 58.55, "formatted_value": "\u20ac 58.55" }, "discount_amount": { "currency": "EUR", "value": 0, "formatted_value": "\u20ac 0.00" }, "service_fee": { "currency": "EUR", "value": 0, "formatted_value": "\u20ac 0.00" } } } This is successful, so we request the partipant schema https://api.musement.com/api/v3/carts/dbcf0b97-6fc5-4e13-acce-ec8d7d32b6ba/items/8519f5c2-e6ba-4282-a3f7-886c4d45b548/participants/schema RS { "title": "cart_item_participants_info", "type": "object", "properties": [] } Now we try to add child ticket to cart and obtain the error message https://api.musement.com/api/v3/carts/dbcf0b97-6fc5-4e13-acce-ec8d7d32b6ba/items RQ { "type": "musement-realtime", "product_identifier": "avA6lyU8di6PV19VigzirxYuBHVuiwHfujddZLex9PNxJmrjxLV4yL2hvLfF3FtjF2IREdgyD9ckwuj0iOpzbVlGSYADLordw+lsiWXMov5Ohio7LdruXV5kt1VJs7x5EyIbpKs2E2j8yxbk70PcOdBSwNkXWXkDYZ\/RTk1HpMMikcqH+WLKH4g0N9BwxE7daUFPNSF9d+vXusA82CTXhU2rOqSZxm1z5TGtV1hFq0U06sm6MXBZndBMf+xzrAgYWmDLeUoZbzMfey1\/Xi+FNRc254lkMRAYd7V48VPpGnEnYVRl6ZSdvsEbkEOwGBTZyhHON5hC0tx4xBrJffit+W0O\/2k42Q2WL+FHSCjBuPjEhJMeBEhzVNhJUGNgW94BLjNQPnG8aVAiP43Pne59BUmPu8laSCfuKzD\/nHgh8ND0c58tc7IBqPqhLzNgxsoI9pB2d2u0XPkGQYoeGV6Go59Nf4IX9AzNy+Cdr8DNVLBMTtqpUDxCIlaLQvyG00LSnfDtkz032LDJcqGUUw23mm81kYchPUhZUy4KQWo06EsH8y+UHxm4ax1JnGVxNk8eR4KYEAKkewpbA+p9ChE5XnEoaDozfCy64co29wVYfOYCEExT62+bepUhylHoNk0THmtE45Wz7\/+KybDdCdJXIDP8miZXoaqayH\/s19RZKcvfIPzAqwamKqg8gbZ9el86mQ==", "quantity": 1 } RS { "code": "1442", "message": "Failed to add product to Cart.Array\n(\n [type] => musement-realtime\n [product_identifier] => avA6lyU8di6PV19VigzirxYuBHVuiwHfujddZLex9PNxJmrjxLV4yL2hvLfF3FtjF2IREdgyD9ckwuj0iOpzbVlGSYADLordw+lsiWXMov5Ohio7LdruXV5kt1VJs7x5EyIbpKs2E2j8yxbk70PcOdBSwNkXWXkDYZ\/RTk1HpMMikcqH+WLKH4g0N9BwxE7daUFPNSF9d+vXusA82CTXhU2rOqSZxm1z5TGtV1hFq0U06sm6MXBZndBMf+xzrAgYWmDLeUoZbzMfey1\/Xi+FNRc254lkMRAYd7V48VPpGnEnYVRl6ZSdvsEbkEOwGBTZyhHON5hC0tx4xBrJffit+W0O\/2k42Q2WL+FHSCjBuPjEhJMeBEhzVNhJUGNgW94BLjNQPnG8aVAiP43Pne59BUmPu8laSCfuKzD\/nHgh8ND0c58tc7IBqPqhLzNgxsoI9pB2d2u0XPkGQYoeGV6Go59Nf4IX9AzNy+Cdr8DNVLBMTtqpUDxCIlaLQvyG00LSnfDtkz032LDJcqGUUw23mm81kYchPUhZUy4KQWo06EsH8y+UHxm4ax1JnGVxNk8eR4KYEAKkewpbA+p9ChE5XnEoaDozfCy64co29wVYfOYCEExT62+bepUhylHoNk0THmtE45Wz7\/+KybDdCdJXIDP8miZXoaqayH\/s19RZKcvfIPzAqwamKqg8gbZ9el86mQ==\n [quantity] => 1\n)\n, Cart UUID:dbcf0b97-6fc5-4e13-acce-ec8d7d32b6ba" }
ANSWERED

422 Unprocessable Entity during order confirmation

Hi I encounter this issue when I trying to confirm an order by executing POST no payment endpoint : POST /api/v3/payments/no/payment HTTP/1.1 Host: sandbox.musement.com Authorization: ********** Cache-Control: no-cache Content-Type: application/json cache-control: no-cache { "uuid" : "dcb655c0-f3ac-4c85-a827-26d2f1f670af" } here the associate response with status 422 Unprocessable Entity and body message : { "code": "2201", "message": "Order cannot be processed using no payment strategy. Order value must be zero." } Best regards
ANSWERED

422 Unprocessable Entity during order confirmation

Hi I encounter always this issue message when I try to confirm a booked order by executing the no payment endpoint in the staging environment : { "code": "2201", "message": "Order cannot be processed using no payment strategy. Order value must be zero." } you can here take a look at the followed workflow "https://gist.github.com/ElyesMejri/88e848020339c5fbd360521679184e06" that I tested. any information on how to deal with it or what should I change? Best Regards
ANSWERED

check availibility return error 500

request GET https://sandbox.musement.com/api/v3/activities/15b7454e-2046-11e7-9cc9-06a7e332783f/dates/2019-05-31 response { "code": "0", "message": "Error in the Auth API call Server error: `GET http://tv.intern.edv-winter.de/webservice/index/get-session/username/[email protected]/password/web5!test?useLanguage=en` resulted in a `500 Internal Server Error` response: " }