---
sourceDocument: Referência da API de Yokohama
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/yokohama/api-reference

 Release :

    - yokohama

ft:locale :

    - pt-BR

ft:publication_title :

    - Referência da API de Yokohama

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# MidServerAjax - Global

# MidServerAjax - Global {#ariaid-title1}

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

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

Use em scripts de servidor para testar um MID ServerUsando 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();


