Hi All

I am getting 404 error not found when passing in nested datastructures( all
the structures inside structure are having different type and length)


Program structure-
dcl-Pi main ;
P char(1);
Mode Char(1);
File Char(15);
input1 likeDS(input);
Output likeDS(OUTPUT1);
Error Char(1000);
Status Char(1);
end-Pi;

dcl-ds input qualified ;
HEADR_IN likeDS(t_Headquarters_Service);
BILL_IN likeDS(t_BillTo_Service);
end-ds;



Web-services deployment

Procedure name: MAIN
HTTP request method: POST
URI path template for method: {P}/{M}/{F}
HTTP response code output parameter: *NONE
HTTP header array output parameter: *NONE
Allowed input media types: *XML_AND_JSON
Returned output media types: *XML_AND_JSON
Input parameter mappings:
Parameter nameData typeInput sourceIdentifierDefault Value
P char *PATH_PARAM P *NONE
MODE char *PATH_PARAM M *NONE
FILE char *PATH_PARAM F *NONE
INPUT1

POST URL :https://xx.xx.x..x./web/services/WEB1/A/G/HEADQTRS

Body
{
"HEADR_IN":
{ "HEADQUARTERNUMBER":"11",
"HEADQUARTERNAME": "JOHN SMITH",
"HEADQUARTERADDRESSLINE1": "ABC",
"HEADQUARTERADDRESSLINE2": "SOMETHING NEW",
"HEADQUARTERADDRESSLINE3": "ADDRESS 3",
"HEADQUARTERCITY": "BELLEAIR",
"HEADQUARTERSTATE": "FL",
"HEADQUARTERZIPCODE": "33770 ",
"HEADQUARTERCOUNTRY": "IND",
"HEADQUARTERTIMEZONE": "IST",
"HEADQUARTERTELEPHONECOUNTRYCODE": "",
"HEADQUARTERPHONENUMBER": "",
"HEADQUARTERFAXNUMBER": " ",
"HEADQUARTEREMAIL": "T@xxxxxxxxx",
"HEADQUARTERSTATUS": "A",
"HEADQUARTEROPENDATE": "2019-05-23",
"HEADQUARTERCREDITLIMIT": 0,
"HEADQUARTERLASTCHANGEDDATE": "2019-05-23-09.23.48.72",
"BILLTOHEADQUARTERSNUMBER": 0,
"CONTACTCUSTOMERHEADQUARTERSNUMBER": 0,
"CHANGEDTIMESTAMP": "2019-06-06-09.55.52.075875",
"USERIDLASTUPDATED": "FRIND4",
"IDPK": 555
},
"BILL_IN": {
"BILLTOCUSTOMERNUMBER": 0,
"BILLTOCUSTOMERNAME": "string",
"BILLTOCUSTOMERADDRESSLINE1": "string",
"BILLTOCUSTOMERADDRESSLINE2": "string",
"BILLTOCUSTOMERADDRESSLINE3": "string",
"BILLTOCITY": "string",
"BILLTOSTATE": "string",
"BILLTOZIPCODE": "string",
"BILLTOCOUNTRY": "string",
"BILLTOTIMEZONE": "string",
"BILLTOTELEPHONECOUNTRYCODE": "string",
"BILLTOPHONENUMBER": "string",
"BILLTOPHONEEXTENSION": "string",
"BILLTOFAXNUMBER": "string",
"BILLTOSTATUS": "string",
"BILLTOOPENDATE": "2019-06-12",
"BILLTOCURRENCYTYPE": "string",
"BILLTOSALESREP": 0,
"BILLTOTERMSCODE": "string",
"BILLTOSHIPVIA": "string",
"BILLTOFOBCODE": "string",
"BILLTOTAXCODE": "string",
"BILLTOAVERAGEDAYSTOPAY": 0,
"BILLTOCOMMISSIONCODE": "string",
"BILLTOCOPACKER": "string",
"BILLTORAWMATERIALORDERINGAGREEMENT": "string",
"BILLTOBUSINESSCONTRACTAGREEMENT": "string",
"BILLTOVENDORMANAGEDINVENTORY": "string",
"BILLTOACKNOWLEDGEMENTREQUIRED": "string",
"BILLTOSTATEMENTSREQUIRED": "string",
"BILLTOALLOWBACKORDERS": "string",
"BILLTOMINIMUMORDERQUANTITY": 0,
"BILLTOALLOWOVERSHIPMENTS": "string",
"BILLTOOVERSHIPPERCENTAGE": 0,
"BILLTOALLOWOVERPRODUCTION": "string",
"BILLTOOVERPRODUCTIONPERCENTAGE": 0,
"BILLTOALLOWUNDERPRODUCTION": "string",
"BILLTOUNDERPRODUCTIONPERCENTAGE": 0,
"BILLTOHEADQUARTERSNUMBER": 0,
"BILLTOCREDITLIMIT": 0,
"BILLTOLASTCHANGEDDATE": "2019-06-12T03:50:29.743Z",
"CHANGEDUSER": "string",
"IDPK": 0,
"CHANGEDTIMESTAMP": "2019-06-12T03:50:29.743Z"
}
}




As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.