When using the custom integration API, some customers want to delete a meeting from the system immediately.
This can be done because a customer wants to reuse an FKEY or create a new meeting in the same venue in a timely manner.
For this operation they would use the PURGE function, this function will delete the meeting from the database almost instantly. This is in contrast to the DELETE function which puts the meeting into a "recycle state" and the FKEY cannot be re-used.
In order to test you can perform the following.
Create a Meeting using the following message(be sure to change the date values to reflect your venues, date etc..)
<message> <fKey>HR3LIVE</fKey> <action>ADD</action> <venue>HR3 Live</venue> <committee>Hearing Live Feed</committee> <title>Live Feed Sliq Test#3</title> <description>Hearing Room 3 TEST#3</description> <scheduledStart>2020-09-15T07:30</scheduledStart> <scheduledDuration>72900</scheduledDuration> </message>
In the done folder you should get a message with the <IntegrationResult> tag "Passed" and a meeting ID.
<message> <fkey>HR3LIVE</fkey> <action>ADD</action> <venue>HR3 Live</venue> <committee>Hearing Live Feed</committee> <title>Live Feed Sliq Test</title> <description>Hearing Room 3 TEST</description> <scheduledStart>2020-09-15T07:30</scheduledStart> <scheduledDuration>72900</scheduledDuration> <IntegrationResult>Passed</IntegrationResult> <SystemMessage> </SystemMessage> <id>2031</id> </message>
Database entry showing the meeting information containing the ForeignKey.
Drop the following function in the drop folder (be sure to change the date values to reflect your venues, date etc..)
<message> <fKey>HR3LIVE</fKey> <action>PURGE</action> <venue>HR3 Live</venue> <committee>Hearing Live Feed</committee> <title>Live Feed</title> </message>
In the Done folder you should get back a confirmation of deletion with the same ID as you created in step 1.
<message> <fKey>HR3LIVE</fKey> <action>PURGE</action> <venue>HR3 Live</venue> <committee>Hearing Live Feed</committee> <title>Live Feed</title> <IntegrationResult>Passed</IntegrationResult> <SystemMessage> </SystemMessage> <id>2031</id> </message>