Cleartouch Integration
- In CatapultEMS, create a new integration for initiating alerts.
- Name: Displays (ClearTouch), Initiate
- Bearer Token: x-open-app-key:FILL_IN_KEY|x-open-timestamp|x-open-sign (Ask Cleartouch to fill in with the secret key)
- Payload URL: https://open.ifpserver.com/dms/api/v1/sendAlert
Content of Payload:
{
"code": "00000",
"groupIds": ["$$MAPPED_SITE_ID$$"],
"url":
"https://www.catapultems.com/downloads/cleartouch/$$ACTION_TYPE$$.jpg",
"md5": "$$MAPPED_ACTION_TYPE_ID$$"
}
- Event Trigger:
- Initiate Action Alert
- Initiate Drill
- Action Types: Select all (unless you want fewer).
- Fill in the $$MAPPED_ACTION_TYPE_ID$$ with the md5 codes for each image.
- In ClearTouch, gather the following details
- On the dashboard, look for the Organization Code. Copy and paste into the payload on the CatapultEMS side. It should replace the 0000 after “code”:
- In the left pane, choose Devices > Device groups.
- In the main pane, drop down menu, choose the device group you want. Copy the number from the end of the URL and paste into CatapultEMS under the MAPPED_SITE_ID section. Repeat for each site.
- In CatapultEMS create a second integration for resolving the alerts.
- Name: Displays (ClearTouch), Resolve
- Bearer Token: x-open-app-key:FILL_IN_KEY|x-open-timestamp|x-open-sign (Ask Cleartouch to fill in the secret key)
- Payload URL: https://open.ifpserver.com/dms/api/v1/cancelAlert
Content of Payload:
{
"code": "00000",
"groupIds": ["$$MAPPED_SITE_ID$$"]
}
- Event Trigger:
- Resolve Action Alert
- Resolve Drill
- Action Types: Select all (or match the ones you selected for the initiation integration).
- Fill in the MAPPED_SITE_ID section with the same values you specified for the initiation.