POST api/MerchantApp/DQRSaleAmountEnquiry

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

MethodReturnOfDQRSaleAmountEnquiryResponse
NameDescriptionTypeAdditional information
ReturnValue

DQRSaleAmountEnquiryResponse

None.

ReturnType

string

None.

IsSuccess

boolean

None.

Message

string

None.

Schema

string

None.

UTCDate

date

None.

Token

string

None.

ResponseCode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ReturnValue": {
    "TxnAmount": 1.0,
    "LoyaltyPointBalance": 2.0,
    "CashbackBalance": 3.0,
    "IssuerLoyaltyPointBalance": 4.0,
    "ApplicableOffer": {
      "OfferID": 1,
      "OfferCode": "sample string 2",
      "OfferCategory": "sample string 3",
      "Category": "sample string 4",
      "SubCategory": "sample string 5",
      "Type": "sample string 6",
      "SubType": "sample string 7",
      "Description": "sample string 8",
      "OfferValue": 9.0,
      "IsProductOffer": "sample string 10",
      "ProductIDs": [
        1,
        2
      ]
    },
    "CustomerShouldRegister": true
  },
  "ReturnType": "sample string 1",
  "IsSuccess": true,
  "Message": "sample string 3",
  "Schema": "sample string 4",
  "UTCDate": "2024-11-28T14:43:11.9270168+03:00",
  "Token": "sample string 6",
  "ResponseCode": "sample string 7"
}

application/xml, text/xml

Sample:
<MethodReturnOfDQRSaleAmountEnquiryResponseYoRYJ0fS xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CommonComponents.BusinessObjects.CommonTypes">
  <IsSuccess>true</IsSuccess>
  <Message>sample string 3</Message>
  <ResponseCode>sample string 7</ResponseCode>
  <ReturnValue xmlns:d2p1="http://schemas.datacontract.org/2004/07/VASDataModel.Responses.VAS">
    <d2p1:ApplicableOffer xmlns:d3p1="http://schemas.datacontract.org/2004/07/VASDataModel.Modules.VAS">
      <d3p1:Category>sample string 4</d3p1:Category>
      <d3p1:Description>sample string 8</d3p1:Description>
      <d3p1:IsProductOffer>sample string 10</d3p1:IsProductOffer>
      <d3p1:OfferCategory>sample string 3</d3p1:OfferCategory>
      <d3p1:OfferCode>sample string 2</d3p1:OfferCode>
      <d3p1:OfferID>1</d3p1:OfferID>
      <d3p1:OfferValue>9</d3p1:OfferValue>
      <d3p1:ProductIDs xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d3p1:ProductIDs>
      <d3p1:SubCategory>sample string 5</d3p1:SubCategory>
      <d3p1:SubType>sample string 7</d3p1:SubType>
      <d3p1:Type>sample string 6</d3p1:Type>
    </d2p1:ApplicableOffer>
    <d2p1:CashbackBalance>3</d2p1:CashbackBalance>
    <d2p1:CustomerShouldRegister>true</d2p1:CustomerShouldRegister>
    <d2p1:IssuerLoyaltyPointBalance>4</d2p1:IssuerLoyaltyPointBalance>
    <d2p1:LoyaltyPointBalance>2</d2p1:LoyaltyPointBalance>
    <d2p1:TxnAmount>1</d2p1:TxnAmount>
  </ReturnValue>
  <Schema>sample string 4</Schema>
  <Token>sample string 6</Token>
</MethodReturnOfDQRSaleAmountEnquiryResponseYoRYJ0fS>