POST api/Payment/AdditionOutOfStock?companyCode={companyCode}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
companyCode | string |
Required |
Body Parameters
OrderOnline_OrderInfoName | Description | Type | Additional information |
---|---|---|---|
ShowInfoCustomerPayConfig | string |
None. |
|
OrderId |
Id đơn hàng |
globally unique identifier |
None. |
OrderNo | string |
None. |
|
OrderDate | date |
None. |
|
OrderPCID | globally unique identifier |
None. |
|
ListInventoryItem |
Danh sách món chọn |
Collection of OrderOnline_InventoryItemDetail |
None. |
ListInventoryItemError | Collection of OrderOnline_InventoryItemDetail |
None. |
|
ListInventoryItemTemp | Collection of OrderOnline_InventoryItemTemp |
None. |
|
CancelReasonID | integer |
None. |
|
CancelReasonName | string |
None. |
|
CurrentOrderNumber | integer |
None. |
|
Amount |
Tổng tiền hàng |
decimal number |
None. |
PLTAmount | decimal number |
None. |
|
TaxRate |
Mức thuế |
decimal number |
None. |
DiscountAmount |
Tiền khuyến mại |
decimal number |
None. |
PromotionAmount | decimal number |
None. |
|
PromotionItemsAmount | decimal number |
None. |
|
TaxAmount |
Tiền thuế |
decimal number |
None. |
ShipAmount |
Tiền phí giao hàng |
decimal number |
None. |
TotalAmount |
Tổng tiền thanh toán |
decimal number |
None. |
ConvertAmount | integer |
None. |
|
ConvertCurrency | string |
None. |
|
ExchangeRate | decimal number |
None. |
|
CustomerName |
Tên khách hàng |
string |
None. |
LastName | string |
None. |
|
FirstName | string |
None. |
|
CustomerTel |
Số điện thoại khách hàng |
string |
None. |
CustomerEmail |
Email khách hàng |
string |
None. |
Address |
Số nhà, tên đường |
string |
None. |
ProvinceId |
Tỉnh/Thành phố |
string |
None. |
DistrictId |
Quận/huyện |
string |
None. |
CommuneId |
Phường/xã |
string |
None. |
FullAddress |
Địa chỉ giao hàng |
string |
None. |
Note |
Ghi chú |
string |
None. |
ShippingDueDate |
Thời gian nhận |
date |
None. |
ShippingDueInt | integer |
None. |
|
DeliveryType |
Loại đặt hàng (0 - Giao hàng tận nơi, 1-Nhận tại cửa hàng) |
EnumOrderOnlineDeliveryType |
None. |
ShippingTimeType |
Loại hình giao hàng (0- giao hàng ngay,1 giao vào thời gian) |
EnumOrderOnlineShippingTimeType |
None. |
PaymentType |
Loại hình thanh toán |
EnumOrderOnlinePaymentType |
None. |
PaymentStatus |
Trạng thái thanh toán |
EnumPaymentStatusOrderOnline |
None. |
BranchID |
ID nhà hàng |
globally unique identifier |
None. |
CouponCodeId |
Id Mã khuyến mại áp dụng cho hóa đơn |
integer |
None. |
CouponCode |
Mã khuyến mại áp dụng cho hóa đơn |
string |
None. |
CouponDiscountType |
Loại khuyến mại 1 - theo phần trăm2 - theo số tiền |
EnumCouponDiscountType |
None. |
CouponDiscountPercent |
Phầm trăm giảm giá |
decimal number |
None. |
CouponDiscountAmount |
Số tiền giảm giá |
decimal number |
None. |
CardID |
ID Card |
globally unique identifier |
None. |
CardName |
Tên Card |
string |
None. |
CardType |
loại Card |
integer |
None. |
PaymentAmount |
Số tiền đã thanh toán |
decimal number |
None. |
BranchName |
Tên Chi nhánh |
string |
None. |
OrderCode |
Mã đơn hàng |
string |
None. |
ActualCouponDiscountAmount |
Tiền giảm giá mã ưu đãi thực tế được giảm trừ |
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. |
|
OrderOnlineCode | string |
None. |
|
PickupTimeType | EnumPickupTimeType |
None. |
|
PickupTime | string |
None. |
|
IsUseCutlery | boolean |
None. |
|
TipAmount | decimal number |
None. |
|
OnlinePaymentAmount | decimal number |
None. |
|
NonCashAdjustmentAmount | decimal number |
None. |
|
CardNumber | string |
None. |
|
CardCode | string |
None. |
|
ExpirationDate | string |
None. |
|
TransID | string |
None. |
|
AccountNumber | string |
None. |
|
AccountType | string |
None. |
|
ListAppliedTax | string |
None. |
|
RemainGiftCardAmount | decimal number |
None. |
|
Signature |
Chuỗi xác thực đã thanh toán |
string |
None. |
BankAccountID |
tài khoản thanh toán |
globally unique identifier |
None. |
BankAccountNumber |
số tài khoản |
string |
None. |
BankName |
tên ngân hàng |
string |
None. |
AccountHolder |
Tên chủ TK |
string |
None. |
DeviceType |
Loại thiết bị |
QRCodeClientDevice |
None. |
HasCreateOrder |
Đã tạo order hay chưa Nếu chưa tạo thì mới đẩy sang Order Online vs luồng thanh toán ngay |
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 OrderOnline_Promotion |
None. |
|
ListServiceCharge | Collection of OrderOnline_ServiceCharge |
None. |
|
CustomerID | globally unique identifier |
None. |
|
ListApplyPromotion | string |
None. |
|
ListApplyServiceCharge | string |
None. |
|
ContactPrefix | integer |
None. |
|
VoucherCardID | globally unique identifier |
None. |
|
VoucherAmount | decimal number |
None. |
|
VoucherCode | string |
None. |
|
GratuityAmount | decimal number |
None. |
|
AmountIncludeTax | decimal number |
None. |
|
ServiceChargeAmountIncludeTax | decimal number |
None. |
|
IsFoodPriceIncludeTax | boolean |
None. |
|
PromotionAmountPreTax | decimal number |
None. |
|
PromotionItemAmountPreTax | decimal number |
None. |
|
DiscountAmountPreTax | decimal number |
None. |
|
LoyaltyRewardUseAmount | decimal number |
None. |
|
UsedPoint | integer |
None. |
|
LoyalProgramActivationStatus | integer |
None. |
|
OnlinePaymentType | integer |
None. |
|
OnlinePaymentID | string |
None. |
Request Formats
application/json
Sample not available.
text/json
Sample not available.
application/xml
Sample not available.
text/xml
Sample not available.
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
APIOrderOnlineResultOfListOfInventoryItemAdditionName | Description | Type | Additional information |
---|---|---|---|
Data | Collection of InventoryItemAddition |
None. |
|
Success | boolean |
None. |
|
ErrorMessage | string |
None. |
|
ErrorType | OrderOnlineAPIErrorType |
None. |
|
Total | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
{ "Data": [ null, { "InventoryItemAdditionID": "b3ab150f-2fd5-41d8-b8d4-f829655b131c", "InventoryItemID": "70cc361f-d554-435b-a90a-1f5b3a67ad28", "BranchID": "7fb32dd7-1de2-453f-934f-fb1ff45083dd", "Description": "sample string 3", "DescriptionOld": "sample string 4", "UnitPrice": 1.0, "UnitPriceOld": 1.0, "Price": 1.0, "IsMenu": true, "InActive": true, "InventoryItemAdditionIDTemp": "1639a903-0773-4441-818b-60cc293d19f5", "AddFromMenu": true, "UnitID": "ee8cbfaf-526e-407f-a0c2-21ffb256a5d5", "InventoryItemType": 1, "PreTaxAmount": 1.0, "ServeAtRestaurantTaxRate": 1.0, "TakeAwayTaxRate": 1.0, "DeliveryTaxRate": 1.0, "ServeAtRestaurantTaxAmount": 1.0, "TakeAwayTaxAmount": 1.0, "DeliveryTaxAmount": 1.0, "InventoryItemCategoryAdditionID": "8d23166f-e4e5-46c8-be96-2bb2697d70a6", "InventoryItemCategoryAdditionName": "sample string 8", "IsInventoryItemAdditionDe": true, "InventoryItemNameForKitchen": "sample string 10", "SortOrderGrab": 1, "AdditionGrabStatus": 1, "IsParent": true, "SortChild": 1, "SortParent": 1, "ImportListError": [ { "ColumnIndex": 1, "ColumnName": "sample string 2", "ErrorType": 3 }, { "ColumnIndex": 1, "ColumnName": "sample string 2", "ErrorType": 3 } ], "SortOrder": 1, "IsDefault": true, "IsMultiSelect": true, "MinValue": 1, "MaxValue": 1, "IsNoMaxValue": true, "IsRequired": true, "IsAutoPopup": true, "PriceOnline": 1.0, "IsDefaultOnline": true, "InActiveOrderOnline": true, "EditMode": 0, "CreatedDate": "2025-07-01T21:42:07.9175899+07:00", "CreatedBy": "sample string 15", "ModifiedDate": "2025-07-01T21:42:07.9175899+07:00", "ModifiedBy": "sample string 16", "IsGenerate": true, "IsSetNullForBranchIdInDeleteObject": true } ], "Success": true, "ErrorMessage": "sample string 2", "ErrorType": 0, "Total": 3, "Message": "sample string 4" }
application/xml, text/xml
<APIOrderOnlineResultOfArrayOfInventoryItemAddition34ouyJuR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/MISA.QLNH.BOBase"> <d2p1:InventoryItemAddition i:nil="true" /> <d2p1:InventoryItemAddition> <d2p1:PropertyChangedEvent xmlns:d4p1="http://schemas.datacontract.org/2004/07/System.ComponentModel" i:nil="true" /> <d2p1:_CreatedBy>sample string 15</d2p1:_CreatedBy> <d2p1:_CreatedDate>2025-07-01T21:42:07.9175899+07:00</d2p1:_CreatedDate> <d2p1:_EditMode>None</d2p1:_EditMode> <d2p1:_ImportErrorDetail>sample string 21</d2p1:_ImportErrorDetail> <d2p1:_ImportRowIndex>20</d2p1:_ImportRowIndex> <d2p1:_IsGenerate>true</d2p1:_IsGenerate> <d2p1:_IsMasterRow>true</d2p1:_IsMasterRow> <d2p1:_IsOverrideImport>true</d2p1:_IsOverrideImport> <d2p1:_IsSetNullForBranchIdInDeleteObject>true</d2p1:_IsSetNullForBranchIdInDeleteObject> <d2p1:_ListImportErrorDetail xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </d2p1:_ListImportErrorDetail> <d2p1:_ModifiedBy>sample string 16</d2p1:_ModifiedBy> <d2p1:_ModifiedDate>2025-07-01T21:42:07.9175899+07:00</d2p1:_ModifiedDate> <d2p1:_TableSchema>sample string 14</d2p1:_TableSchema> <d2p1:_AddFromMenu>true</d2p1:_AddFromMenu> <d2p1:_AdditionGrabStatus>1</d2p1:_AdditionGrabStatus> <d2p1:_BranchID>7fb32dd7-1de2-453f-934f-fb1ff45083dd</d2p1:_BranchID> <d2p1:_DeliveryTaxAmount>1</d2p1:_DeliveryTaxAmount> <d2p1:_DeliveryTaxRate>1</d2p1:_DeliveryTaxRate> <d2p1:_Description>sample string 3</d2p1:_Description> <d2p1:_DescriptionOld>sample string 4</d2p1:_DescriptionOld> <d2p1:_ImportListError> <d2p1:ErrorDetail> <d2p1:_ColumnIndex>1</d2p1:_ColumnIndex> <d2p1:_ColumnName>sample string 2</d2p1:_ColumnName> <d2p1:_ErrorType>3</d2p1:_ErrorType> </d2p1:ErrorDetail> <d2p1:ErrorDetail> <d2p1:_ColumnIndex>1</d2p1:_ColumnIndex> <d2p1:_ColumnName>sample string 2</d2p1:_ColumnName> <d2p1:_ErrorType>3</d2p1:_ErrorType> </d2p1:ErrorDetail> </d2p1:_ImportListError> <d2p1:_InActive>true</d2p1:_InActive> <d2p1:_InActiveOrderOnline>true</d2p1:_InActiveOrderOnline> <d2p1:_InventoryItemAdditionID>b3ab150f-2fd5-41d8-b8d4-f829655b131c</d2p1:_InventoryItemAdditionID> <d2p1:_InventoryItemAdditionIDTemp>1639a903-0773-4441-818b-60cc293d19f5</d2p1:_InventoryItemAdditionIDTemp> <d2p1:_InventoryItemCategoryAdditionID>8d23166f-e4e5-46c8-be96-2bb2697d70a6</d2p1:_InventoryItemCategoryAdditionID> <d2p1:_InventoryItemCategoryAdditionName>sample string 8</d2p1:_InventoryItemCategoryAdditionName> <d2p1:_InventoryItemID>70cc361f-d554-435b-a90a-1f5b3a67ad28</d2p1:_InventoryItemID> <d2p1:_InventoryItemNameForKitchen>sample string 10</d2p1:_InventoryItemNameForKitchen> <d2p1:_InventoryItemType>1</d2p1:_InventoryItemType> <d2p1:_IsAutoPopup>true</d2p1:_IsAutoPopup> <d2p1:_IsDefault>true</d2p1:_IsDefault> <d2p1:_IsDefaultOnline>true</d2p1:_IsDefaultOnline> <d2p1:_IsInventoryItemAdditionDe>true</d2p1:_IsInventoryItemAdditionDe> <d2p1:_IsMenu>true</d2p1:_IsMenu> <d2p1:_IsMultiSelect>true</d2p1:_IsMultiSelect> <d2p1:_IsNoMaxValue>true</d2p1:_IsNoMaxValue> <d2p1:_IsParent>true</d2p1:_IsParent> <d2p1:_IsRequired>true</d2p1:_IsRequired> <d2p1:_MaxValue>1</d2p1:_MaxValue> <d2p1:_MinValue>1</d2p1:_MinValue> <d2p1:_PreTaxAmount>1</d2p1:_PreTaxAmount> <d2p1:_Price>1</d2p1:_Price> <d2p1:_PriceOnline>1</d2p1:_PriceOnline> <d2p1:_ServeAtRestaurantTaxAmount>1</d2p1:_ServeAtRestaurantTaxAmount> <d2p1:_ServeAtRestaurantTaxRate>1</d2p1:_ServeAtRestaurantTaxRate> <d2p1:_SortChild>1</d2p1:_SortChild> <d2p1:_SortOrder>1</d2p1:_SortOrder> <d2p1:_SortOrderGrab>1</d2p1:_SortOrderGrab> <d2p1:_SortParent>1</d2p1:_SortParent> <d2p1:_TakeAwayTaxAmount>1</d2p1:_TakeAwayTaxAmount> <d2p1:_TakeAwayTaxRate>1</d2p1:_TakeAwayTaxRate> <d2p1:_UnitID>ee8cbfaf-526e-407f-a0c2-21ffb256a5d5</d2p1:_UnitID> <d2p1:_UnitPrice>1</d2p1:_UnitPrice> <d2p1:_UnitPriceOld>1</d2p1:_UnitPriceOld> </d2p1:InventoryItemAddition> </Data> <ErrorMessage>sample string 2</ErrorMessage> <ErrorType>None</ErrorType> <Message>sample string 4</Message> <Success>true</Success> <Total>3</Total> </APIOrderOnlineResultOfArrayOfInventoryItemAddition34ouyJuR>