Posts a new credit note voucher

Request

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

Request body

The request body takes a complete JSON Body - B2C_PostNewCreditNoteVoucher resource, containing the following writable properties:

{
    "CREDITVOUCHERDATA": {
        "AMOUNT": "float",
        "CLIENT": "integer",
        "CURRENCY": "string",
        "EMAIL": "string",
        "WEBID": "string"
    }
}

Properties

Name Type Description
CREDITVOUCHERDATA object
CREDITVOUCHERDATA.AMOUNT float
CREDITVOUCHERDATA.CLIENT integer
CREDITVOUCHERDATA.CURRENCY string
CREDITVOUCHERDATA.EMAIL string
CREDITVOUCHERDATA.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_PostNewCreditNoteVoucher