POST api/SmartTransfer/Send/Bulk
Provides the ability to send/transfer a set of documents using a bulk list of document names to another client.
Request Information
URI Parameters
None.
Body Parameters
Model containing the list of documents to send.
ESignSystems.SmartSAFE.Models.SmartTransfer.SendBulkTransferRequestModelName | Description | Type | Additional information |
---|---|---|---|
DocumentNames |
The names of the documents to transfer. |
Collection of string |
None. |
IncludeLinked |
Gets or sets a value indicating whether to include linked documents. |
boolean |
None. |
TransferPartnerId |
Gets or sets the transfer partner id. |
integer |
Required |
ClientId |
Gets or sets the client id. |
integer |
None. |
IncludeUserDefinedFields |
Gets or sets a value indicating whether to include the documents' UDF values in the transfer. |
boolean |
None. |
Request Formats
application/json, text/json
{ "DocumentNames": [ "sample string 1", "sample string 2" ], "IncludeLinked": true, "TransferPartnerId": 1, "ClientId": 1, "IncludeUserDefinedFields": true }
application/xml, text/xml
<SendBulkTransferRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESignSystems.SmartSAFE.Models.SmartTransfer"> <ClientId>1</ClientId> <IncludeUserDefinedFields>true</IncludeUserDefinedFields> <TransferPartnerId>1</TransferPartnerId> <DocumentNames xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </DocumentNames> <IncludeLinked>true</IncludeLinked> </SendBulkTransferRequestModel>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
Whether the send job was successfully queued.
ESignSystems.SmartSAFE.Models.SmartTransfer.SendTransferResponseModelName | Description | Type | Additional information |
---|---|---|---|
Message |
The response message for the transfer. |
string |
None. |
ParentDocumentName |
Gets or sets the parents document name for this document in the transfer |
string |
None. |
NewDocumentId |
The new document's identifier. |
integer |
None. |
AuthoritativeCopy |
Gets or sets a value indicating whether or not the document is an authoritative copy. |
boolean |
None. |
TransactionIdentifier |
Gets or sets the transaction identifier. |
string |
None. |
DocumentId |
Gets or sets the document identifier. |
integer |
None. |
DocumentName |
Gets or sets the document name. |
string |
None. |
Success |
Gets or sets a value indicating whether the Transfer request was successful for this document. |
boolean |
None. |
Response Formats
application/json, text/json
{ "Message": "sample string 1", "ParentDocumentName": "sample string 2", "NewDocumentId": 1, "AuthoritativeCopy": true, "TransactionIdentifier": "sample string 4", "DocumentId": 1, "DocumentName": "sample string 5", "Success": true }
application/xml, text/xml
<SendTransferResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ESignSystems.SmartSAFE.Models.SmartTransfer"> <DocumentId>1</DocumentId> <DocumentName>sample string 5</DocumentName> <Success>true</Success> <AuthoritativeCopy>true</AuthoritativeCopy> <Message>sample string 1</Message> <NewDocumentId>1</NewDocumentId> <ParentDocumentName>sample string 2</ParentDocumentName> <TransactionIdentifier>sample string 4</TransactionIdentifier> </SendTransferResponseModel>