Application Integration
- Application Integration
- All Products
<FileWriteTask> <!-- file path, if required, which must be relative for FTP/SFTP --> <filePath> documents </filePath> <!-- target file name --> <fileName> test.txt</fileName> <!-- content format, which determines the applicability of other fields --> <format>PlainText|Binary|Attachment|JSON|XML</format> <!-- applies only if format is PlainText or Binary - if Binary, content is Base64-encoded string --> <content>Test file content</content> <!-- applies if content is XML or JSON, in which case, use object or objects --> <object>process object</object> <objects>a list of process objects</objects> <!-- optional, peovide the ObjectName and listName --> <objectName>order</objectName> <listName>orders</listName> </FileWriteTask>
<SerializeToDelimitedContentTask> <!-- for FTP/SFTP only --> <host>127.0.0.1</host> <fileName> users2.csv </fileName> <filePath> CustomModelProcess </filePath> <delimiter> ; </delimiter> <skipHeaders> true </skipHeaders> <customObjects> <Email> bob@test.com </Email> <Password> 222222 </Password> <Phone_number> 333-3333-5554 </Phone_number> <User_name> Bob </User_name> </customObjects> <customObjects> <Email> bill@test.com </Email> <Password> 3333 </Password> <Phone_number> 444-222-111 </Phone_number> <User_name> Bill </User_name> </customObjects> <header> <name> User_name </name> <fieldIndex> 1 </fieldIndex> </header> <header> <name> Phone_number </name> <fieldIndex> 2 </fieldIndex> </header> <header> <name> Password </name> <fieldIndex> 3 </fieldIndex> </header> </SerializeToDelimitedContentTask>
<SerializeToDelimitedContentResult> <message/> <processedRecordsCount> 10 </processedRecordsCount> <writtenRecordsCount> 8 </writtenRecordsCount> <success> true </success> <fileInfo> <lastModified> 2015-05-15T14:07:11.475Z </lastModified> <dir> D:/MyDirectory/DelimitedFiles/CustomModelProcess </dir> <name> users2 </ns7:name> <path> D:/MyDirectory/DelimitedFiles/CustomModelProcess/users2.csv </path> <fullName> users2.csv </fullName> <ext> csv </ext> <size> 116 </size> </fileInfo> </SerializeToDelimitedContentResult>