POST api/Payment/GetVoucherDetails
Request Information
URI Parameters
None.
Body Parameters
VoucherDetailsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DoctorId | integer |
None. |
|
| OrderId | decimal number |
None. |
|
| TotalVoucher | integer |
None. |
|
| UsedVoucher | integer |
None. |
|
| Amount | decimal number |
None. |
|
| CreatedOn | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"DoctorId": 1,
"OrderId": 2.1,
"TotalVoucher": 3,
"UsedVoucher": 4,
"Amount": 5.1,
"CreatedOn": "2026-01-12T18:57:46.2164998+05:30"
}
application/xml, text/xml
Sample:
<VoucherDetailsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AssociateAPI.Models"> <Amount>5.1</Amount> <CreatedOn>2026-01-12T18:57:46.2164998+05:30</CreatedOn> <DoctorId>1</DoctorId> <OrderId>2.1</OrderId> <TotalVoucher>3</TotalVoucher> <UsedVoucher>4</UsedVoucher> </VoucherDetailsModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.