Tooling ExecuteAnonymous
GET {{_endpoint}}/services/data/v{{version}}/tooling/executeAnonymous/?anonymousBody=System.Debug('awesome');
Executes Apex code anonymously. Available from API version 29.0 or later.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
anonymousBody | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"line":-1,"column":-1,"compiled":true,"success":true,"compileProblem":null,"exceptionStackTrace":null,"exceptionMessage":null}