Returns the history of orders for a certain customer

Request

GET https://api.gencom.be:49012/TV2/Execute/GCAPIPACK.B2B_GetOrderHistory

Query parameters

Parameter name Type Mandatory Description
strcustomer String Required

If equal to 0 then API will return order history for all customers. If >0 then Api will return order history for given customer number

stroffset String

Default = 1

strlimit String

Default = 1

strscn String Required
strchangedinlastdays String

Default = -1 : If equals to -1 then there is no time limitation of requested orders. If >-1 then API will return only those orders were datetime modified is >= sysdate - IntChangedInLastDays

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_GetOrderHistory

Explore this API

strcustomer

If equal to 0 then API will return order history for all customers. If >0 then Api will return order history for given customer number

stroffset

Default = 1

strlimit

Default = 1

strscn
strchangedinlastdays

Default = -1 : If equals to -1 then there is no time limitation of requested orders. If >-1 then API will return only those orders were datetime modified is >= sysdate - IntChangedInLastDays

Response Content-Type

Choose an authorisation method:

TOKEN TOKEN is required to execute request Create TOKEN to execute request Create TOKEN
Try it out!