Skip to main content

xSuite Helix - Hilfe

Finalize editing and saving the new document (V2)

To complete editing and save a new document in a specific archive, the API provides an endpoint. In this call, the new document must include the data information and the schema key. Before saving the document, it is validated (JSON schema, mandatory fields etc.).

To access this endpoint you must have a valid conveyor token obtained in advance by getting a reservation from the conveyor service. This token must be identical to the token that was used for initializing the new document.

cURL Example

curl -X 'POST' \
'https://{fqdn_helix}/api/v2/ArchiveApi/finalize' \   
    -H 'accept: application/json' \   
    -H "Authorization: Bearer {ACCESS_TOKEN}" \
    -H 'x-conveyor-auth-token: {CONVEYOR_TOKEN}' \
    -d '{document}'

Definitions

See FinalizeArchiveDocument operation in OpenAPI specifications.

Permissions

Create permissions on the archive are required.