You can use the [GET_ELEMENTS()](https://community.denodo.com/docs/html/browse/6.0/vdp/vql/stored_procedures/predefined_stored_procedures/get_elements) function or the [WEBCONTAINER_ELEMENTS()](https://community.denodo.com/docs/html/browse/6.0/vdp/vql/stored_procedures/predefined_stored_procedures/webcontainer_elements) stored procedure to get this list. I'd suggest the latter, as it will allow you to filter by *servicetype=REST* as well as *deployed=true* if desired. In addition to the *servicename*, it provides the *context* path if you need it, so you can concatenate the server path for your ping process.
`CALL WEBCONTAINER_ELEMENTS(null, null, 'REST', null, null, null, null);`
Hope this helps!