Why is the Response missing values for sxapioegetlistofordersv4?
![Jason Mariquina](https://us.v-cdn.net/6038362/uploads/defaultavatar/nUHR1QGB6O9DI.jpg)
Jason Mariquina
Member Posts: 3
in API Gateway
/SX/rest/sxapirestservice/sxapioegetlistofordersv4
The full url path for the api is above.
Response for a successful request is as follows:
{ "response": { "cErrorMessage": "string", "moreRecordsAvailable": true, "totalInvoiceAmount": 0, "totalInvoiceOrdered": 0, "totalLineAmount": 0, "totalLineOrdered": 0, "tOeordV4": { "t-oeordV4": [ { "orderNo": 0, "orderSuf": 0, "whse": "string", "custNo": 0, "shipTo": "string", "stageCd": 0, "stageCdWords": "string", "enterDt": "2025-01-29", "totInvAmt": 0, "transType": "string", "custPo": "string", "reqShipDt": "2025-01-29", "promiseDt": "2025-01-29", "pickedDt": "2025-01-29", "shipDt": "2025-01-29", "invoiceDt": "2025-01-29", "sortFld": "string", "approvty": "string", "pickedtm": "string", "pickinit": "string", "takenBy": "string", "totLineOrd": 0, "totLineAmt": 0, "shiptonm": "string", "shiptost": "string", "shiptozip": "string", "shiptoaddr1": "string", "shiptoaddr2": "string", "shiptocity": "string", "shipviaty": "string", "shipviadesc": "string", "route": "string", "totcubes": 0, "totweight": 0, "refer": "string", "nolineitem": 0, "totqtyord": 0, "totqtyshp": 0, "custname": "string", "CODAmount": 0, "CODFlag": true } ] } }}
However the response in the API explorer is the following:
{ "response": { "cErrorMessage": "", "moreRecordsAvailable": false, "totalInvoiceAmount": 1.00, "totalInvoiceOrdered": 1.00, "totalLineAmount": 79.18, "totalLineOrdered": 1.00, "tOeordV4": { "t-oeordV4": [ { "orderNo": 20082, "orderSuf": 0, "whse": "main", "custNo": 111, "shipTo": "", "stageCd": 4, "stageCdWords": "Inv", "enterDt": "2025-01-23", "totInvAmt": 1.00, "transType": "so", "custPo": "", "reqShipDt": "2025-01-24", "promiseDt": "2025-01-24", "pickedDt": "2025-01-23", "shipDt": "2025-01-24", "invoiceDt": "2025-01-24", "sortFld": " 2008200 2008200", "approvty": "Y", "pickedtm": "1000", "pickinit": "UU01", "takenBy": "sys", "totLineOrd": 1.00, "totLineAmt": 1.00 } ] } }}
0
Answers
-
Jason - I am seeing the same thing. Also the API Documentation backs the response we are getting. It appears the swagger doc is incorrect.
1