POST ticket/order/startPay/{appId}/{auth}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
appId

integer

Required

auth

string

Required

Body Parameters

StartOrderPayRequest
NameDescriptionTypeAdditional information
orderId

unsigned integer

None.

order

Order

None.

Request Formats

application/json, text/json

Sample:
{
  "orderId": 1,
  "order": {
    "name": "sample string 1",
    "email": "sample string 2",
    "phone": "sample string 3",
    "table": "sample string 4",
    "checkBooking": true,
    "products": [
      {
        "productId": 1,
        "quantity": 2,
        "selectedToppings": [
          1,
          2
        ]
      },
      {
        "productId": 1,
        "quantity": 2,
        "selectedToppings": [
          1,
          2
        ]
      }
    ]
  }
}

application/xml, text/xml

Sample:
<StartOrderPayRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tiszamozi_API.Models">
  <order>
    <checkBooking>true</checkBooking>
    <email>sample string 2</email>
    <name>sample string 1</name>
    <phone>sample string 3</phone>
    <products>
      <OrderItem>
        <productId>1</productId>
        <quantity>2</quantity>
        <selectedToppings xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:int>1</d5p1:int>
          <d5p1:int>2</d5p1:int>
        </selectedToppings>
      </OrderItem>
      <OrderItem>
        <productId>1</productId>
        <quantity>2</quantity>
        <selectedToppings xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:int>1</d5p1:int>
          <d5p1:int>2</d5p1:int>
        </selectedToppings>
      </OrderItem>
    </products>
    <table>sample string 4</table>
  </order>
  <orderId>1</orderId>
</StartOrderPayRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StartOrderPayResponse
NameDescriptionTypeAdditional information
id

globally unique identifier

None.

startUrl

string

None.

Response Formats

application/json, text/json

Sample:

Sample not available.