RESTResponseV2 - Scoped, Global

The RESTResponseV2 API allows you to use the data returned by an outbound REST message in JavaScript code.

A RESTResponseV2 object is returned by the RESTMessageV2 functions execute() and executeAsync().

You can use this API in scoped applications, or within the global scope.