@ echo off
rem  Incident injection batch script for sample-terminate REST API integration
rem  Requirements:
rem    - valid userID and XMATTERS_DOMAIN for xMatters in configuration.js
rem    - encrypted password in the file specified in configuration.js
rem    - curl.exe in local directory (or in the Windows path)

curl.exe --trace-time -v -i -X POST -d "{\"propertyName\": \"incidentId\", \"propertyValue\": \"INC000001\"}" http://127.0.0.1:8081/http/applications_sample-terminate
