GET api/Counpon/GetAllSelfOrderUSLimitPromo?companyCode={companyCode}&branchID={branchID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyCode | string |
Required |
|
| branchID | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
APIOrderOnlineResultOfListOfQROrder_LimitPromoInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of QROrder_LimitPromoInfo |
None. |
|
| Success | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| ErrorType | OrderOnlineAPIErrorType |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"PromotionID": "aff3ae20-7a10-4840-92d6-967edeae417d",
"PromotionType": 1,
"ListSAInvoiceID": [
"61b3d138-abbc-4631-973e-d95773e89b58",
"42460310-bfec-40e2-91f6-ed94361c7b17"
],
"ListCustomerInfo": [
{
"RefID": "df93befd-a3b0-4029-8ca7-428aa2d07940",
"CustomerID": "70a2ba68-9bf7-4498-9a20-9952e0484ce2"
},
{
"RefID": "df93befd-a3b0-4029-8ca7-428aa2d07940",
"CustomerID": "70a2ba68-9bf7-4498-9a20-9952e0484ce2"
}
]
},
{
"PromotionID": "aff3ae20-7a10-4840-92d6-967edeae417d",
"PromotionType": 1,
"ListSAInvoiceID": [
"61b3d138-abbc-4631-973e-d95773e89b58",
"42460310-bfec-40e2-91f6-ed94361c7b17"
],
"ListCustomerInfo": [
{
"RefID": "df93befd-a3b0-4029-8ca7-428aa2d07940",
"CustomerID": "70a2ba68-9bf7-4498-9a20-9952e0484ce2"
},
{
"RefID": "df93befd-a3b0-4029-8ca7-428aa2d07940",
"CustomerID": "70a2ba68-9bf7-4498-9a20-9952e0484ce2"
}
]
}
],
"Success": true,
"ErrorMessage": "sample string 2",
"ErrorType": 0,
"Total": 3,
"Message": "sample string 4"
}
application/xml, text/xml
Sample:
<APIOrderOnlineResultOfArrayOfQROrder_LimitPromoInfoHwd4PmMc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO">
<Data>
<QROrder_LimitPromoInfo>
<_ListCustomerInfo>
<QROrder_LitmitPromoCustomer>
<CustomerID>70a2ba68-9bf7-4498-9a20-9952e0484ce2</CustomerID>
<RefID>df93befd-a3b0-4029-8ca7-428aa2d07940</RefID>
</QROrder_LitmitPromoCustomer>
<QROrder_LitmitPromoCustomer>
<CustomerID>70a2ba68-9bf7-4498-9a20-9952e0484ce2</CustomerID>
<RefID>df93befd-a3b0-4029-8ca7-428aa2d07940</RefID>
</QROrder_LitmitPromoCustomer>
</_ListCustomerInfo>
<_ListSAInvoiceID xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>61b3d138-abbc-4631-973e-d95773e89b58</d4p1:guid>
<d4p1:guid>42460310-bfec-40e2-91f6-ed94361c7b17</d4p1:guid>
</_ListSAInvoiceID>
<_PromotionID>aff3ae20-7a10-4840-92d6-967edeae417d</_PromotionID>
<_PromotionType>1</_PromotionType>
</QROrder_LimitPromoInfo>
<QROrder_LimitPromoInfo>
<_ListCustomerInfo>
<QROrder_LitmitPromoCustomer>
<CustomerID>70a2ba68-9bf7-4498-9a20-9952e0484ce2</CustomerID>
<RefID>df93befd-a3b0-4029-8ca7-428aa2d07940</RefID>
</QROrder_LitmitPromoCustomer>
<QROrder_LitmitPromoCustomer>
<CustomerID>70a2ba68-9bf7-4498-9a20-9952e0484ce2</CustomerID>
<RefID>df93befd-a3b0-4029-8ca7-428aa2d07940</RefID>
</QROrder_LitmitPromoCustomer>
</_ListCustomerInfo>
<_ListSAInvoiceID xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>61b3d138-abbc-4631-973e-d95773e89b58</d4p1:guid>
<d4p1:guid>42460310-bfec-40e2-91f6-ed94361c7b17</d4p1:guid>
</_ListSAInvoiceID>
<_PromotionID>aff3ae20-7a10-4840-92d6-967edeae417d</_PromotionID>
<_PromotionType>1</_PromotionType>
</QROrder_LimitPromoInfo>
</Data>
<ErrorMessage>sample string 2</ErrorMessage>
<ErrorType>None</ErrorType>
<Message>sample string 4</Message>
<Success>true</Success>
<Total>3</Total>
</APIOrderOnlineResultOfArrayOfQROrder_LimitPromoInfoHwd4PmMc>