I2Rest API Implementation process
Revision as of 14:43, 22 May 2020 by Alexei.baranov (talk | contribs)
In order to convert existing *PGM or *SRVPGM object to REST OAuth2 enabled web service, you have to complete following steps:
- Prepare file describing your program in PCML format. You can do it manually or generate PCML automatically using CRTRPGMOD (PGMINFO and INFOSTMF fields)
- (Optional) Enhance PCML description with extended [I2Rest_PCML_syntax i2Rest PCML attributes and tags]
- Publish PCML description to i2Rest Server using ADD_PCML API or add it to i2Rest Server Configuration file
You don't have to do any changes in your RPGLE code, existing programs can still untouched.