RESTAPIResponse - Scoped, Global

A RESTAPIResponse object allows you to build a RESTful response to a scripted REST API request.

Note: You cannot instantiate objects of this type. Objects of this type are created automatically and are accessible only in scripted REST API resource scripts.