Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?

WGETPARAM

The WSETPARAM subroutine will retrieve additional URI parameters.

COMMAND SYNTAX

CALL WGETPARAM(VALUE,PARAM)

SYNTAX ELEMENTS

VALUE The value of the param you requested.
PARAM The param number you want (first is 1)

EXAMPLE

Requested URL

http://localhost:20002/api/employee/1234
CALL WGETPARAM(VALUE,1)
* Value should equal "1234"

NOTES

Typically on rest calls you send the Primary Key you want retrieved as the first parameter.  You would use this subroutine to retrieve that id.

Was this article helpful?