---
sourceDocument: 호주 API 참조
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/ko-KR/api-reference

 Release :

    - australia

ft:locale :

    - ko-KR

ft:publication_title :

    - 호주 API 참조

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# NowDataSDK 클래스 - Android

# NowDataSDK 클래스 - Android {#ariaid-title1}

* 릴리스 버전: Australia
* 
* 업데이트 날짜 2026년 03월 12일
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 소요 시간: 7분

NowDataSDK 클래스는 NowGraphQLService, NowAttachmentService, NowTableService 및 NowAPIService와 같은 다양한 기능 서비스를 만들고 초기화할 수 있는 함수를 제공합니다.

## NowDataSDK - makeGraphQLService(instanceURL: URL) {#ariaid-title2}

NowGraphQLService 기능의 인스턴스를 작성하고 초기화합니다. 이 서비스를 사용하면 인스턴스의 GraphQL API에 액세스할 수 있습니다 ServiceNow .
GraphQL API에 ServiceNow 대한 자세한 내용은 다음 문서를 참조하십시오 [GraphQL API 프레임워크를 사용하여 기록 데이터 쿼리](https://servicenow-prod.fluidtopics.net/Ct~6MW4v7hdSvc9kjBsUhw "사용자 지정 GraphQL API를 생성하여 구성요소 또는 타사 시스템의 기록 데이터를 쿼리합니다.").
{#NDataSDK-makeGraphQLService_S_O_O__table_nvx_zbt_4pb__entry__3}

| 이름 | 유형 | 설명 |
|-|-|-|
| 인스턴스URL | [URL](https://developer.android.com/reference/kotlin/java/net/URL.html) | 액세스할 인스턴스의 URL입니다 ServiceNow . 예: `"https://instance.servicenow.com"` |
[표 1. 매개변수]

{#NDataSDK-makeGraphQLService_S_O_O__table_nvx_zbt_4pb} {#NDataSDK-makeGraphQLService_S_O_O__table_ovx_zbt_4pb__entry__2}

| 유형 | 설명 |
|-|-|
| 결과\<NowGraphQLService\> | [Kotlin Result 객체](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-result/)에 래핑된 NowGraphQLService 객체입니다. |
[표 2. 반환]

{#NDataSDK-makeGraphQLService_S_O_O__table_ovx_zbt_4pb}  
다음 코드 예제에서는 이 함수를 호출하는 방법을 보여 줍니다.

    private var nowGraphQLService: NowGraphQLService? = null

    /**
      * Create the NowGraphQLService once in the lifetime of the application, inside the Application class
      * or another manager class that will be injected into other classes via dagger/hilt.
      * NowGraphQLService should be created after initializing the NowSDK.
      */
    suspend fun getNowGraphQLService(): NowGraphQLService? {
      if (nowGraphQLService != null) return nowGraphQLService

      return NowDataSDK.makeGraphQLService(URL("https://instance-name.service-now.com")).getOrThrow()
        .also { this.nowGraphQLService = it }
    }

## NowDataSDK - makeNowAPIService(instanceURL: URL) {#ariaid-title3}

NowAPIService 서비스의 인스턴스를 작성하고 초기화합니다. 이 서비스를 사용하면 인스턴스에 ServiceNow 의해 노출되는 공용 REST API에 액세스할 수 있습니다.
또한 인스턴스 내에서 ServiceNow 사용자 지정 스크립트 기반 REST API를 개발하고 [NowAPIService](https://servicenow-prod.fluidtopics.net/PhZa0CiIDXPnFNxVX8kaGw#NowAPIServiceAndroidInterface "NowAPIService 인터페이스는 지정된 ServiceNow REST API에서 요청을 수행하는 기능을 제공합니다.") API를 사용하여 애플리케이션 내에서 Android 액세스할 수 있습니다. REST API에 대한 ServiceNow 자세한 내용은 다음 문서를 참조하십시오 [스크립트 기반 REST API](https://servicenow-prod.fluidtopics.net/vfCIdYdXpX8Ltk8_R7WfkA "스크립팅된 REST API 기능을 사용하면 애플리케이션 개발자가 사용자 지정 웹 서비스 API를 빌드할 수 있습니다.").
{#NDataSDK-makeNowAPIService_S_O_O__table_rjf_lft_4pb__entry__3}

| 이름 | 유형 | 설명 |
|-|-|-|
| 인스턴스URL | [URL](https://developer.android.com/reference/kotlin/java/net/URL.html) | 액세스할 인스턴스의 URL입니다 ServiceNow . 예: `"https://instance.servicenow.com"` |
[표 3. 매개변수]

{#NDataSDK-makeNowAPIService_S_O_O__table_rjf_lft_4pb} {#NDataSDK-makeNowAPIService_S_O_O__table_sjf_lft_4pb__entry__2}

| 유형 | 설명 |
|-|-|
| 결과\<NowAPIService\> | [Kotlin Result 객체](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-result/)에 래핑된 NowAPIService입니다. |
[표 4. 반환]

{#NDataSDK-makeNowAPIService_S_O_O__table_sjf_lft_4pb}  
다음 코드 예제에서는 이 함수를 호출하는 방법을 보여 줍니다.

    private var nowApiService: NowAPIService? = null

    /**
      * Create the NowAPIService once in the lifetime of the application inside the Application class
      * or another manager class that will be injected into other classes via dagger/hilt.
      * NowAPIService should be created after initializing the NowSDK
      */
    suspend fun getNowApiService(): NowAPIService? {
      if (nowApiService != null) return nowApiService

      return NowDataSDK.makeAPIService(URL("https://instance-name.service-now.com")).getOrThrow()
        .also { this.nowApiService = it }
    }

## NowDataSDK - makeNowAttachmentService(instanceURL: URL) {#ariaid-title4}

NowAttachmentService 기능의 인스턴스를 만들고 초기화합니다.
이 서비스를 사용하면 인스턴스에서 첨부 파일을 업로드, 다운로드, 삭제할 수 있습니다 ServiceNow . 첨부 파일을 인스턴스에 업로드하면 애플리케이션에 다운로드할 수 있는 첨부 파일에 대한 메타데이터가 생성됩니다 Android .

첨부 파일에 대한 ServiceNow 자세한 내용은 다음 문서를 참조하십시오 [첨부 파일 API](https://servicenow-prod.fluidtopics.net/Y_7a5P0pWieu7lgS74_Rzw#c_AttachmentAPI "첨부 파일 API는 첨부 파일을 업로드하고 쿼리할 수 있는 엔드포인트를 제공합니다.").
{#NDataSDK-makeNowAttachService_S_O_O__table_bnd_qgt_4pb__entry__3}

| 이름 | 유형 | 설명 |
|-|-|-|
| 인스턴스URL | [URL](https://developer.android.com/reference/kotlin/java/net/URL.html) | 액세스할 인스턴스의 URL입니다 ServiceNow . 예: `"https://instance.servicenow.com"` |
[표 5. 매개변수]

{#NDataSDK-makeNowAttachService_S_O_O__table_bnd_qgt_4pb} {#NDataSDK-makeNowAttachService_S_O_O__table_cnd_qgt_4pb__entry__2}

| 유형 | 설명 |
|-|-|
| 결과\<NowAttachmentService\> | [Kotlin Result 객체](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-result/)에 래핑된 NowAttachmentService 객체입니다. |
[표 6. 반환]

{#NDataSDK-makeNowAttachService_S_O_O__table_cnd_qgt_4pb}  
다음 코드 예제에서는 이 메서드를 호출하는 방법을 보여 줍니다.

    private var nowAttachmentService: NowAttachmentService? = null

    /**
      * Create the NowAttachmentService once in the lifetime of the application inside the Application
      * class or another manager class that will be injected into other classes via dagger/hilt.
      * NowAttachmentService should be created after initializing the NowSDK.
      */
    suspend fun getNowAttachmentService(): NowAttachmentService? {
      if (nowAttachmentService != null) return nowAttachmentService

      return NowDataSDK.makeAttachmentService(URL("https://instance-name.service-now.com"))
        .getOrThrow()
        .also { this.nowAttachmentService = it }
    }

## NowDataSDK - makeTableService(instanceURL: URL) {#ariaid-title5}

NowTableService 기능의 인스턴스를 작성하고 초기화합니다.
이 서비스를 사용하면 인스턴스의 REST 테이블 API에 액세스할 수 있습니다 ServiceNow . REST 테이블 API에 대한 자세한 내용은 [테이블 API](https://servicenow-prod.fluidtopics.net/cR2fEjbD4Rf1pJi1CkAh4A#c_TableAPI "테이블 API는 기존 테이블에서 CRUD(생성, 읽기, 업데이트 및 삭제) 작업을 수행할 수 있는 엔드포인트를 제공합니다.")를 참조하십시오.
{#NDataSDK-makeTableService_S_O_O__table_jxh_vht_4pb__entry__3}

| 이름 | 유형 | 설명 |
|-|-|-|
| 인스턴스URL | [URL](https://developer.android.com/reference/kotlin/java/net/URL.html) | 액세스할 인스턴스의 URL입니다 ServiceNow . 예: `"https://instance.servicenow.com"` |
[표 7. 매개변수]

{#NDataSDK-makeTableService_S_O_O__table_jxh_vht_4pb} {#NDataSDK-makeTableService_S_O_O__table_kxh_vht_4pb__entry__2}

| 유형 | 설명 |
|-|-|
| 결과\<NowTableService\> | [Kotlin Result 객체](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-result/)에 래핑된 NowTableService 객체입니다. |
[표 8. 반환]

{#NDataSDK-makeTableService_S_O_O__table_kxh_vht_4pb}  
다음 코드 예제에서는 이 함수를 호출하는 방법을 보여 줍니다.

    private var nowTableService: NowTableService? = null

    /**
      * Create the NowTableService once in the lifetime of the application inside the Application
      * class or another manager class that will be injected into other classes via dagger/hilt.
      * NowTableService should be created after initializing the NowSDK.
      */
    suspend fun getNowTableService(): NowTableService? {
      if (nowTableService != null) return nowTableService

      return NowDataSDK.makeTableService(URL("https://instance-name.service-now.com")).getOrThrow()
        .also { this.nowTableService = it }
    }


