GET api/Counpon/GetAllOrderOnlineLimitPromo?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
APIOrderOnlineResultOfListOfOrderOnline_LimitPromoInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of OrderOnline_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": "85c50ab6-737b-4994-8f9b-297592927238",
"PromotionType": 1,
"ListSAInvoiceID": [
"38ba5d09-af7e-4534-ac76-8facb8a3823b",
"68501eca-66be-4e5b-bd0f-9cf052319b96"
],
"ListCustomerInfo": [
{
"RefID": "eb451493-fa1c-4e9e-ae11-f28b43cd6baa",
"CustomerID": "d8778a8b-a172-40b3-931e-bc0fb514d06d"
},
{
"RefID": "eb451493-fa1c-4e9e-ae11-f28b43cd6baa",
"CustomerID": "d8778a8b-a172-40b3-931e-bc0fb514d06d"
}
]
},
{
"PromotionID": "85c50ab6-737b-4994-8f9b-297592927238",
"PromotionType": 1,
"ListSAInvoiceID": [
"38ba5d09-af7e-4534-ac76-8facb8a3823b",
"68501eca-66be-4e5b-bd0f-9cf052319b96"
],
"ListCustomerInfo": [
{
"RefID": "eb451493-fa1c-4e9e-ae11-f28b43cd6baa",
"CustomerID": "d8778a8b-a172-40b3-931e-bc0fb514d06d"
},
{
"RefID": "eb451493-fa1c-4e9e-ae11-f28b43cd6baa",
"CustomerID": "d8778a8b-a172-40b3-931e-bc0fb514d06d"
}
]
}
],
"Success": true,
"ErrorMessage": "sample string 2",
"ErrorType": 0,
"Total": 3,
"Message": "sample string 4"
}
application/xml, text/xml
Sample:
<APIOrderOnlineResultOfArrayOfOrderOnline_LimitPromoInfoHwd4PmMc xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO">
<Data>
<OrderOnline_LimitPromoInfo>
<_ListCustomerInfo>
<OrderOnline_LitmitPromoCustomer>
<CustomerID>d8778a8b-a172-40b3-931e-bc0fb514d06d</CustomerID>
<RefID>eb451493-fa1c-4e9e-ae11-f28b43cd6baa</RefID>
</OrderOnline_LitmitPromoCustomer>
<OrderOnline_LitmitPromoCustomer>
<CustomerID>d8778a8b-a172-40b3-931e-bc0fb514d06d</CustomerID>
<RefID>eb451493-fa1c-4e9e-ae11-f28b43cd6baa</RefID>
</OrderOnline_LitmitPromoCustomer>
</_ListCustomerInfo>
<_ListSAInvoiceID xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>38ba5d09-af7e-4534-ac76-8facb8a3823b</d4p1:guid>
<d4p1:guid>68501eca-66be-4e5b-bd0f-9cf052319b96</d4p1:guid>
</_ListSAInvoiceID>
<_PromotionID>85c50ab6-737b-4994-8f9b-297592927238</_PromotionID>
<_PromotionType>1</_PromotionType>
</OrderOnline_LimitPromoInfo>
<OrderOnline_LimitPromoInfo>
<_ListCustomerInfo>
<OrderOnline_LitmitPromoCustomer>
<CustomerID>d8778a8b-a172-40b3-931e-bc0fb514d06d</CustomerID>
<RefID>eb451493-fa1c-4e9e-ae11-f28b43cd6baa</RefID>
</OrderOnline_LitmitPromoCustomer>
<OrderOnline_LitmitPromoCustomer>
<CustomerID>d8778a8b-a172-40b3-931e-bc0fb514d06d</CustomerID>
<RefID>eb451493-fa1c-4e9e-ae11-f28b43cd6baa</RefID>
</OrderOnline_LitmitPromoCustomer>
</_ListCustomerInfo>
<_ListSAInvoiceID xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>38ba5d09-af7e-4534-ac76-8facb8a3823b</d4p1:guid>
<d4p1:guid>68501eca-66be-4e5b-bd0f-9cf052319b96</d4p1:guid>
</_ListSAInvoiceID>
<_PromotionID>85c50ab6-737b-4994-8f9b-297592927238</_PromotionID>
<_PromotionType>1</_PromotionType>
</OrderOnline_LimitPromoInfo>
</Data>
<ErrorMessage>sample string 2</ErrorMessage>
<ErrorType>None</ErrorType>
<Message>sample string 4</Message>
<Success>true</Success>
<Total>3</Total>
</APIOrderOnlineResultOfArrayOfOrderOnline_LimitPromoInfoHwd4PmMc>