{"_id":"582c7058e4a4920f00ff005e","user":"56c2ea5f2c90fa17001b8383","__v":0,"parentDoc":null,"project":"56c1e50bce02590d006091c9","category":{"_id":"582c7058e4a4920f00ff004d","__v":0,"version":"582c7058e4a4920f00ff0045","project":"56c1e50bce02590d006091c9","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-02-26T12:33:01.341Z","from_sync":false,"order":6,"slug":"examples","title":"Examples"},"githubsync":"","version":{"_id":"582c7058e4a4920f00ff0045","project":"56c1e50bce02590d006091c9","__v":2,"createdAt":"2016-11-16T14:42:32.468Z","releaseDate":"2016-11-16T14:42:32.468Z","categories":["582c7058e4a4920f00ff0046","582c7058e4a4920f00ff0047","582c7058e4a4920f00ff0048","582c7058e4a4920f00ff0049","582c7058e4a4920f00ff004a","582c7058e4a4920f00ff004b","582c7058e4a4920f00ff004c","582c7058e4a4920f00ff004d","582c7058e4a4920f00ff004e","582c7058e4a4920f00ff004f","582d97124b2536250038b392"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"3.0.0","version":"3.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-02-26T12:41:51.030Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/b83lmgKERZWrPTH7AkEi_10555135.png\",\n        \"10555135.png\",\n        \"622\",\n        \"1198\",\n        \"#cfcfcf\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"Id\\\": \\\"7d44ekq4gew2iaqhgt2cva\\\",\\n  \\\"CustomerOrderId\\\": 10555135,\\n  \\\"Order\\\": {\\n    \\\"NoteToRestaurant\\\": \\\"This is a test order\\\",\\n    \\\"ServiceType\\\": \\\"Delivery\\\",\\n    \\\"PlacedDate\\\": \\\"2015-04-28T11:03:42.7316+00:00\\\",\\n    \\\"DueDate\\\": \\\"2015-04-28T11:50:00+00:00\\\",\\n\\t\\\"DueDateWithUtcOffset\\\": \\\"2015-04-28T11:50:00+01:00\\\",\\n    \\\"InitialDueDate\\\": \\\"2015-04-28T11:50:00+00:00\\\",\\n\\t\\\"InitialDueDateWithUtcOffset\\\": \\\"2015-04-28T11:50:00+01:00\\\",\\n    \\\"PromptAsap\\\": true\\n  },\\n  \\\"RestaurantInfo\\\": {\\n    \\\"Id\\\": \\\"525\\\",\\n    \\\"Name\\\": \\\"Just Pizzas\\\",\\n    \\\"PhoneNumber\\\": \\\"01234567890\\\",\\n    \\\"AddressLines\\\": [\\n      \\\"15 Test Street\\\"\\n    ],\\n    \\\"City\\\": \\\"London\\\",\\n    \\\"Postcode\\\": \\\"EC4M 7rf\\\",\\n    \\\"DispatchMethod\\\": \\\"JEPosV1\\\",\\n    \\\"EmailAddress\\\": \\\"\\\"\\n  },\\n  \\\"PaymentInfo\\\": {\\n    \\\"PaymentLines\\\": [\\n      {\\n        \\\"Type\\\": \\\"Cash\\\",\\n        \\\"CardFee\\\": 0,\\n        \\\"Value\\\": 21.55\\n      }\\n    ],\\n    \\\"Total\\\": 21.55,\\n    \\\"TotalComplementary\\\": 0,\\n    \\\"PaidDate\\\": \\\"2015-04-28T11:04:11.888+00:00\\\",\\n    \\\"CashOnDelivery\\\": true\\n  },\\n  \\\"CustomerInfo\\\": {\\n    \\\"Id\\\": \\\"1957127\\\",\\n    \\\"Email\\\": \\\"new.user:::at:::just-eat.com\\\",\\n    \\\"Name\\\": \\\"Allan\\\",\\n    \\\"Address\\\": \\\"Test Address , Test Line 2, Test LIne 3\\\",\\n    \\\"City\\\": \\\"TestCity\\\",\\n    \\\"Postcode\\\": \\\"SE16 1DD\\\",\\n    \\\"PhoneNumber\\\": \\\"1234567890\\\",\\n    \\\"TimeZone\\\": \\\"GMT Standard Time\\\",\\n    \\\"PreviousRestuarantOrderCount\\\": 0\\n  },\\n  \\\"BasketInfo\\\": {\\n    \\\"BasketId\\\": \\\"lPJqYvUj6kS1kVlzb05Ciw\\\",\\n    \\\"MenuId\\\": 1649,\\n    \\\"Discounts\\\": [\\n      {\\n        \\\"Id\\\": 31410,\\n        \\\"Discount\\\": 20,\\n        \\\"DiscountType\\\": \\\"Percent\\\",\\n        \\\"QualifyingValue\\\": 30\\n      }\\n    ],\\n    \\\"SubTotal\\\": 21.55,\\n    \\\"ToSpend\\\": 0,\\n    \\\"MultiBuyDiscount\\\": 0,\\n    \\\"Discount\\\": 0,\\n    \\\"DeliveryCharge\\\": 0,\\n    \\\"Total\\\": 21.55,\\n    \\\"GroupedBasketItems\\\": [\\n      {\\n        \\\"BasketItem\\\": {\\n          \\\"ProductId\\\": 108715,\\n          \\\"ProductTypeId\\\": 86,\\n          \\\"MenuCardNumber\\\": \\\"63\\\",\\n          \\\"Name\\\": \\\"Party Time\\\",\\n          \\\"Synonym\\\": \\\"\\\",\\n          \\\"UnitPrice\\\": 19.95,\\n          \\\"CombinedPrice\\\": 21.55,\\n          \\\"MealParts\\\": [\\n            {\\n              \\\"MealPartId\\\": 108492,\\n              \\\"GroupId\\\": 1,\\n              \\\"Name\\\": \\\"Margherita\\\",\\n              \\\"Synonym\\\": \\\"12\\\\\\\" Deep Pan\\\",\\n              \\\"OptionalAccessories\\\": [\\n                {\\n                  \\\"OptionalAccessoryId\\\": 41,\\n                  \\\"Quantity\\\": 1,\\n                  \\\"UnitPrice\\\": 0.8,\\n                  \\\"Name\\\": \\\"Black Olives\\\"\\n                },\\n                {\\n                  \\\"OptionalAccessoryId\\\": 55,\\n                  \\\"Quantity\\\": 1,\\n                  \\\"UnitPrice\\\": 0.8,\\n                  \\\"Name\\\": \\\"Anchovies\\\"\\n                }\\n              ],\\n              \\\"RequiredAccessories\\\": []\\n            },\\n            {\\n              \\\"MealPartId\\\": 108492,\\n              \\\"GroupId\\\": 2,\\n              \\\"Name\\\": \\\"Margherita\\\",\\n              \\\"Synonym\\\": \\\"12\\\\\\\" Deep Pan\\\",\\n              \\\"OptionalAccessories\\\": [],\\n              \\\"RequiredAccessories\\\": []\\n            },\\n            {\\n              \\\"MealPartId\\\": 108664,\\n              \\\"GroupId\\\": 3,\\n              \\\"Name\\\": \\\"Garlic Bread with Cheese\\\",\\n              \\\"Synonym\\\": \\\"\\\",\\n              \\\"OptionalAccessories\\\": [],\\n              \\\"RequiredAccessories\\\": []\\n            },\\n            {\\n              \\\"MealPartId\\\": 108664,\\n              \\\"GroupId\\\": 4,\\n              \\\"Name\\\": \\\"Garlic Bread with Cheese\\\",\\n              \\\"Synonym\\\": \\\"\\\",\\n              \\\"OptionalAccessories\\\": [],\\n              \\\"RequiredAccessories\\\": []\\n            },\\n            {\\n              \\\"MealPartId\\\": 3584970,\\n              \\\"GroupId\\\": 5,\\n              \\\"Name\\\": \\\"Dip\\\",\\n              \\\"Synonym\\\": \\\"BBQ\\\",\\n              \\\"OptionalAccessories\\\": [],\\n              \\\"RequiredAccessories\\\": []\\n            },\\n            {\\n              \\\"MealPartId\\\": 3584971,\\n              \\\"GroupId\\\": 6,\\n              \\\"Name\\\": \\\"Dip\\\",\\n              \\\"Synonym\\\": \\\"Chilli\\\",\\n              \\\"OptionalAccessories\\\": [],\\n              \\\"RequiredAccessories\\\": []\\n            },\\n            {\\n              \\\"MealPartId\\\": 108703,\\n              \\\"GroupId\\\": 7,\\n              \\\"Name\\\": \\\"Diet Coca-Cola\\\",\\n              \\\"Synonym\\\": \\\"1.5 L\\\",\\n              \\\"OptionalAccessories\\\": [],\\n              \\\"RequiredAccessories\\\": []\\n            }\\n          ],\\n          \\\"OptionalAccessories\\\": [],\\n          \\\"RequiredAccessories\\\": [],\\n          \\\"Discounts\\\": [],\\n          \\\"MultiBuyDiscounts\\\": []\\n        },\\n        \\\"Quantity\\\": 1,\\n        \\\"CombinedPrice\\\": 21.55,\\n        \\\"OrderSubId\\\": 0,\\n        \\\"MenuCardNumber\\\": null\\n      }\\n    ]\\n  },\\n  \\\"IsAMiniFistPumpOrder\\\": false\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"mealdeal-and-note","type":"basic","title":"MealDeal and Note"}
[block:image] { "images": [ { "image": [ "https://files.readme.io/b83lmgKERZWrPTH7AkEi_10555135.png", "10555135.png", "622", "1198", "#cfcfcf", "" ] } ] } [/block] [block:code] { "codes": [ { "code": "{\n \"Id\": \"7d44ekq4gew2iaqhgt2cva\",\n \"CustomerOrderId\": 10555135,\n \"Order\": {\n \"NoteToRestaurant\": \"This is a test order\",\n \"ServiceType\": \"Delivery\",\n \"PlacedDate\": \"2015-04-28T11:03:42.7316+00:00\",\n \"DueDate\": \"2015-04-28T11:50:00+00:00\",\n\t\"DueDateWithUtcOffset\": \"2015-04-28T11:50:00+01:00\",\n \"InitialDueDate\": \"2015-04-28T11:50:00+00:00\",\n\t\"InitialDueDateWithUtcOffset\": \"2015-04-28T11:50:00+01:00\",\n \"PromptAsap\": true\n },\n \"RestaurantInfo\": {\n \"Id\": \"525\",\n \"Name\": \"Just Pizzas\",\n \"PhoneNumber\": \"01234567890\",\n \"AddressLines\": [\n \"15 Test Street\"\n ],\n \"City\": \"London\",\n \"Postcode\": \"EC4M 7rf\",\n \"DispatchMethod\": \"JEPosV1\",\n \"EmailAddress\": \"\"\n },\n \"PaymentInfo\": {\n \"PaymentLines\": [\n {\n \"Type\": \"Cash\",\n \"CardFee\": 0,\n \"Value\": 21.55\n }\n ],\n \"Total\": 21.55,\n \"TotalComplementary\": 0,\n \"PaidDate\": \"2015-04-28T11:04:11.888+00:00\",\n \"CashOnDelivery\": true\n },\n \"CustomerInfo\": {\n \"Id\": \"1957127\",\n \"Email\": \"new.user@just-eat.com\",\n \"Name\": \"Allan\",\n \"Address\": \"Test Address , Test Line 2, Test LIne 3\",\n \"City\": \"TestCity\",\n \"Postcode\": \"SE16 1DD\",\n \"PhoneNumber\": \"1234567890\",\n \"TimeZone\": \"GMT Standard Time\",\n \"PreviousRestuarantOrderCount\": 0\n },\n \"BasketInfo\": {\n \"BasketId\": \"lPJqYvUj6kS1kVlzb05Ciw\",\n \"MenuId\": 1649,\n \"Discounts\": [\n {\n \"Id\": 31410,\n \"Discount\": 20,\n \"DiscountType\": \"Percent\",\n \"QualifyingValue\": 30\n }\n ],\n \"SubTotal\": 21.55,\n \"ToSpend\": 0,\n \"MultiBuyDiscount\": 0,\n \"Discount\": 0,\n \"DeliveryCharge\": 0,\n \"Total\": 21.55,\n \"GroupedBasketItems\": [\n {\n \"BasketItem\": {\n \"ProductId\": 108715,\n \"ProductTypeId\": 86,\n \"MenuCardNumber\": \"63\",\n \"Name\": \"Party Time\",\n \"Synonym\": \"\",\n \"UnitPrice\": 19.95,\n \"CombinedPrice\": 21.55,\n \"MealParts\": [\n {\n \"MealPartId\": 108492,\n \"GroupId\": 1,\n \"Name\": \"Margherita\",\n \"Synonym\": \"12\\\" Deep Pan\",\n \"OptionalAccessories\": [\n {\n \"OptionalAccessoryId\": 41,\n \"Quantity\": 1,\n \"UnitPrice\": 0.8,\n \"Name\": \"Black Olives\"\n },\n {\n \"OptionalAccessoryId\": 55,\n \"Quantity\": 1,\n \"UnitPrice\": 0.8,\n \"Name\": \"Anchovies\"\n }\n ],\n \"RequiredAccessories\": []\n },\n {\n \"MealPartId\": 108492,\n \"GroupId\": 2,\n \"Name\": \"Margherita\",\n \"Synonym\": \"12\\\" Deep Pan\",\n \"OptionalAccessories\": [],\n \"RequiredAccessories\": []\n },\n {\n \"MealPartId\": 108664,\n \"GroupId\": 3,\n \"Name\": \"Garlic Bread with Cheese\",\n \"Synonym\": \"\",\n \"OptionalAccessories\": [],\n \"RequiredAccessories\": []\n },\n {\n \"MealPartId\": 108664,\n \"GroupId\": 4,\n \"Name\": \"Garlic Bread with Cheese\",\n \"Synonym\": \"\",\n \"OptionalAccessories\": [],\n \"RequiredAccessories\": []\n },\n {\n \"MealPartId\": 3584970,\n \"GroupId\": 5,\n \"Name\": \"Dip\",\n \"Synonym\": \"BBQ\",\n \"OptionalAccessories\": [],\n \"RequiredAccessories\": []\n },\n {\n \"MealPartId\": 3584971,\n \"GroupId\": 6,\n \"Name\": \"Dip\",\n \"Synonym\": \"Chilli\",\n \"OptionalAccessories\": [],\n \"RequiredAccessories\": []\n },\n {\n \"MealPartId\": 108703,\n \"GroupId\": 7,\n \"Name\": \"Diet Coca-Cola\",\n \"Synonym\": \"1.5 L\",\n \"OptionalAccessories\": [],\n \"RequiredAccessories\": []\n }\n ],\n \"OptionalAccessories\": [],\n \"RequiredAccessories\": [],\n \"Discounts\": [],\n \"MultiBuyDiscounts\": []\n },\n \"Quantity\": 1,\n \"CombinedPrice\": 21.55,\n \"OrderSubId\": 0,\n \"MenuCardNumber\": null\n }\n ]\n },\n \"IsAMiniFistPumpOrder\": false\n}", "language": "json" } ] } [/block]