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": "d8206bcd-3d6c-4894-a8b7-7e707e48993d",
"PromotionType": 1,
"ListSAInvoiceID": [
"10c85d81-dd4f-4849-b641-dd333723ab0f",
"e62d0e9f-7a4b-47f8-864e-3615cb7bb455"
],
"ListCustomerInfo": [
{
"RefID": "affca799-af4a-4297-a00d-8bd74f805684",
"CustomerID": "1e9fa1c3-1860-4d6b-b0a2-8bfe73165f50"
},
{
"RefID": "affca799-af4a-4297-a00d-8bd74f805684",
"CustomerID": "1e9fa1c3-1860-4d6b-b0a2-8bfe73165f50"
}
]
},
{
"PromotionID": "d8206bcd-3d6c-4894-a8b7-7e707e48993d",
"PromotionType": 1,
"ListSAInvoiceID": [
"10c85d81-dd4f-4849-b641-dd333723ab0f",
"e62d0e9f-7a4b-47f8-864e-3615cb7bb455"
],
"ListCustomerInfo": [
{
"RefID": "affca799-af4a-4297-a00d-8bd74f805684",
"CustomerID": "1e9fa1c3-1860-4d6b-b0a2-8bfe73165f50"
},
{
"RefID": "affca799-af4a-4297-a00d-8bd74f805684",
"CustomerID": "1e9fa1c3-1860-4d6b-b0a2-8bfe73165f50"
}
]
}
],
"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>1e9fa1c3-1860-4d6b-b0a2-8bfe73165f50</CustomerID>
<RefID>affca799-af4a-4297-a00d-8bd74f805684</RefID>
</QROrder_LitmitPromoCustomer>
<QROrder_LitmitPromoCustomer>
<CustomerID>1e9fa1c3-1860-4d6b-b0a2-8bfe73165f50</CustomerID>
<RefID>affca799-af4a-4297-a00d-8bd74f805684</RefID>
</QROrder_LitmitPromoCustomer>
</_ListCustomerInfo>
<_ListSAInvoiceID xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>10c85d81-dd4f-4849-b641-dd333723ab0f</d4p1:guid>
<d4p1:guid>e62d0e9f-7a4b-47f8-864e-3615cb7bb455</d4p1:guid>
</_ListSAInvoiceID>
<_PromotionID>d8206bcd-3d6c-4894-a8b7-7e707e48993d</_PromotionID>
<_PromotionType>1</_PromotionType>
</QROrder_LimitPromoInfo>
<QROrder_LimitPromoInfo>
<_ListCustomerInfo>
<QROrder_LitmitPromoCustomer>
<CustomerID>1e9fa1c3-1860-4d6b-b0a2-8bfe73165f50</CustomerID>
<RefID>affca799-af4a-4297-a00d-8bd74f805684</RefID>
</QROrder_LitmitPromoCustomer>
<QROrder_LitmitPromoCustomer>
<CustomerID>1e9fa1c3-1860-4d6b-b0a2-8bfe73165f50</CustomerID>
<RefID>affca799-af4a-4297-a00d-8bd74f805684</RefID>
</QROrder_LitmitPromoCustomer>
</_ListCustomerInfo>
<_ListSAInvoiceID xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:guid>10c85d81-dd4f-4849-b641-dd333723ab0f</d4p1:guid>
<d4p1:guid>e62d0e9f-7a4b-47f8-864e-3615cb7bb455</d4p1:guid>
</_ListSAInvoiceID>
<_PromotionID>d8206bcd-3d6c-4894-a8b7-7e707e48993d</_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>