GET api/Counpon/GetAllSelfOrderUSLimitPromo?companyCode={companyCode}&branchID={branchID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyCode

string

Required

branchID

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

APIOrderOnlineResultOfListOfQROrder_LimitPromoInfo
NameDescriptionTypeAdditional 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": "9006c3c2-fa03-4f65-9f33-8a24eeeeaf6f",
      "PromotionType": 1,
      "ListSAInvoiceID": [
        "d35468b0-af92-458c-8e60-5e08ebe9647e",
        "efe58d56-6ec4-471f-93f3-3bc181e20dec"
      ],
      "ListCustomerInfo": [
        {
          "RefID": "6e8fed97-a363-4223-a9e1-f3e9ef2d9e31",
          "CustomerID": "92930ec0-6f47-4a95-b244-342393f5346e"
        },
        {
          "RefID": "6e8fed97-a363-4223-a9e1-f3e9ef2d9e31",
          "CustomerID": "92930ec0-6f47-4a95-b244-342393f5346e"
        }
      ]
    },
    {
      "PromotionID": "9006c3c2-fa03-4f65-9f33-8a24eeeeaf6f",
      "PromotionType": 1,
      "ListSAInvoiceID": [
        "d35468b0-af92-458c-8e60-5e08ebe9647e",
        "efe58d56-6ec4-471f-93f3-3bc181e20dec"
      ],
      "ListCustomerInfo": [
        {
          "RefID": "6e8fed97-a363-4223-a9e1-f3e9ef2d9e31",
          "CustomerID": "92930ec0-6f47-4a95-b244-342393f5346e"
        },
        {
          "RefID": "6e8fed97-a363-4223-a9e1-f3e9ef2d9e31",
          "CustomerID": "92930ec0-6f47-4a95-b244-342393f5346e"
        }
      ]
    }
  ],
  "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>92930ec0-6f47-4a95-b244-342393f5346e</CustomerID>
          <RefID>6e8fed97-a363-4223-a9e1-f3e9ef2d9e31</RefID>
        </QROrder_LitmitPromoCustomer>
        <QROrder_LitmitPromoCustomer>
          <CustomerID>92930ec0-6f47-4a95-b244-342393f5346e</CustomerID>
          <RefID>6e8fed97-a363-4223-a9e1-f3e9ef2d9e31</RefID>
        </QROrder_LitmitPromoCustomer>
      </_ListCustomerInfo>
      <_ListSAInvoiceID xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>d35468b0-af92-458c-8e60-5e08ebe9647e</d4p1:guid>
        <d4p1:guid>efe58d56-6ec4-471f-93f3-3bc181e20dec</d4p1:guid>
      </_ListSAInvoiceID>
      <_PromotionID>9006c3c2-fa03-4f65-9f33-8a24eeeeaf6f</_PromotionID>
      <_PromotionType>1</_PromotionType>
    </QROrder_LimitPromoInfo>
    <QROrder_LimitPromoInfo>
      <_ListCustomerInfo>
        <QROrder_LitmitPromoCustomer>
          <CustomerID>92930ec0-6f47-4a95-b244-342393f5346e</CustomerID>
          <RefID>6e8fed97-a363-4223-a9e1-f3e9ef2d9e31</RefID>
        </QROrder_LitmitPromoCustomer>
        <QROrder_LitmitPromoCustomer>
          <CustomerID>92930ec0-6f47-4a95-b244-342393f5346e</CustomerID>
          <RefID>6e8fed97-a363-4223-a9e1-f3e9ef2d9e31</RefID>
        </QROrder_LitmitPromoCustomer>
      </_ListCustomerInfo>
      <_ListSAInvoiceID xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>d35468b0-af92-458c-8e60-5e08ebe9647e</d4p1:guid>
        <d4p1:guid>efe58d56-6ec4-471f-93f3-3bc181e20dec</d4p1:guid>
      </_ListSAInvoiceID>
      <_PromotionID>9006c3c2-fa03-4f65-9f33-8a24eeeeaf6f</_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>