Navigation

 ·   Wiki Home
 ·   Wiki Help
 ·   Categories
 ·   Title List
 ·   Uncategorized Pages
 ·   Random Page
 ·   Recent Changes
 ·   RSS
 ·   Atom
 ·   What Links Here

Active Members:

Search:

 

Create or Find Page:

 

View File Based Reservation Import

Category:Tech Support Staff Only

File Based Reservation Import

File based reservation import

——————————————-

Add support for polling a directory for reservation csv files to be imported. The file extension must be .csv. The file can contain 1 or more reservations in csv format.

This function requires 3 directories, import, error and done. Configured directories are automatically created. File to be import must be stored in the import directories. Successfully imported files are moved to the done directory. Failed imported files are moved to the error directory.

[IMPORT]

IMPORTDIR=C:\bridge\import

DONEDIR=C:\bridge\done

ERRORDIR=C:\bridge\error

INITIALSTATE=n, default=1

This option enables or disables file based reservation import.

0 - disable

1 - enable

SOCKETIMPORTMODE=n default = 1 (immediate)

This value sets the import mode for socket based reservation import.

1 - immediate

2 - write to file

DIRPURGE=n Default=30

This value sets the age in days of file to be cleaned up in the import, error and done directories. Only files with extension .csv are deleted.

Sample INI

[IMPORT]
IMPORTDIR=C:\temp\Hudson\CustomerName\RTBridge\Import
DONEDIR=C:\temp\Hudson\CustomerName\RTBridge\Done
ERRORDIR=C:\temp\Hudson\CustomerName\RTBridge\Error

INITIALSTATE=1
SOCKETIMPORTMODE=2
DIRPURGE=30

Categories: