Preview a configuration template import
POST/asset/:assetId/configurationTemplate/import
Validates the document, matches its attributes against the draft by name and type, and returns the compatibility report together with the draft attributes holding the imported metadata. Metadata that grants access or links attributes is ignored, and the draft keeps its own. Nothing is stored; the client applies the patch after the user confirms.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
The request completed successfully
The draft is missing, or the document cannot be imported; a rejected document is answered with the preview, whose failure names the reason and failureLocation, where known, the attribute, metadata item and parameter
Authentication is required or the supplied credentials are invalid
The authenticated user does not have permission to perform this operation
The requested resource does not exist
The draft no longer identifies the persisted asset; the preview failure is DRAFT_MISMATCH