---
sourceDocument: Xanadu Now Platform 기능
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/ko-KR/xanadu/servicenow-platform

 Release :

    - xanadu

ft:locale :

    - ko-KR

ft:publication_title :

    - Xanadu Now Platform 기능

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# 샘플 API

# 샘플 API {#ariaid-title1}

* 릴리스 버전: Xanadu
* 
* 업데이트 날짜 2024년 08월 01일
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 소요 시간: 1분

다음은 PaCE API가 실행될 때의 샘플 호출 요청입니다.

    var request = {"documentIds":
             [{"table":"sn_cdm_deployable","sysId":"d1be8f5e87d80110eec7dbdd3fbb357d"}],"service":"CDM","category":"CDM","data":{"snapshotId":"2bcec7de87d80110eec7dbdd3fbb3529"},"options":{"verboseResponse":true,"logLevel":"debug","type":"standard","failFast":false, "executionTag":"cdm"}}
              
              
             try {



                var api = new sn_pace.InvocationAPI();



                var execResponse = api.execute(request);



                gs.info(" Got execution response:\n " +  JSON.stringify(execResponse,null,4));
                                 
                                                     
                                        
             } catch (err) {



                //var errJSON = JSON.parse(err);



                //gs.info(errJSON.code);



                gs.info(" Error message is:" + err + "\n stack:" +  err.stack);



                // gs.info(" Error is:" + err);



             }


