1. Home
  2. /
  3. API Services
  4. /
  5. API References
  6. /
  7. Basic
  8. /
  9. ip1basicCustomerOrderList.get

ip1basicCustomerOrderList.get

Description

ip1basicCustomerOrderList.get retrieves all or outstanding customer orders for the customer number  and customer reference provided.

Restrictions

Access to any of the operations in ip1basicCustomerOrderList.get is dependent on user access.

Input/Output parameters

View JSON parameters
Input Type Description
CN  10A Customer number (mandatory)
ORDSEL 1A  Order selection:’ ‘=All,’O’=O/S
CREF 30A Customer reference
Output Type Description
ORDERS    
   ODT 1A O/S doc type
   PN 8A Process number
   DT 1A Document type
   DOCN 8A Document type
   DOCD 10A Document date
   TSTS 1A Order Status
   TSTSD 30A Order Status description
   CREF 30A Customer reference
    TOTA 13N2 Total amount

JSON example

View JSON request & response example

Request:

{
“IptorAPI”: “1.0”,
“method”: “ip1basicCustomerOrderList.get”,
“params”: {
“CN”: “0000000025”,
“ORDSEL”: “O”,
“CREF”: “MOT1”
},
“id”: “280898”
}

Response:

{
“IptorAPI”: “1.0”,
“data”: {
“ORDERS”: [
{
“ODT”: “”,
“PN”: “01902741”,
“DT”: “A”,
“DOCN”: “”,
“DOCD”: “2010-03-17”,
“TSTS”: “D”,
“TSTSD”: “IN WAREHOUSE”,
“CREF”: “MOT1”,
“TOTA”: 11
},
{
“ODT”: “”,
“PN”: “01917901”,
“DT”: “A”,
“DOCN”: “”,
“DOCD”: “2013-12-20”,
“TSTS”: “D”,
“TSTSD”: “IN WAREHOUSE”,
“CREF”: “MOT1”,
“TOTA”: 39.45
},
{
“ODT”: “”,
“PN”: “40004426”,
“DT”: “A”,
“DOCN”: “”,
“DOCD”: “2019-11-08”,
“TSTS”: “L”,
“TSTSD”: “IN MAINTENANCE”,
“CREF”: “MOT1”,
“TOTA”: 12.32
}
] },
“id”: “280898”
}

Response format

For standard response format for IP1 API methods, see Response format.

Related topics

ip1basicCustomer.get

ip1basicItem.get

ip1basicItemWarehouseStock.get

ip1basicCustomerItemPrice.get

ip1basicCustomerARBalance.get

ip1basicCustomerOrderDetails.get