POST api/WebApp/GetAllVouchers

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

MethodReturnOfListOfMCH_Vouchers
NameDescriptionTypeAdditional information
ReturnValue

Collection of MCH_Vouchers

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": [
    {
      "VOfferID": 1,
      "VOfferCode": "sample string 2",
      "VOfferStatus": "sample string 3",
      "FromDate": "2024-11-28T14:49:05.1737776+03:00",
      "ToDate": "2024-11-28T14:49:05.1737776+03:00",
      "Logo": "sample string 6",
      "Logostring": "sample string 7",
      "MerchantName": "sample string 8",
      "MerchantCode": "sample string 9",
      "Description": "sample string 10",
      "VOfferType": "sample string 11",
      "VOfferSubType": "sample string 12",
      "VOfferValue": 1.0,
      "BuyNumber": 1,
      "GetFreeNumber": 1,
      "Category": "sample string 13",
      "CreatedBy": "sample string 14",
      "CreatedDate": "2024-11-28T14:49:05.1737776+03:00",
      "ModifiedBy": "sample string 16",
      "ModifiedDate": "2024-11-28T14:49:05.1737776+03:00",
      "RecOwnerOrgID": 18
    },
    {
      "VOfferID": 1,
      "VOfferCode": "sample string 2",
      "VOfferStatus": "sample string 3",
      "FromDate": "2024-11-28T14:49:05.1737776+03:00",
      "ToDate": "2024-11-28T14:49:05.1737776+03:00",
      "Logo": "sample string 6",
      "Logostring": "sample string 7",
      "MerchantName": "sample string 8",
      "MerchantCode": "sample string 9",
      "Description": "sample string 10",
      "VOfferType": "sample string 11",
      "VOfferSubType": "sample string 12",
      "VOfferValue": 1.0,
      "BuyNumber": 1,
      "GetFreeNumber": 1,
      "Category": "sample string 13",
      "CreatedBy": "sample string 14",
      "CreatedDate": "2024-11-28T14:49:05.1737776+03:00",
      "ModifiedBy": "sample string 16",
      "ModifiedDate": "2024-11-28T14:49:05.1737776+03:00",
      "RecOwnerOrgID": 18
    }
  ],
  "ReturnType": "sample string 1",
  "IsSuccess": true,
  "Message": "sample string 3",
  "Schema": "sample string 4",
  "UTCDate": "2024-11-28T14:49:05.1737776+03:00",
  "Token": "sample string 6",
  "ResponseCode": "sample string 7"
}

application/xml, text/xml

Sample:
<MethodReturnOfArrayOfMCH_Vouchers8_Sqm_PfRq 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.Modules.MCH">
    <d2p1:MCH_Vouchers>
      <d2p1:BuyNumber>1</d2p1:BuyNumber>
      <d2p1:Category>sample string 13</d2p1:Category>
      <d2p1:CreatedBy>sample string 14</d2p1:CreatedBy>
      <d2p1:CreatedDate>2024-11-28T14:49:05.1737776+03:00</d2p1:CreatedDate>
      <d2p1:Description>sample string 10</d2p1:Description>
      <d2p1:FromDate>2024-11-28T14:49:05.1737776+03:00</d2p1:FromDate>
      <d2p1:GetFreeNumber>1</d2p1:GetFreeNumber>
      <d2p1:Logo>sample string 6</d2p1:Logo>
      <d2p1:Logostring>sample string 7</d2p1:Logostring>
      <d2p1:MerchantCode>sample string 9</d2p1:MerchantCode>
      <d2p1:MerchantName>sample string 8</d2p1:MerchantName>
      <d2p1:ModifiedBy>sample string 16</d2p1:ModifiedBy>
      <d2p1:ModifiedDate>2024-11-28T14:49:05.1737776+03:00</d2p1:ModifiedDate>
      <d2p1:RecOwnerOrgID>18</d2p1:RecOwnerOrgID>
      <d2p1:ToDate>2024-11-28T14:49:05.1737776+03:00</d2p1:ToDate>
      <d2p1:VOfferCode>sample string 2</d2p1:VOfferCode>
      <d2p1:VOfferID>1</d2p1:VOfferID>
      <d2p1:VOfferStatus>sample string 3</d2p1:VOfferStatus>
      <d2p1:VOfferSubType>sample string 12</d2p1:VOfferSubType>
      <d2p1:VOfferType>sample string 11</d2p1:VOfferType>
      <d2p1:VOfferValue>1</d2p1:VOfferValue>
    </d2p1:MCH_Vouchers>
    <d2p1:MCH_Vouchers>
      <d2p1:BuyNumber>1</d2p1:BuyNumber>
      <d2p1:Category>sample string 13</d2p1:Category>
      <d2p1:CreatedBy>sample string 14</d2p1:CreatedBy>
      <d2p1:CreatedDate>2024-11-28T14:49:05.1737776+03:00</d2p1:CreatedDate>
      <d2p1:Description>sample string 10</d2p1:Description>
      <d2p1:FromDate>2024-11-28T14:49:05.1737776+03:00</d2p1:FromDate>
      <d2p1:GetFreeNumber>1</d2p1:GetFreeNumber>
      <d2p1:Logo>sample string 6</d2p1:Logo>
      <d2p1:Logostring>sample string 7</d2p1:Logostring>
      <d2p1:MerchantCode>sample string 9</d2p1:MerchantCode>
      <d2p1:MerchantName>sample string 8</d2p1:MerchantName>
      <d2p1:ModifiedBy>sample string 16</d2p1:ModifiedBy>
      <d2p1:ModifiedDate>2024-11-28T14:49:05.1737776+03:00</d2p1:ModifiedDate>
      <d2p1:RecOwnerOrgID>18</d2p1:RecOwnerOrgID>
      <d2p1:ToDate>2024-11-28T14:49:05.1737776+03:00</d2p1:ToDate>
      <d2p1:VOfferCode>sample string 2</d2p1:VOfferCode>
      <d2p1:VOfferID>1</d2p1:VOfferID>
      <d2p1:VOfferStatus>sample string 3</d2p1:VOfferStatus>
      <d2p1:VOfferSubType>sample string 12</d2p1:VOfferSubType>
      <d2p1:VOfferType>sample string 11</d2p1:VOfferType>
      <d2p1:VOfferValue>1</d2p1:VOfferValue>
    </d2p1:MCH_Vouchers>
  </ReturnValue>
  <Schema>sample string 4</Schema>
  <Token>sample string 6</Token>
</MethodReturnOfArrayOfMCH_Vouchers8_Sqm_PfRq>