Posts customer's orders

Request

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

Request body

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

{
    "ORDERREQUEST": {
        "ORDERHEADER": {
            "BOTTOMTEXT": "string",
            "COSTFREIGHT": "string",
            "CURRENCY": "string",
            "CUSTOMER": "string",
            "CUSTOMERDISCOUNTPERC": "string",
            "DATEORDERED": "string",
            "DELEXTRAADDRESSNO": "integer",
            "FACEXTRAADDRESSNO": "integer",
            "HEADERTEXT": "string",
            "WEBORDER": "string"
        },
        "ORDERLINES": [
            {
                "ASSORTMENT": "integer",
                "BARCODE": "string",
                "CODEDISCOUNT": "string",
                "DISCOUNT": "string",
                "NETPRICE": "string",
                "ORDERCUSTOMERSEQUENCE": "string",
                "PRICE": "string",
                "PRICEAGREEMENT": "string",
                "QUANTITY": "string",
                "QUANTITYORDEREDASSORT": "string"
            }
        ]
    }
}

Properties

Name Type Description
ORDERREQUEST object
ORDERREQUEST.ORDERHEADER object
ORDERREQUEST.ORDERHEADER.BOTTOMTEXT string
ORDERREQUEST.ORDERHEADER.COSTFREIGHT string
ORDERREQUEST.ORDERHEADER.CURRENCY string
ORDERREQUEST.ORDERHEADER.CUSTOMER string
ORDERREQUEST.ORDERHEADER.CUSTOMERDISCOUNTPERC string
ORDERREQUEST.ORDERHEADER.DATEORDERED string
ORDERREQUEST.ORDERHEADER.DELEXTRAADDRESSNO integer
ORDERREQUEST.ORDERHEADER.FACEXTRAADDRESSNO integer
ORDERREQUEST.ORDERHEADER.HEADERTEXT string
ORDERREQUEST.ORDERHEADER.WEBORDER string
ORDERREQUEST.ORDERLINES[] array
ORDERREQUEST.ORDERLINES[].ASSORTMENT integer
ORDERREQUEST.ORDERLINES[].BARCODE string
ORDERREQUEST.ORDERLINES[].CODEDISCOUNT string
ORDERREQUEST.ORDERLINES[].DISCOUNT string
ORDERREQUEST.ORDERLINES[].NETPRICE string
ORDERREQUEST.ORDERLINES[].ORDERCUSTOMERSEQUENCE string
ORDERREQUEST.ORDERLINES[].PRICE string
ORDERREQUEST.ORDERLINES[].PRICEAGREEMENT string
ORDERREQUEST.ORDERLINES[].QUANTITY string
ORDERREQUEST.ORDERLINES[].QUANTITYORDEREDASSORT 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 B2B_PostOrdCus