POST api/admin/vouchers/generate
Request Information
URI Parameters
None.
Body Parameters
GenerateVouchersRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Count | integer |
None. |
|
| Amount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"count": 1,
"amount": 2.0
}
application/xml, text/xml
Sample:
<GenerateVouchersRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Del.Api.Controllers"> <Amount>2</Amount> <Count>1</Count> </GenerateVouchersRequest>
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.