POST api/UploadDocumentsToVault
Request Information
URI Parameters
None.
Body Parameters
UploadDocumentsToVaultRequestName | Description | Type | Additional information |
---|---|---|---|
SFDCLoginDetailReq | SFDCLoginDetail |
None. |
|
SFTPLoginDetailReq | SftpLoginDetail |
None. |
|
InvoiceDetailReqs | Collection of DocumentsDetail |
None. |
Request Formats
application/json, text/json
Sample:
{ "SFDCLoginDetailReq": { "SessionId": "sample string 1", "ServerURL": "sample string 2", "OrgId": "sample string 3", "UserName": "sample string 4", "Password": "sample string 5", "SecurityToken": "sample string 6" }, "SFTPLoginDetailReq": { "ServerURL": "sample string 1", "PortNumber": "sample string 2", "UserName": "sample string 3", "Password": "sample string 4", "FolderPath": "sample string 5", "SSHKey": "sample string 6" }, "InvoiceDetailReqs": [ { "EANames": [ "sample string 1", "sample string 2" ], "InvoiceAttachmentId": "sample string 1", "SalesUploadAttachmentId": "sample string 2" }, { "EANames": [ "sample string 1", "sample string 2" ], "InvoiceAttachmentId": "sample string 1", "SalesUploadAttachmentId": "sample string 2" } ] }
application/xml, text/xml
Sample:
<UploadDocumentsToVaultRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClrDsmtGreenDocumentApi.Models"> <InvoiceDetailReqs> <DocumentsDetail> <EANames xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </EANames> <InvoiceAttachmentId>sample string 1</InvoiceAttachmentId> <SalesUploadAttachmentId>sample string 2</SalesUploadAttachmentId> </DocumentsDetail> <DocumentsDetail> <EANames xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> </EANames> <InvoiceAttachmentId>sample string 1</InvoiceAttachmentId> <SalesUploadAttachmentId>sample string 2</SalesUploadAttachmentId> </DocumentsDetail> </InvoiceDetailReqs> <SFDCLoginDetailReq> <OrgId>sample string 3</OrgId> <Password>sample string 5</Password> <SecurityToken>sample string 6</SecurityToken> <ServerURL>sample string 2</ServerURL> <SessionId>sample string 1</SessionId> <UserName>sample string 4</UserName> </SFDCLoginDetailReq> <SFTPLoginDetailReq> <FolderPath>sample string 5</FolderPath> <Password>sample string 4</Password> <PortNumber>sample string 2</PortNumber> <SSHKey>sample string 6</SSHKey> <ServerURL>sample string 1</ServerURL> <UserName>sample string 3</UserName> </SFTPLoginDetailReq> </UploadDocumentsToVaultRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>