> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Migrating from earlier versions of the Web Services API

> Review the breaking changes between the new ABBYY FlexiCapture Web Services API and earlier WSDL versions, including updated methods, data types, and endpoints.

The new version of the Web Services API is not compatible with earlier versions of WSDL.

The table below lists the changes implemented in the new version.

<table width="100%"><tbody><tr><td colspan="2"><p><strong>API Methods</strong></p></td></tr><tr><td><p><strong>Name</strong></p></td><td><p><strong>Changes</strong></p></td></tr><tr><td><p><a href="/flexi-capture/api/methods/add-new-document">AddNewDocument</a></p></td><td><p>Added the previousItemId parameter that makes it possible to specify the position of a new document in a set.</p></td></tr><tr><td><p><a href="/flexi-capture/api/methods/add-new-page">AddNewPage</a></p></td><td><p>Added the previousItemId parameter that makes it possible to specify the position of a page document in a set.</p></td></tr><tr><td><p><a href="/flexi-capture/api/methods/create-task">CreateTask</a></p></td><td><p>Added the batchId parameter for passing the identifier of the batch to which a document belongs.</p></td></tr><tr><td><p><a href="/flexi-capture/api/methods/get-batch-ids-range">GetBatchIdsRange</a></p></td><td><p>This new method reserves a range of identifiers within a batch.</p></td></tr><tr><td><p><a href="/flexi-capture/api/methods/get-document">GetDocument</a></p></td><td><p>Added the sessionId parameter for passing the identifiers of Application Server connection sessions.</p></td></tr><tr><td><p><a href="/flexi-capture/get-document-results-list">GetDocumentResultsList</a></p></td><td><p>Added the sessionId parameter for passing the identifiers of Application Server connection sessions and the batchId parameter for passing the identifier of the batch to which a document belongs.</p></td></tr><tr><td rowspan="2"><p><a href="/flexi-capture/api/methods/get-documents">GetDocuments</a></p></td><td><p>This method now returns a list containing all documents, including the empty document that is the parent document of all the top-level documents in the batch.</p></td></tr><tr><td><p>Added the sessionId parameter for passing the identifiers of Application Server connection sessions.</p></td></tr><tr><td><p><a href="/flexi-capture/api/methods/load-document-result">LoadDocumentResult</a></p></td><td><p>Added the sessionId parameter for passing the identifiers of Application Server connection sessions and the batchId parameter for passing the identifier of the batch to which a document belongs.</p></td></tr><tr><td><p><a href="/flexi-capture/api/methods/replace-page-image">ReplacePageImage</a></p></td><td><p>Added the batchId parameter for passing the identifier of the batch to which a document belongs.</p></td></tr><tr><td><p><a href="/flexi-capture/api/methods/set-document-priority">SetDocumentPriority</a></p></td><td><p>Added the batchId parameter for passing the identifier of the batch to which a document belongs.</p></td></tr></tbody></table>

<table width="100%"><tbody><tr><td colspan="2"><p><strong>Data types</strong></p></td></tr><tr><td><p><strong>Name</strong></p></td><td><p><strong>Changes</strong></p></td></tr><tr><td><p><a href="/flexi-capture/api/structures/children-order">ChildrenOrder</a></p></td><td><p>This new structure contains information about a child document of a set.</p></td></tr><tr><td rowspan="2"><p><a href="/flexi-capture/api/structures/document">Document</a></p></td><td><p>Added the ParentId field which contains the identifier of the parent document of a set.</p></td></tr><tr><td><p>Added the ChildrenOrder field for passing a set of child documents. This makes it possible to sort documents in a set.</p></td></tr><tr><td><p><a href="/flexi-capture/api/structures/page">Page</a></p></td><td><p>Removed the PreviousId field because the value is now specified explicitly when a page is created using the <a href="/flexi-capture/api/methods/add-new-page">AddNewPage</a> method.</p></td></tr></tbody></table>

POST requests concerning [files](/flexi-capture/api/files/files) stored on a server must now include the parentId parameter.

Use the following address to **access the new version of the Web Services API**:

https\://\<ApplicationServer>/FlexiCapture12/Server/API/v1/Soap.

You can find a formal description here: https\://\<ApplicationServer>/FlexiCapture12/Server/API/v1/WSDL.

Earlier versions are not supported.
