Posts client data

Request

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

Request body

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

{
    "CLIENTDATA": {
        "ADDRESS": "string",
        "ADDRESSES": {
            "DELIVERY": {
                "ADDRESS": "string",
                "CITY": "string",
                "COUNTRYPOST": "string",
                "EXTRAADDRESSNO": "integer",
                "FORENAME": "string",
                "HOUSENUMBER": "string",
                "LASTNAME": "string",
                "MAPAREA": "string",
                "POSTALCODE": "string",
                "POSTBOX": "string"
            },
            "INVOICE": {
                "ADDRESS": "string",
                "CITY": "string",
                "COUNTRYPOST": "string",
                "EXTRAADDRESSNO": "integer",
                "FORENAME": "string",
                "HOUSENUMBER": "string",
                "LASTNAME": "string",
                "MAPAREA": "string",
                "POSTALCODE": "string",
                "POSTBOX": "string"
            }
        },
        "APIPASSWORD": "string",
        "BIRTHDAY": "string",
        "BONUSCARDYN": "string",
        "CITY": "string",
        "CLIENT": "string",
        "COUNTRYPOST": "string",
        "CREATEAPIUSER": "string",
        "DISCOUNTPERC": "string",
        "EMAIL": "string",
        "FORENAME": "string",
        "GENDER": "string",
        "HOMESHOP": "string",
        "HOUSENUMBER": "string",
        "LANGUAGE": "string",
        "LASTNAME": "string",
        "MAPAREA": "string",
        "POSTALCODE": "string",
        "POSTBOX": "string",
        "SENDMAILINGYN": "string",
        "TELEPHONE1": "string",
        "TELEPHONE2": "string",
        "TELEPHONE3": "string",
        "TELEPHONE4": "string",
        "TELETYPE1": "integer",
        "TELETYPE2": "integer",
        "TELETYPE3": "integer",
        "TELETYPE4": "integer",
        "TITLE": "string",
        "VATNO": "string",
        "WEBID": "string"
    }
}

Properties

Name Type Description
CLIENTDATA object
CLIENTDATA.ADDRESS string
CLIENTDATA.ADDRESSES object
CLIENTDATA.ADDRESSES.DELIVERY object
CLIENTDATA.ADDRESSES.DELIVERY.ADDRESS string
CLIENTDATA.ADDRESSES.DELIVERY.CITY string
CLIENTDATA.ADDRESSES.DELIVERY.COUNTRYPOST string
CLIENTDATA.ADDRESSES.DELIVERY.EXTRAADDRESSNO integer
CLIENTDATA.ADDRESSES.DELIVERY.FORENAME string
CLIENTDATA.ADDRESSES.DELIVERY.HOUSENUMBER string
CLIENTDATA.ADDRESSES.DELIVERY.LASTNAME string
CLIENTDATA.ADDRESSES.DELIVERY.MAPAREA string
CLIENTDATA.ADDRESSES.DELIVERY.POSTALCODE string
CLIENTDATA.ADDRESSES.DELIVERY.POSTBOX string
CLIENTDATA.ADDRESSES.INVOICE object
CLIENTDATA.ADDRESSES.INVOICE.ADDRESS string
CLIENTDATA.ADDRESSES.INVOICE.CITY string
CLIENTDATA.ADDRESSES.INVOICE.COUNTRYPOST string
CLIENTDATA.ADDRESSES.INVOICE.EXTRAADDRESSNO integer
CLIENTDATA.ADDRESSES.INVOICE.FORENAME string
CLIENTDATA.ADDRESSES.INVOICE.HOUSENUMBER string
CLIENTDATA.ADDRESSES.INVOICE.LASTNAME string
CLIENTDATA.ADDRESSES.INVOICE.MAPAREA string
CLIENTDATA.ADDRESSES.INVOICE.POSTALCODE string
CLIENTDATA.ADDRESSES.INVOICE.POSTBOX string
CLIENTDATA.APIPASSWORD string
CLIENTDATA.BIRTHDAY string
CLIENTDATA.BONUSCARDYN string
CLIENTDATA.CITY string
CLIENTDATA.CLIENT string
CLIENTDATA.COUNTRYPOST string
CLIENTDATA.CREATEAPIUSER string
CLIENTDATA.DISCOUNTPERC string
CLIENTDATA.EMAIL string
CLIENTDATA.FORENAME string
CLIENTDATA.GENDER string
CLIENTDATA.HOMESHOP string
CLIENTDATA.HOUSENUMBER string
CLIENTDATA.LANGUAGE string
CLIENTDATA.LASTNAME string
CLIENTDATA.MAPAREA string
CLIENTDATA.POSTALCODE string
CLIENTDATA.POSTBOX string
CLIENTDATA.SENDMAILINGYN string
CLIENTDATA.TELEPHONE1 string
CLIENTDATA.TELEPHONE2 string
CLIENTDATA.TELEPHONE3 string
CLIENTDATA.TELEPHONE4 string
CLIENTDATA.TELETYPE1 integer
CLIENTDATA.TELETYPE2 integer
CLIENTDATA.TELETYPE3 integer
CLIENTDATA.TELETYPE4 integer
CLIENTDATA.TITLE string
CLIENTDATA.VATNO string
CLIENTDATA.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_PostClient