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": "8041833f-2b73-49e9-b910-dcd315a76011",
      "PromotionType": 1,
      "ListSAInvoiceID": [
        "b9f40cd5-2df9-4e81-be3c-79483881d4ab",
        "bc113d0b-1652-4b76-b787-4bcc7e83993a"
      ],
      "ListCustomerInfo": [
        {
          "RefID": "5281aeb5-574c-4a02-95b2-369d56d8560a",
          "CustomerID": "aa22d7b4-4570-48cc-9aab-42f36559b766"
        },
        {
          "RefID": "5281aeb5-574c-4a02-95b2-369d56d8560a",
          "CustomerID": "aa22d7b4-4570-48cc-9aab-42f36559b766"
        }
      ]
    },
    {
      "PromotionID": "8041833f-2b73-49e9-b910-dcd315a76011",
      "PromotionType": 1,
      "ListSAInvoiceID": [
        "b9f40cd5-2df9-4e81-be3c-79483881d4ab",
        "bc113d0b-1652-4b76-b787-4bcc7e83993a"
      ],
      "ListCustomerInfo": [
        {
          "RefID": "5281aeb5-574c-4a02-95b2-369d56d8560a",
          "CustomerID": "aa22d7b4-4570-48cc-9aab-42f36559b766"
        },
        {
          "RefID": "5281aeb5-574c-4a02-95b2-369d56d8560a",
          "CustomerID": "aa22d7b4-4570-48cc-9aab-42f36559b766"
        }
      ]
    }
  ],
  "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>aa22d7b4-4570-48cc-9aab-42f36559b766</CustomerID>
          <RefID>5281aeb5-574c-4a02-95b2-369d56d8560a</RefID>
        </QROrder_LitmitPromoCustomer>
        <QROrder_LitmitPromoCustomer>
          <CustomerID>aa22d7b4-4570-48cc-9aab-42f36559b766</CustomerID>
          <RefID>5281aeb5-574c-4a02-95b2-369d56d8560a</RefID>
        </QROrder_LitmitPromoCustomer>
      </_ListCustomerInfo>
      <_ListSAInvoiceID xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>b9f40cd5-2df9-4e81-be3c-79483881d4ab</d4p1:guid>
        <d4p1:guid>bc113d0b-1652-4b76-b787-4bcc7e83993a</d4p1:guid>
      </_ListSAInvoiceID>
      <_PromotionID>8041833f-2b73-49e9-b910-dcd315a76011</_PromotionID>
      <_PromotionType>1</_PromotionType>
    </QROrder_LimitPromoInfo>
    <QROrder_LimitPromoInfo>
      <_ListCustomerInfo>
        <QROrder_LitmitPromoCustomer>
          <CustomerID>aa22d7b4-4570-48cc-9aab-42f36559b766</CustomerID>
          <RefID>5281aeb5-574c-4a02-95b2-369d56d8560a</RefID>
        </QROrder_LitmitPromoCustomer>
        <QROrder_LitmitPromoCustomer>
          <CustomerID>aa22d7b4-4570-48cc-9aab-42f36559b766</CustomerID>
          <RefID>5281aeb5-574c-4a02-95b2-369d56d8560a</RefID>
        </QROrder_LitmitPromoCustomer>
      </_ListCustomerInfo>
      <_ListSAInvoiceID xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>b9f40cd5-2df9-4e81-be3c-79483881d4ab</d4p1:guid>
        <d4p1:guid>bc113d0b-1652-4b76-b787-4bcc7e83993a</d4p1:guid>
      </_ListSAInvoiceID>
      <_PromotionID>8041833f-2b73-49e9-b910-dcd315a76011</_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>