Posts a new gift voucher
POST https://api.gencom.be:49012/TV2/Execute/GCAPIPACK.B2C_PostNewGiftVoucher
The request body takes a complete JSON Body - B2C_PostNewGiftVoucher resource, containing the following writable properties:
{
"GIFTVOUCHERDATA": {
"AMOUNT": "float",
"CLIENT": "integer",
"CURRENCY": "string",
"EMAIL": "string",
"WEBID": "string"
}
}
Name | Type | Description |
---|---|---|
GIFTVOUCHERDATA | object | |
GIFTVOUCHERDATA.AMOUNT | float | |
GIFTVOUCHERDATA.CLIENT | integer | |
GIFTVOUCHERDATA.CURRENCY | string | |
GIFTVOUCHERDATA.EMAIL | string | |
GIFTVOUCHERDATA.WEBID | string |
This request requires the use of one of following authorisation methods:
TOKEN
.
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK successful operation |
JSON Response B2C_PostNewGiftVoucher |