...
The custData
as returned from that REST service might be a JSON object like this:
...
Code Block | ||
---|---|---|
| ||
{ "custno": 1234, |
...
"name": "Industrial Supply Ltd", |
...
"street": "123 Sesame Street", |
...
"city": "New York", |
...
"state": "NY", |
...
"postal": "12345-4321" |
...
} |
Use plugin "Call IBM i Program" to call the IBM i program. For the parameter definition, if the "data type" is "data stucture", the "elements" question is displayed. Click button "Define subfields..." to display a dialog where you can define the data structure subfields, as defined in the RPG code. For the "argument value" question, specify the work variable custData
.
...