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": "pUibtR5ozUynclzTMgjeBg==", "customerIdentifierGuid": "b59b48a5-681e-4ccd-a772-5cd33208de06", "voucherName": "sample string 2", "expiryDate": "2025-08-02T23:23:52.6448152", "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>pUibtR5ozUynclzTMgjeBg==</CustomerIdentifier> <CustomerIdentifierGuid>b59b48a5-681e-4ccd-a772-5cd33208de06</CustomerIdentifierGuid> <ExpiryDate>2025-08-02T23:23:52.6448152+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.