webMethods Integration Cloud and Cloud Deployment Documentation 5.6.0 | webMethods Integration Cloud | Integrations, Built-In Services, REST APIs, SOAP APIs, Doc Types, and Recipes | Built-In Services | Document | insertDocument
 
insertDocument
Inserts a new document in a set of documents at a specified position.
Input Parameters
documents
Document List Set of documents in which a new document is to be inserted.
insertDocument
Document The new document to be inserted to the set of documents specified in the documents parameter.
index
String Optional. The position in the seat which the document is to be inserted.
The index parameter is zero-based. if the value for the index parameter is not specified, the document will be inserted at the end of the document list specified in the documents parameter.
Output Parameters
documents
Document List Document list after inserting the new document.

Copyright © 2014- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.