最終セッションのルール・データの取得

get

/customercare/v1/{customerId}/session

過去のセッションで特定のユーザーに対して実行されたすべてのルールを返します。トリガーされたルールの基本情報を提供し、完全な階層情報は提供しません。ルール実行データは非同期に永続化されているため、即時に使用できない場合があります。

リクエスト

パス・パラメータ

この操作にはリクエスト本文はありません。

先頭に戻る

レスポンス

サポートされているメディア・タイプ

200レスポンス

成功
本文()
ルート・スキーマ: RuleResponse
型: object
ソースを表示
ネストされたスキーマ: runtimeData
型: object
使用可能なその他のプロパティ
ソースを表示
ランタイムIDのランタイム・データ・リストへのマップ
ネストされたスキーマ: StatusResponse
型: object
APIコールのステータス情報
ソースを表示
ネストされたスキーマ: RuntimeDataList
型: array
ソースを表示
ネストされたスキーマ: RuntimeData
型: object
ソースを表示
ネストされたスキーマ: actionList
型: array
ソースを表示
ネストされたスキーマ: alertList
型: array
ソースを表示
ネストされたスキーマ: ruleList
型: array
ソースを表示
ネストされたスキーマ: Alert
型: object
ソースを表示
ネストされたスキーマ: Rule
型: object
ソースを表示

404レスポンス

顧客IDが見つかりません
先頭に戻る

次の例は、前のセッションでユーザーに対して実行されたすべてのルールを取得するサンプルのリクエストとレスポンスを示しています。

JSON形式で最終セッションのルール・データを取得するcURLコマンド

curl --location --request GET '<RISKCC>/risk-cc/customercare/v1/{customerId}/session' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic <Base64Encoded(<username>:<password>)>'

JSON形式のサンプル・レスポンス

{
  "requestId": "6f4372b9-187c-4a04-995e-f54bb46d2e56",
  "runtimeData": {
    "2": [
      {
        "actionList": [
          "Challenge",
          "ChallengeEmail"
        ],
        "alertList": [
          {
            "id": 4,
            "level": "Medium",
            "message": "IP is not from a mobile connection and has not been used in thirty days and more than one user has logged in from it within twenty four hours.",
            "type": "Investigation"
          },
          {
            "id": 10001,
            "level": "Low",
            "message": "Assertion Level is less than or equal to 50",
            "type": "Information"
          },
          {
            "id": 10001,
            "level": "Low",
            "message": "Assertion Level is less than or equal to 50",
            "type": "Information"
          }
        ],
        "finalScore": 900,
        "ruleList": [
          {
            "modelId": 6,
            "modelName": "OAAM Challenge Policy",
            "ruleId": 10001,
            "ruleName": "Assertion Level <=50"
          }
        ],
        "runtime": 2,
        "runtimeName": "postauth"
      }
    ]
  },
  "statusResponse": {
    "responseCode": "0",
    "responseMessage": "",
    "status": true
  }
}

XML形式で最終セッションのルール・データを取得するcURLコマンド

curl --location --request GET '<RISKCC>/risk-cc/customercare/v1/{customerId}/session' \
--header 'Content-Type: application/xml' \
--header 'Accept: application/xml' \
--header 'Authorization: Basic <Base64Encoded(<username>:<password>)>'

XML形式のサンプル・レスポンス

<?xml version="1.0" encoding="UTF-8" standalone="yes"?><RuleResponse>
<requestId>6f4372b9-187c-4a04-995e-f54bb46d2e56</requestId>
<runtimeData>
    <2>
    <actionList>Challenge</actionList>    
    <actionList>ChallengeEmail</actionList>
    <alertList>    
        <id>4</id>
        <level>Medium</level>
        <message>IP is not from a mobile connection and has not been used in thirty days and more than one user has logged in from it within twenty four hours.</message>    
        <type>Investigation</type>
    </alertList>
    <alertList>
        <id>10001</id>
        <level>Low</level>
        <message>Assertion Level is less than or equal to 50</message>
        <type>Information</type>
    </alertList>
    <alertList>
        <id>10001</id>
        <level>Low</level>
        <message>Assertion Level is less than or equal to 50</message>
        <type>Information</type>
    </alertList>
<finalScore>900</finalScore>
<ruleList>
    <modelId>6</modelId>
    <modelName>OAAM Challenge Policy</modelName>
    <ruleId>10001</ruleId>
    <ruleName>Assertion Level <=50</ruleName>
</ruleList>
<runtime>2</runtime>
<runtimeName>postauth</runtimeName>
</2>
</runtimeData>
<statusResponse>
    <responseCode>0</responseCode>
    <responseMessage></responseMessage>
    <status>true</status>
</statusResponse>
</RuleResponse>
先頭に戻る