Return one explicit hierarchy level for a saved Form Reference field.
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/reference-hierarchy/explicit/levels/1"), Headers = { { "Authorization", "Bearer <token>" }, }, Content = new StringContent("{ \"Context\": { \"ExpectedFormSurfaceRowVersion\": \"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0\", \"SourceInstanceId\": \"example\", \"CurrentValues\": { \"additionalProperty\": \"example\" }, \"ParentContext\": { \"EntityDefinitionId\": \"example\", \"FormSurfaceId\": \"example\", \"ExpectedRevision\": \"example\", \"ItemId\": \"example\", \"ParentInstanceId\": \"example\", \"ParentFields\": { \"additionalProperty\": \"example\" } } }, \"Query\": { \"SelectedAncestorIds\": [ \"example\" ], \"ParentId\": \"example\", \"Search\": \"example\", \"Page\": 1, \"PageSize\": 1, \"Sort\": [ { \"Field\": { \"FieldId\": \"example\", \"FieldKey\": \"example\", \"Special\": 0, \"StatementId\": \"example\", \"StatementKey\": \"example\", \"ObjectContextFactId\": \"example\", \"ObjectContextFactFilterKey\": \"example\" }, \"Target\": { \"Path\": [ { \"FieldId\": \"example\", \"FieldKey\": \"example\", \"Special\": 0, \"StatementId\": \"example\", \"StatementKey\": \"example\", \"ObjectContextFactId\": \"example\", \"ObjectContextFactFilterKey\": \"example\" } ] }, \"Direction\": 0 } ] } }") { 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/form/example/items/example/reference-hierarchy/explicit/levels/1';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"Context":{"ExpectedFormSurfaceRowVersion":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","SourceInstanceId":"example","CurrentValues":{"additionalProperty":"example"},"ParentContext":{"EntityDefinitionId":"example","FormSurfaceId":"example","ExpectedRevision":"example","ItemId":"example","ParentInstanceId":"example","ParentFields":{"additionalProperty":"example"}}},"Query":{"SelectedAncestorIds":["example"],"ParentId":"example","Search":"example","Page":1,"PageSize":1,"Sort":[{"Field":{"FieldId":"example","FieldKey":"example","Special":0,"StatementId":"example","StatementKey":"example","ObjectContextFactId":"example","ObjectContextFactFilterKey":"example"},"Target":{"Path":[{"FieldId":"example","FieldKey":"example","Special":0,"StatementId":"example","StatementKey":"example","ObjectContextFactId":"example","ObjectContextFactFilterKey":"example"}]},"Direction":0}]}}'};
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/reference-hierarchy/explicit/levels/1 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "Context": { "ExpectedFormSurfaceRowVersion": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "SourceInstanceId": "example", "CurrentValues": { "additionalProperty": "example" }, "ParentContext": { "EntityDefinitionId": "example", "FormSurfaceId": "example", "ExpectedRevision": "example", "ItemId": "example", "ParentInstanceId": "example", "ParentFields": { "additionalProperty": "example" } } }, "Query": { "SelectedAncestorIds": [ "example" ], "ParentId": "example", "Search": "example", "Page": 1, "PageSize": 1, "Sort": [ { "Field": { "FieldId": "example", "FieldKey": "example", "Special": 0, "StatementId": "example", "StatementKey": "example", "ObjectContextFactId": "example", "ObjectContextFactFilterKey": "example" }, "Target": { "Path": [ { "FieldId": "example", "FieldKey": "example", "Special": 0, "StatementId": "example", "StatementKey": "example", "ObjectContextFactId": "example", "ObjectContextFactFilterKey": "example" } ] }, "Direction": 0 } ] } }'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”Form hierarchy page request.
object
Saved Form context used by hierarchy model, page, and selection routes.
object
Exact owning Form Surface revision.
Existing source record identifier for edit, or null for create.
Dynamic Form draft values keyed by the server-declared source field keys. Reference values are raw Entity Instance identifier strings, not value wrappers.
object
A typed scalar or complex field value. Reference fields use the raw Entity Instance identifier string.
The parent draft of a child draft in a Form with a WithParent section, sent with a child-scoped request made
before the Form is saved. The server builds the parent’s effective draft for the actor (defaults, effects and
calculations of the parent Form evaluation) and exposes it only as the record the child’s parent Reference points to;
the child’s parent Reference is set by the server. Preview only: nothing is written and nothing is granted, the Form
submission decides everything again.
object
Id of the parent Entity definition.
Id of the parent Form surface.
The Submission.Revision of the parent Form the client renders.
Id of a WithParent related-table item of the child’s relation (any repeated item of that relation; its
own child Form is the one the request runs on).
Id of the existing parent record; null while the parent is created by the same Form.
Unsaved parent draft values by field key, as the parent Form evaluation takes them.
object
Search, sorting, paging, and relationship context for one hierarchy level.
object
Explicit-path ancestors in rendered root-to-parent order.
Recursive parent identifier for a direct-child request.
Optional configured Entity search term.
One-based requested page.
Requested page size. The effective maximum is 250.
Optional current-level sort sequence of at most three items.
One sort item in the runtime list query.
object
Reference to a runtime field by identifier, normalized key, or special query field. In a typed path the segment is resolved against the entity reached by the preceding reference.
object
Field identifier or backend-issued synthetic system-field identifier. If FieldKey is also supplied, both must resolve to the same field.
Field key resolved through the current entity’s normalized-key index. If FieldId is also supplied, both must resolve to the same field.
Statement identifier resolved through the runtime statement index.
Statement key resolved through the runtime normalized-key index.
Configured object-context fact identifier.
Provider-owned object-context fact filter facet key.
Typed server-side sort target. The first segment belongs to the queried entity; every intermediate segment must be a readable, sortable primary-table reference.
object
Ordered path of one to four segments ending in a sortable field or system field. Each segment may contain an ID, a key, or both; an ID/key mismatch is rejected.
Reference to a runtime field by identifier, normalized key, or special query field. In a typed path the segment is resolved against the entity reached by the preceding reference.
object
Field identifier or backend-issued synthetic system-field identifier. If FieldKey is also supplied, both must resolve to the same field.
Field key resolved through the current entity’s normalized-key index. If FieldId is also supplied, both must resolve to the same field.
Statement identifier resolved through the runtime statement index.
Statement key resolved through the runtime normalized-key index.
Configured object-context fact identifier.
Provider-owned object-context fact filter facet key.
Form hierarchy page request.
object
Saved Form context used by hierarchy model, page, and selection routes.
object
Exact owning Form Surface revision.
Existing source record identifier for edit, or null for create.
Dynamic Form draft values keyed by the server-declared source field keys. Reference values are raw Entity Instance identifier strings, not value wrappers.
object
A typed scalar or complex field value. Reference fields use the raw Entity Instance identifier string.
The parent draft of a child draft in a Form with a WithParent section, sent with a child-scoped request made
before the Form is saved. The server builds the parent’s effective draft for the actor (defaults, effects and
calculations of the parent Form evaluation) and exposes it only as the record the child’s parent Reference points to;
the child’s parent Reference is set by the server. Preview only: nothing is written and nothing is granted, the Form
submission decides everything again.
object
Id of the parent Entity definition.
Id of the parent Form surface.
The Submission.Revision of the parent Form the client renders.
Id of a WithParent related-table item of the child’s relation (any repeated item of that relation; its
own child Form is the one the request runs on).
Id of the existing parent record; null while the parent is created by the same Form.
Unsaved parent draft values by field key, as the parent Form evaluation takes them.
object
Search, sorting, paging, and relationship context for one hierarchy level.
object
Explicit-path ancestors in rendered root-to-parent order.
Recursive parent identifier for a direct-child request.
Optional configured Entity search term.
One-based requested page.
Requested page size. The effective maximum is 250.
Optional current-level sort sequence of at most three items.
One sort item in the runtime list query.
object
Reference to a runtime field by identifier, normalized key, or special query field. In a typed path the segment is resolved against the entity reached by the preceding reference.
object
Field identifier or backend-issued synthetic system-field identifier. If FieldKey is also supplied, both must resolve to the same field.
Field key resolved through the current entity’s normalized-key index. If FieldId is also supplied, both must resolve to the same field.
Statement identifier resolved through the runtime statement index.
Statement key resolved through the runtime normalized-key index.
Configured object-context fact identifier.
Provider-owned object-context fact filter facet key.
Typed server-side sort target. The first segment belongs to the queried entity; every intermediate segment must be a readable, sortable primary-table reference.
object
Ordered path of one to four segments ending in a sortable field or system field. Each segment may contain an ID, a key, or both; an ID/key mismatch is rejected.
Reference to a runtime field by identifier, normalized key, or special query field. In a typed path the segment is resolved against the entity reached by the preceding reference.
object
Field identifier or backend-issued synthetic system-field identifier. If FieldKey is also supplied, both must resolve to the same field.
Field key resolved through the current entity’s normalized-key index. If FieldId is also supplied, both must resolve to the same field.
Statement identifier resolved through the runtime statement index.
Statement key resolved through the runtime normalized-key index.
Configured object-context fact identifier.
Provider-owned object-context fact filter facet key.
Form hierarchy page request.
object
Saved Form context used by hierarchy model, page, and selection routes.
object
Exact owning Form Surface revision.
Existing source record identifier for edit, or null for create.
Dynamic Form draft values keyed by the server-declared source field keys. Reference values are raw Entity Instance identifier strings, not value wrappers.
object
A typed scalar or complex field value. Reference fields use the raw Entity Instance identifier string.
The parent draft of a child draft in a Form with a WithParent section, sent with a child-scoped request made
before the Form is saved. The server builds the parent’s effective draft for the actor (defaults, effects and
calculations of the parent Form evaluation) and exposes it only as the record the child’s parent Reference points to;
the child’s parent Reference is set by the server. Preview only: nothing is written and nothing is granted, the Form
submission decides everything again.
object
Id of the parent Entity definition.
Id of the parent Form surface.
The Submission.Revision of the parent Form the client renders.
Id of a WithParent related-table item of the child’s relation (any repeated item of that relation; its
own child Form is the one the request runs on).
Id of the existing parent record; null while the parent is created by the same Form.
Unsaved parent draft values by field key, as the parent Form evaluation takes them.
object
Search, sorting, paging, and relationship context for one hierarchy level.
object
Explicit-path ancestors in rendered root-to-parent order.
Recursive parent identifier for a direct-child request.
Optional configured Entity search term.
One-based requested page.
Requested page size. The effective maximum is 250.
Optional current-level sort sequence of at most three items.
One sort item in the runtime list query.
object
Reference to a runtime field by identifier, normalized key, or special query field. In a typed path the segment is resolved against the entity reached by the preceding reference.
object
Field identifier or backend-issued synthetic system-field identifier. If FieldKey is also supplied, both must resolve to the same field.
Field key resolved through the current entity’s normalized-key index. If FieldId is also supplied, both must resolve to the same field.
Statement identifier resolved through the runtime statement index.
Statement key resolved through the runtime normalized-key index.
Configured object-context fact identifier.
Provider-owned object-context fact filter facet key.
Typed server-side sort target. The first segment belongs to the queried entity; every intermediate segment must be a readable, sortable primary-table reference.
object
Ordered path of one to four segments ending in a sortable field or system field. Each segment may contain an ID, a key, or both; an ID/key mismatch is rejected.
Reference to a runtime field by identifier, normalized key, or special query field. In a typed path the segment is resolved against the entity reached by the preceding reference.
object
Field identifier or backend-issued synthetic system-field identifier. If FieldKey is also supplied, both must resolve to the same field.
Field key resolved through the current entity’s normalized-key index. If FieldId is also supplied, both must resolve to the same field.
Statement identifier resolved through the runtime statement index.
Statement key resolved through the runtime normalized-key index.
Configured object-context fact identifier.
Provider-owned object-context fact filter facet key.
Responses
Section titled “Responses”OK
object
One paged hierarchy level.
object
Stable guidance code for a closed state.
Display-safe options. Empty for every non-ready state.
One display-safe hierarchy option.
object
Entity Instance identifier.
Current display name.
Optional current subtitle.
Whether at least one readable structural child exists.
Whether the option may be returned as the terminal Reference value.
Optional safe localized explanation for a non-confirmable state.
One-based effective page.
Effective bounded page size.
Accessible post-policy total count for a ready response only.
object
object
object
object
Example
{ "Data": { "State": 0, "Items": [ { "ConfirmationState": 0 } ] }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Bad Request
object
One paged hierarchy level.
object
Stable guidance code for a closed state.
Display-safe options. Empty for every non-ready state.
One display-safe hierarchy option.
object
Entity Instance identifier.
Current display name.
Optional current subtitle.
Whether at least one readable structural child exists.
Whether the option may be returned as the terminal Reference value.
Optional safe localized explanation for a non-confirmable state.
One-based effective page.
Effective bounded page size.
Accessible post-policy total count for a ready response only.
object
object
object
object
Example
{ "Data": { "State": 0, "Items": [ { "ConfirmationState": 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
One paged hierarchy level.
object
Stable guidance code for a closed state.
Display-safe options. Empty for every non-ready state.
One display-safe hierarchy option.
object
Entity Instance identifier.
Current display name.
Optional current subtitle.
Whether at least one readable structural child exists.
Whether the option may be returned as the terminal Reference value.
Optional safe localized explanation for a non-confirmable state.
One-based effective page.
Effective bounded page size.
Accessible post-policy total count for a ready response only.
object
object
object
object
Example
{ "Data": { "State": 0, "Items": [ { "ConfirmationState": 0 } ] }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Conflict
object
One paged hierarchy level.
object
Stable guidance code for a closed state.
Display-safe options. Empty for every non-ready state.
One display-safe hierarchy option.
object
Entity Instance identifier.
Current display name.
Optional current subtitle.
Whether at least one readable structural child exists.
Whether the option may be returned as the terminal Reference value.
Optional safe localized explanation for a non-confirmable state.
One-based effective page.
Effective bounded page size.
Accessible post-policy total count for a ready response only.
object
object
object
object
Example
{ "Data": { "State": 0, "Items": [ { "ConfirmationState": 0 } ] }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Service Unavailable
object
One paged hierarchy level.
object
Stable guidance code for a closed state.
Display-safe options. Empty for every non-ready state.
One display-safe hierarchy option.
object
Entity Instance identifier.
Current display name.
Optional current subtitle.
Whether at least one readable structural child exists.
Whether the option may be returned as the terminal Reference value.
Optional safe localized explanation for a non-confirmable state.
One-based effective page.
Effective bounded page size.
Accessible post-policy total count for a ready response only.
object
object
object
object
Example
{ "Data": { "State": 0, "Items": [ { "ConfirmationState": 0 } ] }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}