Preview the active children an Archive policy of a hidden section would archive.
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/form/example/items/example/hidden-policy/preview"), Headers = { { "Authorization", "Bearer <token>" }, },};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/form/example/items/example/hidden-policy/preview';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
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/form/example/items/example/hidden-policy/preview \ --header 'Authorization: Bearer <token>'For a stored parent only. Answers Ready with the count and the token the submission confirms when the
actor can see and archive every active child of the relation, otherwise Unavailable without a count.
Nothing is written.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Parent Entity definition identifier or key.
The Form surface.
The WithParent related-table item.
Query Parameters
Section titled “Query Parameters”The stored parent record.
Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.
Responses
Section titled “Responses”OK
object
The active relation set an Archive policy of a hidden section would archive.
object
Hidden-policy preview state.
Number of active child records when Ready; null otherwise.
Token of the set the submission confirms when Ready; null otherwise.
object
object
object
object
Example
{ "Data": { "State": 0 }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Bad Request
object
The active relation set an Archive policy of a hidden section would archive.
object
Hidden-policy preview state.
Number of active child records when Ready; null otherwise.
Token of the set the submission confirms when Ready; null otherwise.
object
object
object
object
Example
{ "Data": { "State": 0 }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Not Found
object
The active relation set an Archive policy of a hidden section would archive.
object
Hidden-policy preview state.
Number of active child records when Ready; null otherwise.
Token of the set the submission confirms when Ready; null otherwise.
object
object
object
object
Example
{ "Data": { "State": 0 }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}