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
CustomerVoucherRequestName | 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": "T59M+XFwLEez9Z/LlUc+Ow==", "customerIdentifierGuid": "f94c9f4f-7071-472c-b3f5-9fcb95473e3b", "voucherName": "sample string 2", "expiryDate": "2025-10-05T00:02:39.9431496", "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>T59M+XFwLEez9Z/LlUc+Ow==</CustomerIdentifier> <CustomerIdentifierGuid>f94c9f4f-7071-472c-b3f5-9fcb95473e3b</CustomerIdentifierGuid> <ExpiryDate>2025-10-05T00:02:39.9431496+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.