---
sourceDocument: Australia API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/api-reference

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# NowGraphQLService interface - Android

# NowGraphQLService interface - Android {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

The NowGraphQLService interface provides functions that allow you to make GraphQL requests to your ServiceNow through its GraphQL API.  
Hinweis:  
The GraphQL API works for guest users in the base ServiceNow system.

For more details on the ServiceNow
GraphQL API, see [Query record data using the GraphQL API framework](https://servicenow-prod.fluidtopics.net/Mfk~yLaIr9Xw2hRNWzUMvw "Create a custom GraphQL API to query record data from a component or a third-party system.").  
{#NowGQLServiceAndroidInterface__table_vx2_klw_5pb__entry__3}

| Name | Type | Description |
|-|-|-|
| configuration | [NowServiceConfiguration](https://servicenow-prod.fluidtopics.net/sLr_HQOPn3L9IP82cf4s6A "The NowServiceConfiguration class enables you to configure the ServiceNow instance URL and package name for a feature service.") | Configuration to associate with the service. |
[Tabelle : 1. Properties]

{#NowGQLServiceAndroidInterface__table_vx2_klw_5pb}

## NowGraphQLService - graphQLRequest(String query) {#ariaid-title2}

Passes the specified GraphQL query to the associated ServiceNow
instance and returns the query results.
{#NGQLServ-graphQLRequest_S__table_jrd_4bd_npb__entry__3}

| Name | Type | Description |
|-|-|-|
| query | String | GraphQL query to pass. |
[Tabelle : 2. Parameters]

{#NGQLServ-graphQLRequest_S__table_jrd_4bd_npb} {#NGQLServ-graphQLRequest_S__table_krd_4bd_npb__entry__2}

| Type | Description |
|-|-|
| [Call](https://servicenow-prod.fluidtopics.net/W9tBHaYTMi6cD7AFU_l~Ow#CallAndroidInterface "The Call interface represents a request that is prepared for processing.")\<[Byte Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/)\> | Query response. |
[Tabelle : 3. Returns]

{#NGQLServ-graphQLRequest_S__table_krd_4bd_npb}  
<br />

    fun makeGraphQLRequest(query: String) { 
      val call = graphQLService.graphQLRequest(query) 
      call.enqueue( 
        { response -> handleResponse(response) },
        { nowDataError -> handleError(nowDataError) } 
      )
    } 


