GET api/SuperAdmin/GetDiscountVouchers?VoucherTitle={VoucherTitle}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
VoucherTitle

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of GET_DISCOUNT_VOUCHERS_Result
NameDescriptionTypeAdditional information
DiscountVoucherID

integer

None.

VoucherTitle

string

None.

VoucherCode

string

None.

VoucherDecription

string

None.

VoucherImage

string

None.

DiscountPercentage

decimal number

None.

DiscountAmount

decimal number

None.

IsLabApplicable

boolean

None.

IsMedicineApplicable

boolean

None.

IsAppointmentApplicable

boolean

None.

IsEnabled

boolean

None.

AddedDateTime

date

None.

Status

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DiscountVoucherID": 1,
    "VoucherTitle": "sample string 2",
    "VoucherCode": "sample string 3",
    "VoucherDecription": "sample string 4",
    "VoucherImage": "sample string 5",
    "DiscountPercentage": 1.1,
    "DiscountAmount": 1.0,
    "IsLabApplicable": true,
    "IsMedicineApplicable": true,
    "IsAppointmentApplicable": true,
    "IsEnabled": true,
    "AddedDateTime": "2024-09-19T07:42:23.9493135-05:00",
    "Status": true
  },
  {
    "DiscountVoucherID": 1,
    "VoucherTitle": "sample string 2",
    "VoucherCode": "sample string 3",
    "VoucherDecription": "sample string 4",
    "VoucherImage": "sample string 5",
    "DiscountPercentage": 1.1,
    "DiscountAmount": 1.0,
    "IsLabApplicable": true,
    "IsMedicineApplicable": true,
    "IsAppointmentApplicable": true,
    "IsEnabled": true,
    "AddedDateTime": "2024-09-19T07:42:23.9493135-05:00",
    "Status": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfGET_DISCOUNT_VOUCHERS_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SapiensIn.Models">
  <GET_DISCOUNT_VOUCHERS_Result>
    <AddedDateTime>2024-09-19T07:42:23.9493135-05:00</AddedDateTime>
    <DiscountAmount>1</DiscountAmount>
    <DiscountPercentage>1.1</DiscountPercentage>
    <DiscountVoucherID>1</DiscountVoucherID>
    <IsAppointmentApplicable>true</IsAppointmentApplicable>
    <IsEnabled>true</IsEnabled>
    <IsLabApplicable>true</IsLabApplicable>
    <IsMedicineApplicable>true</IsMedicineApplicable>
    <Status>true</Status>
    <VoucherCode>sample string 3</VoucherCode>
    <VoucherDecription>sample string 4</VoucherDecription>
    <VoucherImage>sample string 5</VoucherImage>
    <VoucherTitle>sample string 2</VoucherTitle>
  </GET_DISCOUNT_VOUCHERS_Result>
  <GET_DISCOUNT_VOUCHERS_Result>
    <AddedDateTime>2024-09-19T07:42:23.9493135-05:00</AddedDateTime>
    <DiscountAmount>1</DiscountAmount>
    <DiscountPercentage>1.1</DiscountPercentage>
    <DiscountVoucherID>1</DiscountVoucherID>
    <IsAppointmentApplicable>true</IsAppointmentApplicable>
    <IsEnabled>true</IsEnabled>
    <IsLabApplicable>true</IsLabApplicable>
    <IsMedicineApplicable>true</IsMedicineApplicable>
    <Status>true</Status>
    <VoucherCode>sample string 3</VoucherCode>
    <VoucherDecription>sample string 4</VoucherDecription>
    <VoucherImage>sample string 5</VoucherImage>
    <VoucherTitle>sample string 2</VoucherTitle>
  </GET_DISCOUNT_VOUCHERS_Result>
</ArrayOfGET_DISCOUNT_VOUCHERS_Result>