GET api/Counpon/GetAllOrderOnlinePromotion?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
APIOrderOnlineResultOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | string |
None. |
|
| Success | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| ErrorType | OrderOnlineAPIErrorType |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": "sample string 1",
"Success": true,
"ErrorMessage": "sample string 3",
"ErrorType": 0,
"Total": 4,
"Message": "sample string 5"
}
application/xml, text/xml
Sample:
<APIOrderOnlineResultOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISA.QLNH.BE.BO"> <Data>sample string 1</Data> <ErrorMessage>sample string 3</ErrorMessage> <ErrorType>None</ErrorType> <Message>sample string 5</Message> <Success>true</Success> <Total>4</Total> </APIOrderOnlineResultOfstring>