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": "c95e62f9-f38c-46d2-bb4a-d61d7b330558",
      "PromotionType": 1,
      "ListSAInvoiceID": [
        "a036b88a-8e36-48e1-9501-c9d9b9304584",
        "ce8eb068-8e75-4a62-94f2-fc503d573bd9"
      ],
      "ListCustomerInfo": [
        {
          "RefID": "d714edaa-18aa-4603-a7f4-c7e303024fe2",
          "CustomerID": "e7861e96-2717-4328-a060-00bdbb137a00"
        },
        {
          "RefID": "d714edaa-18aa-4603-a7f4-c7e303024fe2",
          "CustomerID": "e7861e96-2717-4328-a060-00bdbb137a00"
        }
      ]
    },
    {
      "PromotionID": "c95e62f9-f38c-46d2-bb4a-d61d7b330558",
      "PromotionType": 1,
      "ListSAInvoiceID": [
        "a036b88a-8e36-48e1-9501-c9d9b9304584",
        "ce8eb068-8e75-4a62-94f2-fc503d573bd9"
      ],
      "ListCustomerInfo": [
        {
          "RefID": "d714edaa-18aa-4603-a7f4-c7e303024fe2",
          "CustomerID": "e7861e96-2717-4328-a060-00bdbb137a00"
        },
        {
          "RefID": "d714edaa-18aa-4603-a7f4-c7e303024fe2",
          "CustomerID": "e7861e96-2717-4328-a060-00bdbb137a00"
        }
      ]
    }
  ],
  "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>e7861e96-2717-4328-a060-00bdbb137a00</CustomerID>
          <RefID>d714edaa-18aa-4603-a7f4-c7e303024fe2</RefID>
        </QROrder_LitmitPromoCustomer>
        <QROrder_LitmitPromoCustomer>
          <CustomerID>e7861e96-2717-4328-a060-00bdbb137a00</CustomerID>
          <RefID>d714edaa-18aa-4603-a7f4-c7e303024fe2</RefID>
        </QROrder_LitmitPromoCustomer>
      </_ListCustomerInfo>
      <_ListSAInvoiceID xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>a036b88a-8e36-48e1-9501-c9d9b9304584</d4p1:guid>
        <d4p1:guid>ce8eb068-8e75-4a62-94f2-fc503d573bd9</d4p1:guid>
      </_ListSAInvoiceID>
      <_PromotionID>c95e62f9-f38c-46d2-bb4a-d61d7b330558</_PromotionID>
      <_PromotionType>1</_PromotionType>
    </QROrder_LimitPromoInfo>
    <QROrder_LimitPromoInfo>
      <_ListCustomerInfo>
        <QROrder_LitmitPromoCustomer>
          <CustomerID>e7861e96-2717-4328-a060-00bdbb137a00</CustomerID>
          <RefID>d714edaa-18aa-4603-a7f4-c7e303024fe2</RefID>
        </QROrder_LitmitPromoCustomer>
        <QROrder_LitmitPromoCustomer>
          <CustomerID>e7861e96-2717-4328-a060-00bdbb137a00</CustomerID>
          <RefID>d714edaa-18aa-4603-a7f4-c7e303024fe2</RefID>
        </QROrder_LitmitPromoCustomer>
      </_ListCustomerInfo>
      <_ListSAInvoiceID xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:guid>a036b88a-8e36-48e1-9501-c9d9b9304584</d4p1:guid>
        <d4p1:guid>ce8eb068-8e75-4a62-94f2-fc503d573bd9</d4p1:guid>
      </_ListSAInvoiceID>
      <_PromotionID>c95e62f9-f38c-46d2-bb4a-d61d7b330558</_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>