#!/bin/bash

curl -i -XPOST http://localhost:8081/http/applications_sample-plan -d'
<?xml version="1.0" encoding="UTF-8"?>
<event>
   <properties>
      <building>"Building A", "Building B"</building>
      <city>Victoria</city>
   </properties>
   <recipients>
      <targetName>bsmith</targetName>
      <targetName>Operations</targetName>
      <targetName>tsanderson, devices: ["Email", "Voice Phone"]</targetName>
   </recipients>
</event>
'