events_GetByMarkets
Get new events by specific section. Will return the events in ascending order, oldest first.
Parameters: section: Allowed sections are: all, account, customer, invoice, market, order, paymentterm, pricelist, salesrep, shippingterm, size,
warehouse.
The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.
Request:
POST /amsdemo1337/system/service/module/navision/soap HTTP/1.1 Host: demo1337.centraqa.com Connection: Keep-Alive Content-Type: text/xml; charset=utf-8 SOAPAction: "http://www.silkvms.com/webservices/Events_GetByMarkets" <?xml version="1.0"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.silkvms.com/webservices/"> <SOAP-ENV:Body> <ns1:events_GetByMarkets> <ns1:login> <ns1:username>demo</ns1:username> <ns1:password>demo</ns1:password> </ns1:login> <ns1:type>string</ns1:type> <ns1:markets> <ns1:market> <ns1:id>string</ns1:id> <ns1:description>string</ns1:description> </ns1:market> </ns1:markets> </ns1:events_GetByMarkets> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
Response:
HTTP/1.1 200 OK Date: Thu, 02 May 2024 23:22:44 GMT Content-Type: text/xml; charset=utf-8 Connection: keep-alive x-centra-request-id: 1_3af9bda4231bfbd0ad9888b505b2824d x-correlation-id: centra_1_3af9bda4231bfbd0ad9888b505b2824d 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://demo1337.centraqa.com/ 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/; 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 https://script.hotjar.com; object-src 'none'; report-uri https://centra.report-uri.com/r/d/csp/reportOnly; x-mem: 4.0 MB x-max-mem: 4.0 MB CF-Cache-Status: DYNAMIC Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=4I3t%2Fsyr6tPI3GlwwnBkaYLSxeL72Dp8YJ71%2BiqxnX2qwwoeEY28TJLPOy72o7QnzS1zKCBzvn72eNx7PniwYPDvt8XCIId1J3fZj9eHXEWmJIKkMbYnVNub31%2BCdSnW%2FWZr3bfOlCI%3D"}],"group":"cf-nel","max_age":604800} NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800} Server: cloudflare CF-RAY: 87dbc14b1b861b71-DUB alt-svc: h3=":443"; ma=86400 <?xml version="1.0"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.silkvms.com/webservices/"> <SOAP-ENV:Body> <ns1:events_Get> <ns1:events> <ns1:event> <ns1:id>string</ns1:id> <ns1:type>string</ns1:type> <ns1:entry>string</ns1:entry> <ns1:mission>update or delete</ns1:mission> <ns1:date>2024-05-03T01:22:44+02:00</ns1:date> <ns1:data> <ns1:account/> <ns1:customer/> <ns1:invoice/> <ns1:market/> <ns1:order/> <ns1:pricelist/> <ns1:salesrep/> <ns1:size/> <ns1:warehouse/> <ns1:stock/> </ns1:data> </ns1:event> </ns1:events> </ns1:events_Get> </SOAP-ENV:Body> </SOAP-ENV:Envelope>