-
Notifications
You must be signed in to change notification settings - Fork 218
Form Runner ~ APIs ~ Duplicate Form Data
ebruchez edited this page Sep 5, 2014
·
2 revisions
Since Orbeon Forms 4.7.
The API is also used internally by the Summary page via the Duplicate button.
The purpose of the duplicate API is to duplicate form data, including form data attachments.
- URL:
/fr/service/$app/$form/duplicate - Method:
POST
Request body:
Content-Type: application/xml- the element contains the document id to duplicate
<?xml version="1.0" encoding="UTF-8"?>
<document-id>51dfcf49bb4b7f994906a26911003e4a999f1e39</document-id>Response body:
Content-Type: application/xml- the element contains the newly created document id
<?xml version="1.0" encoding="UTF-8"?>
<document-id>c0f6dd2e75e94f60b9493768843e3fdef2af6bc0</document-id>The caller must either call the service internally or have proper credentials to access the data (username, group, roles).