Posts a new gift voucher

Request

POST https://api.gencom.be:49012/TV2/Execute/GCAPIPACK.B2C_PostNewGiftVoucher

Request body

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"
    }
}

Properties

Name Type Description
GIFTVOUCHERDATA object
GIFTVOUCHERDATA.AMOUNT float
GIFTVOUCHERDATA.CLIENT integer
GIFTVOUCHERDATA.CURRENCY string
GIFTVOUCHERDATA.EMAIL string
GIFTVOUCHERDATA.WEBID string

Authorisation

This request requires the use of one of following authorisation methods: TOKEN .

Response

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