{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":1060,"path":"api-reference/server-api-reference/c_MIDServerAjaxAPI.md","title":"MIDServerAjax - Global","bundle":null,"doc_type":null,"release":"australia","body":"\n# MIDServerAjax- Global\n\nThe MIDServerAjax script include provides AJAX functionality for sending a test probe to a MID Server\n\nUse in server scripts to test a MID Server using AJAX.\n\n**Parent Topic:**[Server API reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/server-api-reference/api-server.md)\n\n## MIDServerAjax - MIDServerAjax\\(\\)\n\nCreates an instance of MIDServerAjax.\n\n|Name|Type|Description|\n|----|----|-----------|\n|None| | |\n\n## MIDServerAjax - ajaxFunction\\_testProbe\\(\\)\n\nSends a test probe to the MID server.\n\n|Name|Type|Description|\n|----|----|-----------|\n|None| | |\n\n|Type|Description|\n|----|-----------|\n|Object|Contains the agent name, test probe ID, topic, name, and source.|\n\n```\nvar msaj = new MIDServerAjax();\nmsaj.ajaxFunction_testProbe();\n```\n\n"}}