---
sourceDocument: Xanadu 재무 서비스 운영
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/ko-KR/xanadu/financial-services-operations

 Release :

    - xanadu

ft:locale :

    - ko-KR

ft:publication_title :

    - Xanadu 재무 서비스 운영

ft:clusterId :

    - finso

bundleId :

    - finso

workflow :

    - Customer and Industry


---

# 기록 시스템의 원격 정보 업데이트

# 기록 시스템의 원격 정보 업데이트 {#ariaid-title1}

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

이 통합 시나리오는 은행 애플리케이션 내에서 기록 시스템을 업데이트하는 방법을 보여줍니다.

이 시나리오에서 워크플로의 ServiceNow 스크립트는 원격 은행 응용 프로그램에 고객의 신용 카드 한도를 업데이트하도록 요청합니다. 새 한도가 승인되면 은행 애플리케이션(기록 시스템)에서 고객 한도가 업데이트됩니다.  
주:  
고객의 신용 카드 한도와 같은 동일한 정보가 원격 시스템의 ServiceNow 기록 시스템과 데이터베이스에 모두 있는 경우가 있습니다. 이러한 유형의 정보를 쿼리할 때마다 데이터베이스의 ServiceNow 정보가 최신 상태가 아닐 수 있으므로 항상 레코드 시스템의 정보를 사용해야 합니다. 두 데이터 저장소 모두에서 이 정보를 업데이트할지 여부는 재량에 따라 결정합니다. 이 사용 케이스는 신용 카드 계정 \[sn_bom_cred_card\] 테이블의 정보를 업데이트하지 않습니다.  
주:  
이 시나리오에서는 ServiceNow 은행 애플리케이션이 워크플로의 업데이트 요청을 처리하는 REST 엔드포인트 POST /api/card/updateLimit를 노출한다고 가정합니다.

이 시나리오에서 액세스하는 테이블은 B2C(business-to-customer) 레코드가 포함된 [소비자](https://servicenow-prod.fluidtopics.net/t5hlB9jL8nAxGgVBDOukHQ#fso-int_guide-table_defs__csm_consumer) \[csm_consumer\] 테이블입니다.

다음 다이어그램에서는 이 사용 사례에 대한 REST API 호출의 플로우를 보여주고 필요한 처리에 대한 간략한 설명을 제공합니다. 여기서는 설명된 단계를 [기록 시스템에서 원격 정보 조회](https://servicenow-prod.fluidtopics.net/bQv2H~jQfewY_J84pfNfag "이 유스 케이스는 REST API 호출을 사용하여 원격 뱅킹 시스템(기록 시스템)에서 고객의 모기지 계좌에 대한 금융 트랜잭션 상세 정보를 조회하는 방법을 보여줍니다.") 사용하여 고객 계정 정보를 가져왔다고 가정합니다.  

|-|-|
|   | 1. 워크플로우의 스크립트는 연결된 소비자 기록을 요청하고 해당 정보를 사용하여 연결된 신용 카드 계정 기록을 요청하는 데 필요한 정보를 얻습니다. 2. 워크플로의 스크립트는 은행 애플리케이션에서 POST /api/card/updateLimit 엔드포인트를 호출하여 연결된 고객의 신용 한도를 늘리도록 요청합니다. 3. 은행 애플리케이션은 요청의 상태를 반환합니다. 4. Status 업데이트 {#fso-int_guide-agt_table_update__ol_hdp_3jr_bpb} |
[ ]

{#fso-int_guide-agt_table_update__table_rmq_ywq_bpb}

## 코드 예시 {#fso-int_guide-agt_table_update__section_vbv_bnr_bpb}

다음은 위에서 설명한 단계를 수행하는 JavaScript 예제입니다.

    // Shows how to  request the increase the credit limit for a specified card
    // This code assumes there is a REST endpoint 'api/card/updateLimit' on the bank application system

    // REST call to the /api/card/updateLimit endpoint to request 
    // an update to the customer's credit card limit
    function updateCreditLimit(requestBody) {

      var request = new sn_ws.RESTMessageV2();
      request.setHttpMethod('post');
      request.setEndpoint('/api/card/updateLimit');
      request.setRequestBody(JSON.stringify(requestBody));
      var response = request.execute();

      var responseBody = response.getBody();
      var responseObj = JSON.parse(responseBody);

      return responseObj;
    }

    // The following is the data object sent to the /api/card/updateLimit endpoint
    // to increase the credit limit for the card
    var requestBody = {
      'cardNumber': 'xxxx-xxxx-xxxx-5896',
      'accountNumber': 'xxxxxxxxxxxx9590',
      'oldLimit': 'USD 5000',
      'newLimit': 'USD 10000',
      'requestType': 'Increase_limit',
    };

    updateCreditLimit (requestBody);


