POST api/Online/EditVoucher
Request Information
URI Parameters
None.
Body Parameters
Online_Voucher| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| MerchantId | integer |
None. |
|
| PIN | string |
None. |
|
| Amount | string |
None. |
|
| MinimumAmount | integer |
None. |
|
| MaxUsage | integer |
None. |
|
| Notes | string |
None. |
|
| CreatedDate | date |
None. |
|
| ExpireDate | date |
None. |
|
| Deactivated | integer |
None. |
|
| Status | integer |
None. |
|
| DaysActive | string |
None. |
|
| StartTime | date |
None. |
|
| EndTime | date |
None. |
|
| OrderType | string |
None. |
|
| MenuItemIds | string |
None. |
|
| CustomerType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"MerchantId": 1,
"PIN": "sample string 2",
"Amount": "sample string 3",
"MinimumAmount": 1,
"MaxUsage": 1,
"Notes": "sample string 4",
"CreatedDate": "2025-10-29T15:29:37.4373283+00:00",
"ExpireDate": "2025-10-29T15:29:37.4373283+00:00",
"Deactivated": 1,
"Status": 1,
"DaysActive": "sample string 5",
"StartTime": "2025-10-29T15:29:37.4373283+00:00",
"EndTime": "2025-10-29T15:29:37.4373283+00:00",
"OrderType": "sample string 6",
"MenuItemIds": "sample string 7",
"CustomerType": 1
}
application/xml, text/xml
Sample:
<Online_Voucher xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LP.WebAPI.Models"> <Amount>sample string 3</Amount> <CreatedDate>2025-10-29T15:29:37.4373283+00:00</CreatedDate> <CustomerType>1</CustomerType> <DaysActive>sample string 5</DaysActive> <Deactivated>1</Deactivated> <EndTime>2025-10-29T15:29:37.4373283+00:00</EndTime> <ExpireDate>2025-10-29T15:29:37.4373283+00:00</ExpireDate> <ID>1</ID> <MaxUsage>1</MaxUsage> <MenuItemIds>sample string 7</MenuItemIds> <MerchantId>1</MerchantId> <MinimumAmount>1</MinimumAmount> <Notes>sample string 4</Notes> <OrderType>sample string 6</OrderType> <PIN>sample string 2</PIN> <StartTime>2025-10-29T15:29:37.4373283+00:00</StartTime> <Status>1</Status> </Online_Voucher>
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.