---
sourceDocument: Referência de API do Xanadu
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/xanadu/api-reference

 Release :

    - xanadu

ft:locale :

    - pt-BR

ft:publication_title :

    - Referência de API do Xanadu

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# MIDServerAjax - Global

# MIDServerAjax - Global {#ariaid-title1}

* Versão de lançamento: Xanadu
* 
* Atualizado 1 de ago. de 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

A inclusão de script MIDServerAjax fornece a funcionalidade AJAX para enviar uma probe de teste para um MID Server

Use em scripts de servidor para testar um MID Server usando AJAX.

## MIDServerAjax - MIDServerAjax() {#ariaid-title2}

Cria uma instância de MIDServerAjax.
{#r_MSA-MIDServerAjax__table_yl2_ztk_zt__entry__3}

| Nome | Tipo | Descrição |
|-|-|-|
| Nenhum |   |   |
[Tabela 1. Parâmetros]

{#r_MSA-MIDServerAjax__table_yl2_ztk_zt}

## MIDServerAjax - ajaxFunction_testProbe() {#ariaid-title3}

Envia uma probe de teste para o MID Server.
{#r_MSA-ajaxFunction_testProbe__table_lbt_35k_zt__entry__3}

| Nome | Tipo | Descrição |
|-|-|-|
| Nenhum |   |   |
[Tabela 2. Parâmetros]

{#r_MSA-ajaxFunction_testProbe__table_lbt_35k_zt} {#r_MSA-ajaxFunction_testProbe__table_mbt_35k_zt__entry__2}

| Tipo | Descrição |
|-|-|
| Objeto | Contém o nome do agente, o ID da probe de teste, o tópico, o nome e a origem. |
[Tabela 3. Retorna]

{#r_MSA-ajaxFunction_testProbe__table_mbt_35k_zt}  

    var msaj = new MIDServerAjax();
    msaj.ajaxFunction_testProbe();


