---
sourceDocument: Australia IT Service Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/it-service-management

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia IT Service Management

ft:clusterId :

    - itsm

bundleId :

    - itsm

workflow :

    - Technology


---

# Generate API invocation code for an exporter

# Generate API invocation code for an exporter {#ariaid-title1}

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

Generate sample code of an API invocation for an exporter. The code can invoke the
exporter. Select from several commonly used languages.

## Antes de Iniciar

Importante:  
DevOps Config is now deprecated and no longer supported or available for new activation.

Role required: cdm_exporter_editor or cdm_editor or cdm_admin

## Procedimento

1. Prepare an exporter for execution as described in [Test an exporter and export a snapshot](https://servicenow-prod.fluidtopics.net/6TTyYHVxtq8vRrNn1ioX4w "Set and validate input settings to test an exporter before you export the config data in a snapshot.").  
   Dica:  
   Test the exporter to verify its operation.
2. In the Evaluate menu, select Generate sample API.  
   The Exporter API invocation sample dialog box opens.
3. Select the language.  
   The system applies the settings that you specify and displays the resulting API sample in the text box.
4. Select Copy to clipboard.  
   You can now paste the code into an editor for use in your code.

