SFTP - Instructions for offices
TABLE OF CONTENTS
Overview
For general SFTP guidelines and information, see SFTP - Setup instructions.
This topic describes how to upload your office definitions to Spotnana via a CSV file using SFTP . Your legal entity definitions should already exist on the Spotnana platform before you attempt to upload your offices. In addition, if you plan to associate your users (travelers) with office locations, you should ensure that you have uploaded (or created) your office definitions prior to attempting to upload your user records.
Instructions
For instructions on how to format the contents of your CSV file, see the File upload instructions for offices section of Upload office records.
File format and naming conventions
The .CSV file name must use this format:
office_feed.*.csv
where the * (wildcard) represents any characters you wish to add to the name. Note that the “.” after “feed” and the “.” before “csv” must be present. The file name is not case sensitive. We recommend including the date and time in the name of the file (to ease troubleshooting in the future). For example:
office_feed.spotnana_integration_<DateTime>.csv
The .CSV feed file must also be in a specific format. The column names must exactly match the defined format.
Frequency and scheduling
For general information on frequency and scheduling, see the Frequency and scheduling section of SFTP - Setup instructions.
We recommend you upload a file at least once a month to be sure to notify Spotnana of any additions/updates/deletions that may have occurred.
Offices file format
Use this information to help you ensure the data in your offices feed upload is correctly formatted and prepared.
Column name | Required/Optional | Notes |
---|---|---|
Action | Required | This field must be set to “CREATE”, “UPDATE”, or” DELETE” for each row. That defines the action that must be taken with the information in the row. |
Office Name | Required | Note: All offices must exist in the Spotnana Online Booking Tool before including them in your HR feed upload. |
Legal Entity | Required | |
Address Line 1 | Required | |
Address Line 2 | Optional | |
City | Required | |
State province region | Optional | |
Country Code | Required | |
Postal Code | Required | |
Latitude | Optional | |
Longitude | Optional | |
Tax id | Optional |
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article