PUIUDFINTO Questions
Posted: Fri Jul 02, 2021 5:05 pm
Scott,
As you know we deal with the diesel engine parts and services industry. One of their big players, Allison Diesel, has decided to completely change the way warranty claims are uploaded to them. Currently we FTP data to them and get status info in return (successful upload, rejected, etc.). They sprung this on us last week and have a deadline of August 1 to implement all the changes. It's going to be massive.
That being said I think the PUIUDFINTO might be the best route to go. I've been looking at the PUI ViewSource for PUIUDFINTO and it seems like it would work. Just a couple of questions that have me confused. I'm not proficient in web service API's and was not sure about some things. I know I can build the JSON file to send using the UDF editor. I've one this in the past but sending the POST to the URL and then the GET to return the status is where I'm lost. Would one of your HTTPAPI examples be a good one for this? Since PUIUDFINTO will be the parser I just need something that will take the URL I need and send the JSON data. I've been playing around with SOAPUI for testing using PUT, GET, and POST but need something coming from an RPG program.
Any suggestions?
As you know we deal with the diesel engine parts and services industry. One of their big players, Allison Diesel, has decided to completely change the way warranty claims are uploaded to them. Currently we FTP data to them and get status info in return (successful upload, rejected, etc.). They sprung this on us last week and have a deadline of August 1 to implement all the changes. It's going to be massive.
That being said I think the PUIUDFINTO might be the best route to go. I've been looking at the PUI ViewSource for PUIUDFINTO and it seems like it would work. Just a couple of questions that have me confused. I'm not proficient in web service API's and was not sure about some things. I know I can build the JSON file to send using the UDF editor. I've one this in the past but sending the POST to the URL and then the GET to return the status is where I'm lost. Would one of your HTTPAPI examples be a good one for this? Since PUIUDFINTO will be the parser I just need something that will take the URL I need and send the JSON data. I've been playing around with SOAPUI for testing using PUT, GET, and POST but need something coming from an RPG program.
Any suggestions?