MIDServerAjax - Global
concept brazil Updated Sep 10, 2026 1 min read c_MIDServerAjaxAPI.md
The MIDServerAjax script include provides AJAX functionality for sending a test probe to a MID Server
Use in server scripts to test a MID Server using AJAX.
Parent Topic:Server API reference
MIDServerAjax - MIDServerAjax()
Creates an instance of MIDServerAjax.
| Name | Type | Description |
|---|---|---|
| None |
MIDServerAjax - ajaxFunction_testProbe()
Sends a test probe to the MID server.
| Name | Type | Description |
|---|---|---|
| None |
| Type | Description |
|---|---|
| Object | Contains the agent name, test probe ID, topic, name, and source. |
JavaScript
var msaj = new MIDServerAjax();msaj.ajaxFunction_testProbe();48 lines · 1.4 KB
--- title: MIDServerAjax - Global description: The MIDServerAjax script include provides AJAX functionality for sending a test probe to a MID ServerCreates an instance of MIDServerAjax.Sends a test probe to the MID server. locale: en-US canonical_url: https://www.servicenow.com/docs/r/api-reference/server-api-reference/c\_MIDServerAjaxAPI.html release: brazil product: Server API Reference classification: server-api-reference topic_type: concept last_updated: "2026-09-10" reading_time_minutes: 1 breadcrumb: [Server API reference, API reference, API implementation and reference] --- # MIDServerAjax- Global The MIDServerAjax script include provides AJAX functionality for sending a test probe to a MID Server Use in server scripts to test a MID Server using AJAX. **Parent Topic:**[Server API reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/api-reference/server-api-reference/api-server.md) ## MIDServerAjax - MIDServerAjax\(\) Creates an instance of MIDServerAjax. |Name|Type|Description| |----|----|-----------| |None| | | ## MIDServerAjax - ajaxFunction\_testProbe\(\) Sends a test probe to the MID server. |Name|Type|Description| |----|----|-----------| |None| | | |Type|Description| |----|-----------| |Object|Contains the agent name, test probe ID, topic, name, and source.| ``` var msaj = new MIDServerAjax(); msaj.ajaxFunction_testProbe(); ```
| title | MIDServerAjax - Global |
| description | The MIDServerAjax script include provides AJAX functionality for sending a test probe to a MID ServerCreates an instance of MIDServerAjax.Sends a test probe to the MID server. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/api-reference/server-api-reference/c\_MIDServerAjaxAPI.html |
| release | brazil |
| product | Server API Reference |
| classification | server-api-reference |
| topic_type | concept |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Server API referenceAPI referenceAPI implementation and reference |