events_Done
Update the events so they not appear in event list again.
Parameters: events: Array with event objects,
only containing the event-numbers of the fetched events.
The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.
Request:
POST /amscentrademo1/system/service/module/soap/api HTTP/1.1
Host: demo2.centra.com
Connection: Keep-Alive
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://www.centra.com/webservices/Events_Done"
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.centra.com/webservices/">
<SOAP-ENV:Body>
<ns1:events_Done>
<ns1:login>
<ns1:username>demo</ns1:username>
<ns1:password>demo</ns1:password>
</ns1:login>
<ns1:event>string</ns1:event>
</ns1:events_Done>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Response:
HTTP/1.1 200 OK Server: nginx Date: Wed, 27 Sep 2023 22:46:17 GMT Content-Type: text/xml; charset=utf-8 Connection: keep-alive X-Centra-Request-ID: 1_f0b89a30e87337bdc434e9e76addc5fe X-Correlation-ID: centra_1_f0b89a30e87337bdc434e9e76addc5fe Content-Security-Policy-Report-Only: default-src 'self' https://centra-pdf-generator.s3.eu-west-1.amazonaws.com/; style-src 'self' 'unsafe-inline' https://www.gstatic.com/charts/; img-src 'self' data: https://demo2.centracdn.net/ https://maps.gstatic.com/ https://www.googletagmanager.com/ https://www.gstatic.com/ https://script.hotjar.com/ https://www.google-analytics.com/; connect-src 'self' https://centra.systems/ https://www.google-analytics.com/ https://*.hotjar.com:* https://vc.hotjar.io:* https://surveystats.hotjar.io wss://*.hotjar.com https://www.gstatic.com/charts/ *.bugsnag.com; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://centra.systems/ https://www.googletagmanager.com/gtm.js https://www.google-analytics.com/analytics.js https://maps.googleapis.com/ https://static.hotjar.com https://script.hotjar.com 'unsafe-inline' https://www.gstatic.com/charts/; frame-src https://vars.hotjar.com; font-src 'self' https://script.hotjar.com; object-src 'none'; report-uri https://centra.report-uri.com/r/d/csp/reportOnly; Cache-Control: max-age=0, private, must-revalidate Set-Cookie: centrasess=0b8ff374142ff5285aa1fe151cc68bcc; expires=Thu, 28-Sep-2023 22:46:17 GMT; Max-Age=86400; path=/amscentrademo1/; secure; HttpOnly X-mem: 4.0 MB X-max-mem: 4.0 MB <?xml version="1.0"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Body> <eventsDoneResponse>OK</eventsDoneResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>