POST api/customer/{guid}/voucher/{voucherName}/issue

Manually issue customer voucher for user

Request Information

URI Parameters

NameDescriptionTypeAdditional information
guid

Customer identifier

globally unique identifier

Required

voucherName

voucher name

string

Required

Body Parameters

CustomerVoucherRequest
NameDescriptionTypeAdditional 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": "bmhxLR1Q9k2ThPkniohoIA==",
  "customerIdentifierGuid": "2d71686e-501d-4df6-9384-f9278a886820",
  "voucherName": "sample string 2",
  "expiryDate": "2025-06-14T07:39:15.3214064",
  "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>bmhxLR1Q9k2ThPkniohoIA==</CustomerIdentifier>
  <CustomerIdentifierGuid>2d71686e-501d-4df6-9384-f9278a886820</CustomerIdentifierGuid>
  <ExpiryDate>2025-06-14T07:39:15.3214064+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.