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_LimitPromoInfoName | 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": "b25424dd-4606-46ed-a4fb-b045d1fdcdb3", "PromotionType": 1, "ListSAInvoiceID": [ "b829ea44-89d7-41ef-b3c2-da2a8fde21cd", "6b215dbb-b1ca-4202-87cc-5f930d1272d5" ], "ListCustomerInfo": [ { "RefID": "e61baf15-b830-4fa5-b036-f73075ad9a9c", "CustomerID": "a1e5a36c-eef6-41f5-85d8-1bc9467edd92" }, { "RefID": "e61baf15-b830-4fa5-b036-f73075ad9a9c", "CustomerID": "a1e5a36c-eef6-41f5-85d8-1bc9467edd92" } ] }, { "PromotionID": "b25424dd-4606-46ed-a4fb-b045d1fdcdb3", "PromotionType": 1, "ListSAInvoiceID": [ "b829ea44-89d7-41ef-b3c2-da2a8fde21cd", "6b215dbb-b1ca-4202-87cc-5f930d1272d5" ], "ListCustomerInfo": [ { "RefID": "e61baf15-b830-4fa5-b036-f73075ad9a9c", "CustomerID": "a1e5a36c-eef6-41f5-85d8-1bc9467edd92" }, { "RefID": "e61baf15-b830-4fa5-b036-f73075ad9a9c", "CustomerID": "a1e5a36c-eef6-41f5-85d8-1bc9467edd92" } ] } ], "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>a1e5a36c-eef6-41f5-85d8-1bc9467edd92</CustomerID> <RefID>e61baf15-b830-4fa5-b036-f73075ad9a9c</RefID> </OrderOnline_LitmitPromoCustomer> <OrderOnline_LitmitPromoCustomer> <CustomerID>a1e5a36c-eef6-41f5-85d8-1bc9467edd92</CustomerID> <RefID>e61baf15-b830-4fa5-b036-f73075ad9a9c</RefID> </OrderOnline_LitmitPromoCustomer> </_ListCustomerInfo> <_ListSAInvoiceID xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>b829ea44-89d7-41ef-b3c2-da2a8fde21cd</d4p1:guid> <d4p1:guid>6b215dbb-b1ca-4202-87cc-5f930d1272d5</d4p1:guid> </_ListSAInvoiceID> <_PromotionID>b25424dd-4606-46ed-a4fb-b045d1fdcdb3</_PromotionID> <_PromotionType>1</_PromotionType> </OrderOnline_LimitPromoInfo> <OrderOnline_LimitPromoInfo> <_ListCustomerInfo> <OrderOnline_LitmitPromoCustomer> <CustomerID>a1e5a36c-eef6-41f5-85d8-1bc9467edd92</CustomerID> <RefID>e61baf15-b830-4fa5-b036-f73075ad9a9c</RefID> </OrderOnline_LitmitPromoCustomer> <OrderOnline_LitmitPromoCustomer> <CustomerID>a1e5a36c-eef6-41f5-85d8-1bc9467edd92</CustomerID> <RefID>e61baf15-b830-4fa5-b036-f73075ad9a9c</RefID> </OrderOnline_LitmitPromoCustomer> </_ListCustomerInfo> <_ListSAInvoiceID xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:guid>b829ea44-89d7-41ef-b3c2-da2a8fde21cd</d4p1:guid> <d4p1:guid>6b215dbb-b1ca-4202-87cc-5f930d1272d5</d4p1:guid> </_ListSAInvoiceID> <_PromotionID>b25424dd-4606-46ed-a4fb-b045d1fdcdb3</_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>