Validate and enqueue one action for asynchronous execution.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Post, RequestUri = new Uri("https://example.com/api/workspace/entity/example/ui/actions/example/enqueue"), Content = new StringContent("{ \"ActionTargetScope\": 0, \"EntityInstanceId\": \"example\", \"SelectedEntityInstanceIds\": [ \"example\" ], \"Input\": {}, \"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/entity/example/ui/actions/example/enqueue';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"ActionTargetScope":0,"EntityInstanceId":"example","SelectedEntityInstanceIds":["example"],"Input":{},"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/entity/example/ui/actions/example/enqueue \ --header 'Content-Type: application/json' \ --data '{ "ActionTargetScope": 0, "EntityInstanceId": "example", "SelectedEntityInstanceIds": [ "example" ], "Input": {}, "CorrelationId": "example" }'Authorizations
Section titled “Authorizations”- None
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”Public runtime request to validate or enqueue an action from a UI surface.
object
object
Public runtime request to validate or enqueue an action from a UI surface.
object
object
Public runtime request to validate or enqueue an action from a UI surface.
object
object
Responses
Section titled “Responses”OK
object
Public result returned after a business-function action is queued.
object
Queued job identifier.
Public snapshot of a queued business-function action job.
object
Queued job identifier.
Queued business function identifier.
Captured function version identifier.
Execution source.
Optional deduplication key.
Related entity definition identifier.
Related entity instance identifier.
Action identifier.
Timestamp when the job was queued.
Next eligible execution timestamp.
Last execution error summary.
Public validation result for a business-function action invocation.
object
Designer-owned action identifier.
Business function identifier resolved from the action.
Published function version selected for execution.
Resolved entity definition identifier, when applicable.
Resolved entity instance identifier, when applicable.
Normalized selected entity instance identifiers.
Validation errors returned by the platform or function.
Structured validation error emitted by a Validation business function.
object
Optional entity field key targeted by the error.
User-facing validation message.
Optional stable validation code.
Whether the invocation passed validation.
object
object
object
object
Example
{ "Data": { "Job": { "Status": 0, "ActionTargetScope": 0 }, "Validation": { "ActionTargetScope": 0 } }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Bad Request
object
Public result returned after a business-function action is queued.
object
Queued job identifier.
Public snapshot of a queued business-function action job.
object
Queued job identifier.
Queued business function identifier.
Captured function version identifier.
Execution source.
Optional deduplication key.
Related entity definition identifier.
Related entity instance identifier.
Action identifier.
Timestamp when the job was queued.
Next eligible execution timestamp.
Last execution error summary.
Public validation result for a business-function action invocation.
object
Designer-owned action identifier.
Business function identifier resolved from the action.
Published function version selected for execution.
Resolved entity definition identifier, when applicable.
Resolved entity instance identifier, when applicable.
Normalized selected entity instance identifiers.
Validation errors returned by the platform or function.
Structured validation error emitted by a Validation business function.
object
Optional entity field key targeted by the error.
User-facing validation message.
Optional stable validation code.
Whether the invocation passed validation.
object
object
object
object
Example
{ "Data": { "Job": { "Status": 0, "ActionTargetScope": 0 }, "Validation": { "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
Public result returned after a business-function action is queued.
object
Queued job identifier.
Public snapshot of a queued business-function action job.
object
Queued job identifier.
Queued business function identifier.
Captured function version identifier.
Execution source.
Optional deduplication key.
Related entity definition identifier.
Related entity instance identifier.
Action identifier.
Timestamp when the job was queued.
Next eligible execution timestamp.
Last execution error summary.
Public validation result for a business-function action invocation.
object
Designer-owned action identifier.
Business function identifier resolved from the action.
Published function version selected for execution.
Resolved entity definition identifier, when applicable.
Resolved entity instance identifier, when applicable.
Normalized selected entity instance identifiers.
Validation errors returned by the platform or function.
Structured validation error emitted by a Validation business function.
object
Optional entity field key targeted by the error.
User-facing validation message.
Optional stable validation code.
Whether the invocation passed validation.
object
object
object
object
Example
{ "Data": { "Job": { "Status": 0, "ActionTargetScope": 0 }, "Validation": { "ActionTargetScope": 0 } }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}