Queue a selected Blueprint plan application and return operation progress.
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/blueprints/example/apply"), Headers = { { "Authorization", "Bearer <token>" }, }, Content = new StringContent("{ \"IdempotencyKey\": \"example\", \"Parameters\": { \"additionalProperty\": \"example\" }, \"SelectedOptionalItemIds\": [ \"example\" ], \"ExpectedPlanHash\": \"example\", \"RuntimeMenuNavigation\": { \"Enabled\": true, \"RuntimeMenuId\": \"example\" }, \"DependencyResolutions\": [ { \"SlotKey\": \"example\", \"Mode\": 0, \"EntityDefinitionId\": \"example\", \"FieldMappings\": { \"additionalProperty\": \"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/blueprints/example/apply';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"IdempotencyKey":"example","Parameters":{"additionalProperty":"example"},"SelectedOptionalItemIds":["example"],"ExpectedPlanHash":"example","RuntimeMenuNavigation":{"Enabled":true,"RuntimeMenuId":"example"},"DependencyResolutions":[{"SlotKey":"example","Mode":0,"EntityDefinitionId":"example","FieldMappings":{"additionalProperty":"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/blueprints/example/apply \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "IdempotencyKey": "example", "Parameters": { "additionalProperty": "example" }, "SelectedOptionalItemIds": [ "example" ], "ExpectedPlanHash": "example", "RuntimeMenuNavigation": { "Enabled": true, "RuntimeMenuId": "example" }, "DependencyResolutions": [ { "SlotKey": "example", "Mode": 0, "EntityDefinitionId": "example", "FieldMappings": { "additionalProperty": "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 for Blueprint application.
object
object
Runtime-menu navigation selection for Blueprint plan and apply.
object
Resolution of one Blueprint dependency slot.
object
object
Request payload for Blueprint application.
object
object
Runtime-menu navigation selection for Blueprint plan and apply.
object
Resolution of one Blueprint dependency slot.
object
object
Request payload for Blueprint application.
object
object
Runtime-menu navigation selection for Blueprint plan and apply.
object
Resolution of one Blueprint dependency slot.
object
object
Responses
Section titled “Responses”OK
object
Status of a queued, running, or completed Blueprint application operation.
object
object
object
Result returned after Blueprint apply or idempotent replay.
object
Artifact persisted in a Blueprint application record.
object
Post-apply navigation target.
object
Manual action recommended after a Blueprint application is completed.
object
Runtime demo record created by a Blueprint application.
object
object
object
object
object
Example
{ "Data": { "Status": 0, "Errors": [ { "Type": 0, "Severity": 0 } ], "Result": { "Artifacts": [ { "Action": 0 } ] } }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Bad Request
object
Status of a queued, running, or completed Blueprint application operation.
object
object
object
Result returned after Blueprint apply or idempotent replay.
object
Artifact persisted in a Blueprint application record.
object
Post-apply navigation target.
object
Manual action recommended after a Blueprint application is completed.
object
Runtime demo record created by a Blueprint application.
object
object
object
object
object
Example
{ "Data": { "Status": 0, "Errors": [ { "Type": 0, "Severity": 0 } ], "Result": { "Artifacts": [ { "Action": 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
Status of a queued, running, or completed Blueprint application operation.
object
object
object
Result returned after Blueprint apply or idempotent replay.
object
Artifact persisted in a Blueprint application record.
object
Post-apply navigation target.
object
Manual action recommended after a Blueprint application is completed.
object
Runtime demo record created by a Blueprint application.
object
object
object
object
object
Example
{ "Data": { "Status": 0, "Errors": [ { "Type": 0, "Severity": 0 } ], "Result": { "Artifacts": [ { "Action": 0 } ] } }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Conflict
object
Status of a queued, running, or completed Blueprint application operation.
object
object
object
Result returned after Blueprint apply or idempotent replay.
object
Artifact persisted in a Blueprint application record.
object
Post-apply navigation target.
object
Manual action recommended after a Blueprint application is completed.
object
Runtime demo record created by a Blueprint application.
object
object
object
object
object
Example
{ "Data": { "Status": 0, "Errors": [ { "Type": 0, "Severity": 0 } ], "Result": { "Artifacts": [ { "Action": 0 } ] } }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}