POST api/customer/{guid}/voucher/{voucherName}/issue
Manually issue customer voucher for user
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| guid |
Customer identifier |
globally unique identifier |
Required |
| voucherName |
voucher name |
string |
Required |
Body Parameters
CustomerVoucherRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerIdentifier | Collection of byte |
None. |
|
| CustomerIdentifierGuid |
Customer identifier of customer to issue voucher for |
globally unique identifier |
None. |
| VoucherName |
Name of the voucher to issue |
string |
None. |
| ExpiryDate |
Expiry date to override any default expiry |
date |
None. |
| Notes |
Notes from user making request |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"customerIdentifier": "nevy9l0h/E+6rJxntqBRDw==",
"customerIdentifierGuid": "f6f2eb9d-215d-4ffc-baac-9c67b6a0510f",
"voucherName": "sample string 2",
"expiryDate": "2026-04-03T06:21:13.8922114",
"notes": "sample string 3"
}
application/xml, text/xml
Sample:
<CustomerVoucherRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Customers"> <CustomerIdentifier>nevy9l0h/E+6rJxntqBRDw==</CustomerIdentifier> <CustomerIdentifierGuid>f6f2eb9d-215d-4ffc-baac-9c67b6a0510f</CustomerIdentifierGuid> <ExpiryDate>2026-04-03T06:21:13.8922114+00:00</ExpiryDate> <Notes>sample string 3</Notes> <VoucherName>sample string 2</VoucherName> </CustomerVoucherRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.