# WGETPARAM

Updated: 7/8/2020, 5:59:18 PM
Created: 7/8/2020, 5:59:18 PM
Last Updated By: Ryan Medina
Read Time: 1 minute(s)

The WSETPARAM subroutine will retrieve additional URI parameters.

# Command Syntax

CALL WGETPARAM(VALUE,PARAM)
1

# 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
1
CALL WGETPARAM(VALUE,1)
* Value should equal "1234"
1
2

# Notest

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.