エージェントのすべての保証レベルを取得する
get
/oaa-policy/assuranceLevel/v1
リクエスト
問合せパラメータ
- agentid(required): string
エージェントの識別子。
この操作にはリクエスト本文はありません。
先頭に戻るレスポンス
サポートされるメディア・タイプ
- application/xml
- application/json
200レスポンス
AssuranceLevelsが正常に取得されました。
ルート・スキーマ: AssuranceLevelsResponse
型:
object
ユーザーの保証レベルのリストが含まれます。
ソースの表示
-
assuranceLevels: array assuranceLevels
保証レベルの配列
-
message: object AssuranceLevelsAPIResponse
保証レベルAPIに対するレスポンス。
-
pageInfo: object Pagination2
オブジェクトは結果のページ区切りを決定します。
ネストされたスキーマ: schema
型:
object
単一の保証レベルの詳細。
ソースの表示
-
agentid(required): string
保証レベルが属するエージェント識別子
-
description(required): string
保証レベルの説明
-
id: string
保証レベル識別子
-
name(required): string
保証レベルの名前
401レスポンス
未認可
405レスポンス
無効な入力
500レスポンス
内部サーバー・エラー
503レスポンス
サービス使用不可
例
次の例は、エージェントのすべての保証レベルを取得するサンプルのリクエストとレスポンスを示しています。
JSON形式で保証レベルを取得するcURLコマンド
curl --location --request GET '<PolicyUrl>/oaa-policy/assuranceLevel/v1?agentid=dede64d3-1d6a-42e9-89e1-714e88f8967c' \ --header 'Authorization: Basic <Base64Encoded(<username>:<password>)>'
JSON形式のサンプル・レスポンス
{ "assuranceLevels": [ { "id": "AssuranceLevel1", "name": "AssuranceLevel1", "description": "Assurance Level 1", "agentid": "dede64d3-1d6a-42e9-89e1-714e88f8967c" } ], "message": { "responseCode": "200", "responseMessage": "Assurance level information." } }
XML形式で保証レベルを取得するcURLコマンド
curl --location --request GET '<PolicyUrl>/oaa-policy/assuranceLevel/v1?agentid=dede64d3-1d6a-42e9-89e1-714e88f8967c' \ --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"?> <AssuranceLevelsResponse> <assuranceLevels> <id>AssuranceLevel1</id> <name>AssuranceLevel1</name> <description>Assurance Level 1</description> <agentid>dede64d3-1d6a-42e9-89e1-714e88f8967c</agentid> </assuranceLevels> <message> <responseCode>200</responseCode> <responseMessage>Assurance level information.</responseMessage> </message> </AssuranceLevelsResponse>