POST api/Order/SelfOrderUS/TyroCreatePayRequest?companyCode={companyCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyCode

string

Required

Body Parameters

QROrder_OrderInfo
NameDescriptionTypeAdditional information
ShowInfoCustomerPayConfig

string

None.

OrderId

globally unique identifier

None.

OrderNo

string

None.

OrderDate

date

None.

ListInventoryItem

Collection of QROrder_InventoryItemDetail

None.

ListInventoryItemError

Collection of QROrder_InventoryItemDetail

None.

ListInventoryItemTemp

Collection of QROrder_InventoryItemTemp

None.

CancelReasonID

integer

None.

CancelReasonName

string

None.

CurrentOrderNumber

integer

None.

Amount

decimal number

None.

PLTAmount

decimal number

None.

TaxRate

decimal number

None.

DiscountAmount

decimal number

None.

TaxAmount

decimal number

None.

ShipAmount

decimal number

None.

TotalAmount

decimal number

None.

ConvertAmount

integer

None.

ConvertCurrency

string

None.

ExchangeRate

decimal number

None.

CustomerName

string

None.

LastName

string

None.

FirstName

string

None.

CustomerTel

string

None.

CustomerEmail

string

None.

Address

string

None.

ProvinceId

string

None.

DistrictId

string

None.

CommuneId

string

None.

FullAddress

string

None.

Note

string

None.

ShippingDueDate

date

None.

ShippingDueInt

integer

None.

DeliveryType

EnumQROrderDeliveryType

None.

ShippingTimeType

EnumQROrderShippingTimeType

None.

PaymentType

EnumQROrderPaymentType

None.

PaymentStatus

EnumPaymentStatusOrderOnline

None.

BranchID

globally unique identifier

None.

CouponCodeId

integer

None.

CouponCode

string

None.

CouponDiscountType

EnumCouponDiscountType

None.

CouponDiscountPercent

decimal number

None.

CouponDiscountAmount

decimal number

None.

CardID

globally unique identifier

None.

CardName

string

None.

CardType

integer

None.

PaymentAmount

decimal number

None.

BranchName

string

None.

OrderCode

string

None.

ActualCouponDiscountAmount

decimal number

None.

BookingType

EnumOrderBookingType

None.

TableName

string

None.

TableRef

string

None.

HouseNumber

string

None.

PostalCode

string

None.

CompanyName

string

None.

CompanyTaxCode

string

None.

ProvinceOrCity

string

None.

ShortDescription

string

None.

Description

string

None.

QROrderCode

string

None.

PickupTimeType

EnumPickupTimeType

None.

PickupTime

string

None.

IsUseCutlery

boolean

None.

TipAmount

decimal number

None.

OnlinePaymentAmount

decimal number

None.

NonCashAdjustmentAmount

decimal number

None.

AmountIncludeTax

decimal number

None.

IsFoodPriceIncludeTax

boolean

None.

PromotionAmountPreTax

decimal number

None.

PromotionItemAmountPreTax

decimal number

None.

DiscountAmountPreTax

decimal number

None.

CardNumber

string

None.

CardCode

string

None.

ExpirationDate

string

None.

TransID

string

None.

AccountNumber

string

None.

AccountType

string

None.

ListAppliedTax

string

None.

ListPaymentItem

Collection of QROrder_InventoryItemDetail

None.

IsQROrder

boolean

None.

SAInvoiceRefID

globally unique identifier

None.

DiscountItem

decimal number

None.

DiscountBill

decimal number

None.

LastSortOrder

integer

None.

Signature

string

None.

BankAccountID

globally unique identifier

None.

BankAccountNumber

string

None.

BankName

string

None.

AccountHolder

string

None.

DeviceType

QRCodeClientDevice

None.

HasCreateOrder

boolean

None.

Ipay88UserName

string

None.

Ipay88UserContact

string

None.

Ipay88UserEmail

string

None.

Ipay88PaymentID

integer

None.

IsPaymentClick

boolean

None.

RestaurantPaymentType

integer

None.

PaymentTypeOfSeflOrder

string

None.

ConfirmStatus

integer

None.

ServiceChargeAmount

decimal number

None.

ServiceTaxAmount

decimal number

None.

ListDiscountCoupon

Collection of QROrder_Promotion

None.

ServiceCharge

decimal number

None.

ServiceChargeAmountIncludeTax

decimal number

None.

ListServiceCharge

Collection of QROrder_ServiceCharge

None.

CustomerID

globally unique identifier

None.

ListApplyPromotion

string

None.

ListApplyServiceCharge

string

None.

ContactPrefix

integer

None.

QRSessionID

globally unique identifier

None.

PromotionID

globally unique identifier

None.

PromotionName

string

None.

PromotionRate

decimal number

None.

PromotionAmount

decimal number

None.

PromotionItemsAmount

decimal number

None.

PromotionAmountIncludeTax

decimal number

None.

PromotionItemsAmountIncludeTax

decimal number

None.

OrderStatus

integer

None.

CartAmount

decimal number

None.

ListCoverOrder

Collection of CoverOrder

None.

PaidAmount

decimal number

None.

EmployeeID

globally unique identifier

None.

EmployeeName

string

None.

OrderPaymentStatus

integer

None.

NumberOfPeople

integer

None.

GratuityAmount

decimal number

None.

GratuityRate

decimal number

None.

CreatedDate

date

None.

IsUpdatedOrder

boolean

None.

RemainGiftCardAmount

decimal number

None.

VoucherCardID

globally unique identifier

None.

VoucherAmount

decimal number

None.

VoucherCode

string

None.

IsCustomGratuity

boolean

None.

LoyaltyRewardUseAmount

decimal number

None.

UsedPoint

integer

None.

LoyalProgramActivationStatus

integer

None.

OnlinePaymentType

integer

None.

OnlinePaymentID

string

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIOrderOnlineResultOfString
NameDescriptionTypeAdditional information
Data

string

None.

Success

boolean

None.

ErrorMessage

string

None.

ErrorType

OrderOnlineAPIErrorType

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": "sample string 1",
  "Success": true,
  "ErrorMessage": "sample string 3",
  "ErrorType": 0,
  "Total": 4,
  "Message": "sample string 5"
}

application/xml, text/xml

Sample:
<APIOrderOnlineResultOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO">
  <Data>sample string 1</Data>
  <ErrorMessage>sample string 3</ErrorMessage>
  <ErrorType>None</ErrorType>
  <Message>sample string 5</Message>
  <Success>true</Success>
  <Total>4</Total>
</APIOrderOnlineResultOfstring>