POST api/Online/EditVoucher

Request Information

URI Parameters

None.

Body Parameters

Online_Voucher
NameDescriptionTypeAdditional 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.

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": "2022-05-23T22:29:37.7601824+01:00",
  "ExpireDate": "2022-05-23T22:29:37.7601824+01:00",
  "Deactivated": 1,
  "Status": 1,
  "DaysActive": "sample string 5",
  "StartTime": "2022-05-23T22:29:37.7601824+01:00",
  "EndTime": "2022-05-23T22:29:37.7601824+01:00"
}

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>2022-05-23T22:29:37.7601824+01:00</CreatedDate>
  <DaysActive>sample string 5</DaysActive>
  <Deactivated>1</Deactivated>
  <EndTime>2022-05-23T22:29:37.7601824+01:00</EndTime>
  <ExpireDate>2022-05-23T22:29:37.7601824+01:00</ExpireDate>
  <ID>1</ID>
  <MaxUsage>1</MaxUsage>
  <MerchantId>1</MerchantId>
  <MinimumAmount>1</MinimumAmount>
  <Notes>sample string 4</Notes>
  <PIN>sample string 2</PIN>
  <StartTime>2022-05-23T22:29:37.7601824+01:00</StartTime>
  <Status>1</Status>
</Online_Voucher>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.