Source

eodsfetch / eodsfetch / eodsfetch.bat

Full commit
@echo off

rem This batch file demonstrates some of the options for eodsfetch.exe
rem To see all of the options available, run eodsfetch --help

rem C:\Users\jaraco\projects\hrworx-util\dist>eodsfetch --help
rem Usage: eodsfetch [options]
rem
rem Options:
rem   -h, --help            show this help message and exit
rem   -u URL, --url=URL     URL for the admin site
rem   -n USERNAME, --username=USERNAME
rem                         Username with export priveleges
rem   -p PASSWORD, --password=PASSWORD
rem                         Password
rem   -l LOG_LEVEL, --log-level=LOG_LEVEL
rem                         level should be DEBUG, INFO, WARNING, ERROR
rem   -c RETRIEVE_COMMAND, --retrieve-command=RETRIEVE_COMMAND
rem                         Web site path to retrieval command (relative to url)
rem   -s SAVE_FILE, --save-file=SAVE_FILE
rem                         filename to save data

rem To retrieve data from the dev01 demonstration site, use the following command:
rem eodsfetch.exe -u http://dev01.hrworx.com:8180/occ/formworx/admin/ -n occ.formworx@hrworx.com -p manager -c newhires/RetrieveQueuedExport.do -s c:\EODS.xml

rem To review the data (without purging the records), use the "Review" command:
rem eodsfetch.exe -u http://dev01.hrworx.com:8180/occ/formworx/admin/ -n occ.formworx@hrworx.com -p manager -c newhires/ReviewQueuedExport.do -s c:\EODS.xml

rem If you don't specify a file to save to, the XML will be output to the screen
rem eodsfetch.exe -u http://dev01.hrworx.com:8180/occ/formworx/admin/ -n occ.formworx@hrworx.com -p manager -c newhires/ReviewQueuedExport.do