Ask the Community
Groups
Using the Chrome Developer tool to illuminate the Traverse API calls - Connect IT Community | Kaseya
<main> <article class="userContent"> <h3 data-id="question">QUESTION</h3> <p>How do I expose the Traverse API calls?</p> <p> </p> <h3 data-id="example-event-acknowledge-api-call">EXAMPLE - (Event Acknowledge API Call)</h3> <ol><li> <strong>When logged into Traverse, add '/api' to the end of the FQDN</strong><br><a href="/home/leaving?allowTrusted=1&target=http%3A%2F%2F10.20.30.46%2Fapi.jsp" rel="noreferrer nofollow">http://FQDN_OrIPaddress/api.jsp</a><br>This will give you a full breakdown of all the available API calls </li> <li> <strong>Search for 'Event' and you will see the 'acknowledge' command</strong><br><img src="/attachments/token/OptIe0Ft1ZwwH88kd1Adbtbgi/?name=inline-1503461433.png" alt="image" class="embedImage-img importedEmbed-img"></img> </li> <li> <strong>Click on 'WSDL'<br></strong><strong><strong><br></strong></strong> <p><img src="https://us.v-cdn.net/6032361/uploads/migrated/DIBPWQ3NQ856/mceclip2.png" alt="mceclip2.png" class="embedImage-img importedEmbed-img"></img></p> <p>Access<strong> https:/FQDN/api/soap/event?wsdl</strong> and search for 'eventAckRequest', this will give you the structure of the RQ and all possible parameters<br><br><img src="/attachments/token/Zvnk2P6AQhKXv0KXNFQGlKRT8/?name=inline616601486.png" data-original-height="349" data-original-width="769" alt="image" class="embedImage-img importedEmbed-img"></img></p> <p> </p> <p>Additional info on the API call can be see by navigating to the 'Location' URL on the 3rd line of this page -</p> <p><img src="https://us.v-cdn.net/6032361/uploads/migrated/2ZYTCJF73PBK/mceclip0.png" alt="mceclip0.png" class="embedImage-img importedEmbed-img"></img></p> </li> <li> <strong><strong>To get an example of one of these RQ's the easiest way to do so is with the Chrome Developer tools. (CTRL+SHIFT+I)<br><br></strong></strong>Navigate to STATUS >> Events<br>Open the Chrome Developer tool. (CTRL+SHIFT+I)<br><br><img src="/attachments/token/SuH1zRnLAU4PhMRcbcRXYhijF/?name=inline-80909768.png" data-original-height="120" data-original-width="652" alt="image" class="embedImage-img importedEmbed-img"></img><br><br>Select 'Acknowledge'<strong><strong><br><br><img src="/attachments/token/ziMrOJdTRwKc8KkHNNA5jriQe/?name=inline1573870137.png" data-original-height="399" data-original-width="906" alt="image" class="embedImage-img importedEmbed-img"></img><br><br></strong></strong>Select the 'acknowledge' entry in the Chrome Developer tool -<br><strong><strong><img src="/attachments/token/raUpPSl1vMlgAkMfXTdAxz9aI/?name=inline1961492301.png" data-original-height="298" data-original-width="500" alt="image" class="embedImage-img importedEmbed-img"></img><br></strong></strong> </li> <li><strong>Switch from 'Preview' to 'Headers'. Scroll down to 'Request Payload' and click on 'view source'</strong></li> </ol><p><img src="/attachments/token/7bpAgFKCajoixdN7VBYW2AlMn/?name=inline-1384162659.png" data-original-height="462" data-original-width="644" alt="image" class="embedImage-img importedEmbed-img"></img><br><br>and there you will see the actual structure of the Event Acknowledge RQ that was sent to Traverse which you can then modify as needed -<br><img src="/attachments/token/MX02BBXSrhW6TLibvL1KIUvu9/?name=inline400545404.png" data-original-height="70" data-original-width="622" alt="image" class="embedImage-img importedEmbed-img"></img><br><br></p> <pre class="code codeBlock" spellcheck="false" tabindex="0">{"ack":true,"clear":false,"expire":0,"suppressAction":false,"eventIds":[612472]}</pre> <p>---------------------------------------------<br><br>The same can be done for all 3 of the Suppress Acknowledgements also<br><br>STATUS<br><img src="/attachments/token/Ye4Z2U0xEOleGBaDwmOZ5AGQ6/?name=inline-567968443.png" data-original-height="242" data-original-width="405" alt="image" class="embedImage-img importedEmbed-img"></img><br><br><img src="/attachments/token/YxXtIN3fmitsGitm4TN6RY1y6/?name=inline199440674.png" data-original-height="55" data-original-width="1317" alt="image" class="embedImage-img importedEmbed-img"></img></p> <pre class="code codeBlock" spellcheck="false" tabindex="0">{"ack":false,"clear":true,"suppressAction":false,"expire":"0","expireForNumber":"30","expireForUnits":"minutes","expireUntilDay":23,"expireUntilMonth":9,"expireUntilYear":2020,"eventIds":[609504]}</pre> <p><br>NOTIFICATION<br><img src="/attachments/token/1pqBTInenULEPvPn6L9DYejM6/?name=inline1467428610.png" data-original-height="239" data-original-width="414" alt="image" class="embedImage-img importedEmbed-img"></img><br><br><img src="/attachments/token/CclcyGaQPzH0psfsdJzWiKM0q/?name=inline-1980695600.png" data-original-height="58" data-original-width="1316" alt="image" class="embedImage-img importedEmbed-img"></img></p> <pre class="code codeBlock" spellcheck="false" tabindex="0">{"ack":true,"clear":false,"suppressAction":"true","expire":"0","expireForNumber":"30","expireForUnits":"minutes","expireUntilDay":23,"expireUntilMonth":9,"expireUntilYear":2020,"eventIds":[609544]}</pre> <p><br>BOTH<br><img src="/attachments/token/FJvOljiQyLifKsNtATqg6fS1M/?name=inline-1338054163.png" data-original-height="235" data-original-width="414" alt="image" class="embedImage-img importedEmbed-img"></img><br><br><img src="/attachments/token/Zx67BnjIg2NfW6VNMMDl0HqSU/?name=inline-152946773.png" data-original-height="53" data-original-width="1320" alt="image" class="embedImage-img importedEmbed-img"></img></p> <pre class="code codeBlock" spellcheck="false" tabindex="0">{"ack":true,"clear":true,"suppressAction":"true","expire":"0","expireForNumber":"30","expireForUnits":"minutes","expireUntilDay":23,"expireUntilMonth":9,"expireUntilYear":2020,"eventIds":[613042]}</pre> <div></div> </article> </main>