Validate input for an admin-launched Global action function.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Post, RequestUri = new Uri("https://example.com/api/workspace/admin/function-catalog/example/global-action/validate"), Headers = { { "Authorization", "Bearer <token>" }, }, Content = new StringContent("{ \"FunctionId\": \"example\", \"Input\": \"example\", \"CorrelationId\": \"example\" }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } }};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://example.com/api/workspace/admin/function-catalog/example/global-action/validate';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"FunctionId":"example","Input":"example","CorrelationId":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/workspace/admin/function-catalog/example/global-action/validate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "FunctionId": "example", "Input": "example", "CorrelationId": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.
Request Body
Section titled “Request Body”Request payload to validate an admin-launched Global action function.
object
Business function identifier.
Action input object keyed by CLR property name.
Optional correlation identifier.
Examplegenerated
{ "FunctionId": "example", "Input": "example", "CorrelationId": "example"}Request payload to validate an admin-launched Global action function.
object
Business function identifier.
Action input object keyed by CLR property name.
Optional correlation identifier.
Examplegenerated
{ "FunctionId": "example", "Input": "example", "CorrelationId": "example"}Request payload to validate an admin-launched Global action function.
object
Business function identifier.
Action input object keyed by CLR property name.
Optional correlation identifier.
Examplegenerated
{ "FunctionId": "example", "Input": "example", "CorrelationId": "example"}Responses
Section titled “Responses”OK
object
Backend-only action invocation validation result.
object
Designer-owned action identifier, or null for admin-launched Global actions.
Business function identifier resolved from the binding.
Published function version pinned for enqueue/execution.
Resolved entity definition identifier, when applicable.
Resolved entity instance identifier, when applicable.
Normalized selected entity instance ids.
Normalized action input JSON snapshot.
Validation errors returned by platform or package validation.
Structured validation error emitted during business-function execution or persistence.
object
Optional entity field key targeted by the error.
User-facing validation message.
Optional stable validation code.
object
object
object
object
Example
{ "Data": { "ActionTargetScope": 0 }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Bad Request
object
Backend-only action invocation validation result.
object
Designer-owned action identifier, or null for admin-launched Global actions.
Business function identifier resolved from the binding.
Published function version pinned for enqueue/execution.
Resolved entity definition identifier, when applicable.
Resolved entity instance identifier, when applicable.
Normalized selected entity instance ids.
Normalized action input JSON snapshot.
Validation errors returned by platform or package validation.
Structured validation error emitted during business-function execution or persistence.
object
Optional entity field key targeted by the error.
User-facing validation message.
Optional stable validation code.
object
object
object
object
Example
{ "Data": { "ActionTargetScope": 0 }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Forbidden
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Not Found
object
Backend-only action invocation validation result.
object
Designer-owned action identifier, or null for admin-launched Global actions.
Business function identifier resolved from the binding.
Published function version pinned for enqueue/execution.
Resolved entity definition identifier, when applicable.
Resolved entity instance identifier, when applicable.
Normalized selected entity instance ids.
Normalized action input JSON snapshot.
Validation errors returned by platform or package validation.
Structured validation error emitted during business-function execution or persistence.
object
Optional entity field key targeted by the error.
User-facing validation message.
Optional stable validation code.
object
object
object
object
Example
{ "Data": { "ActionTargetScope": 0 }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}