formUpdateResponse element

Type: elementMetadataResponse
Namespace: (default namespace)
XML Schema: vcac-identity-rest-schema.xsd

The response to ElementMetadataRequest. It contains description of the changes to the elements.

Usually, only changes to the elements, found in ElementMetadataRequest#getAffectedElements() list, would be sent, but it's possible for the provider to send updates for elements, which don't have explicit dependency on the trigger, i.e. the layout renderer will provide information, which elements it expects to be changed, but the provider can override this and send changes to elements, which are not considered affected.

If the provider doesn't return information for some of the elements, which were indicated as affected, then their previous state would be assumed or empty state, if there was no previous state.

Example JSON

{ "elementUpdates" : [ { "id" : "...", "permissibleValues" : [ { "underlyingValue" : { }, "label" : "..." }, ... ], "detailLayout" : { "pages" : [ { "id" : "...", "label" : "...", "sections" : [ { "id" : "...", "label" : "...", "rows" : [ { "items" : [ { "size" : ... }, ... ] }, ... ], "state" : { "dependencies" : [ "...", ... ] } }, ... ], "state" : { "dependencies" : [ "...", ... ] } }, ... ] }, "facetValues" : { } }, ... ] }