You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
Templates and file examples
The example template below can be used as a starting point for an FTP integration. CSV file templates can be found here. The specific mapping is confirmed with the client during integration with SEKO.
LC_Load_Companies.xml
FTP XML Response file examples
For XML FTP uploads, the system provides a response file. Below are examples of the response file. More information on response files can be found here.
SUCCESS&FAILURE_LC_Load_Companies.xml_16-10-17-111015_response.xml
SUCCESS_LC_Load_Companies.xml_16-10-17-105511_response.xml
Example body | <Requests> <Request> <Company> <BranchCode>string</BranchCode> <CompanyCategory>string</CompanyCategory> <CompanyCode>string</CompanyCode> <CompanyDescription>string</CompanyDescription> <CompanyType>string</CompanyType> <Notes>string</Notes> <SpecialInstructions>string</SpecialInstructions> <CompanyNumber>string</CompanyNumber> <BusinessNumber>string</BusinessNumber> <VATNumber>string</VATNumber> <CurrencyCode>string</CurrencyCode> <SubsidiaryCode>string</SubsidiaryCode> <InvoiceFormat>string</InvoiceFormat> <Airport>string</Airport> <BillToCode>string</BillToCode> <BillToName>string</BillToName> </Company> <List> <Address> <AddressLine1>string</AddressLine1> <AddressLine2>string</AddressLine2> <AddressLine3>string</AddressLine3> <AddressLine4>string</AddressLine4> <AddressLocationType>string</AddressLocationType> <AddressType>string</AddressType> <City>string</City> <CountryCode>string</CountryCode> <County>string</County> <PostcodeZip>string</PostcodeZip> </Address> </List> </Request> </Requests> |
Example success response body (2 entities) | <Responses> <Response> <CallStatus> <Success>true</Success> <Code>0</Code> <Message></Message> </CallStatus> <GUID /> </Response> <Response> <CallStatus> <Success>true</Success> <Code>0</Code> <Message></Message> </CallStatus> <GUID /> </Response> </Responses> |
Example failure response body (2 entities) | <Responses> <Response> <CallStatus> <Success>false</Success> <Code>100</Code> <Message>The CountryCode field is required.</Message> </CallStatus> </Response> <Response> <CallStatus> <Success>false</Success> <Code>100</Code> <Message>The CountryCode field is required.</Message> </CallStatus> </Response> </Responses> |
Example success and failure response in a single XML file (2 entities) | <Responses> <Response> <CallStatus> <Success>false</Success> <Code>100</Code> <Message>The CountryCode field is required.</Message> </CallStatus> </Response> <Response> <CallStatus> <Success>true</Success> <Code>0</Code> <Message></Message> </CallStatus> <GUID /> </Response> </Responses> |