Integration Cloud 6.6.0 | Built-In Services | Built-In Services | 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.