# WGETPARAM

Updated: 9/28/2020, 10:32:47 PM
Created: 9/28/2020, 10:32:47 PM
Last Updated By: Peter Schellenbach
Read Time: 1 minute(s)

The WGETPARAM subroutine will retrieve additional URI parameters.

# WGETPARAM Syntax

CALL WGETPARAM(VALUE,PARAM)
1

# Syntax Elements

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

# WGETPARAM Example

Requested URL

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

# WGETPARAM 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.