{"info":{"_postman_id":"02240644-5fac-4156-9767-3aa304506de8","name":"BPCC List Management API v2.0 (JA)","description":"<html><head></head><body><h1 id=\"44gv44gy44kb44gr\">はじめに</h1>\n<p>BPCCリスト管理APIでは、現在以下のことが可能です：</p>\n<ul>\n<li><a href=\"https://help.brightpattern.com/latest:Contact-center-administrator-guide/Lists/ja\">架電リスト</a>のコンテンツを管理する</li>\n<li><a href=\"https://help.brightpattern.com/latest:Contact-center-administrator-guide/DoNotCallLists/ja\">DNC(発信禁止)リスト</a>のコンテンツを管理する</li>\n<li><a href=\"https://help.brightpattern.com/latest:Contact-center-administrator-guide/ServicesandCampaigns/OutboundTab/ja\">有効なアウトバンドキャンペーン</a>に関する情報を取得する</li>\n</ul>\n<p>このドキュメントでは、対応するREST APIメソッドについて、リクエストおよびレスポンスの例を交えて説明しています。このAPIは、<a href=\"https://www.getpostman.com/\">Postman API開発環境</a>に読み込み、ご自身のアクセストークンを使用してAPIとやり取りすることができます。</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"はじめに","slug":"44gv44gy44kb44gr"}],"owner":"58450950","collectionId":"02240644-5fac-4156-9767-3aa304506de8","publishedId":"2sBYB4Lmkb","public":true,"customColor":{"highlight":"FF6C37","right-sidebar":"303030","top-bar":"FFFFFF"},"publishDate":"2026-09-29T10:20:30.000Z"},"item":[{"name":"認証","item":[{"name":"Get Access Token","id":"a5a707e8-7a4c-418d-a690-017a2411cf11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"","description":"<p><a href=\"https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Users/ja#Username\">Username</a> of a Bright Pattern user authorized to <a href=\"https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Privileges/ja#Manage_users\">manage users</a> and <a href=\"https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Privileges/ja#Manage_all_teams\">manage all teams</a></p>\n","type":"text"},{"key":"client_secret","value":"","description":"<p><a href=\"https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Users/ja#API_secret\">API secret key</a> generated for the above user</p>\n","type":"text"},{"key":"scope","value":"","description":"<p>Your contact center URL (e.g., <em>yourcompany.brightpattern.com</em>)</p>\n","type":"text"},{"key":"grant_type","value":"","description":"<p>Grant type; must be set to <em>client_credentials</em></p>\n","type":"text"}]},"url":"https://<tenant_URL>/configapi/v2/oauth/token","description":"<p>このAPI経由で行われるその後の各リクエストの認証に使用されるアクセストークンを返します。</p>\n","urlObject":{"protocol":"https","path":["configapi","v2","oauth","token"],"host":["<tenant_URL>"],"query":[],"variable":[]}},"response":[{"id":"3cf01c97-589e-45bc-a0a8-1d06254a9529","name":"Get Access Token","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"client_id","value":"some.user","description":"[Username](https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Users/ja#Username) of a Bright Pattern user authorized to [manage users](https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Privileges/ja#Manage_users) and [manage all teams](https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Privileges/ja#Manage_all_teams)","type":"text"},{"key":"client_secret","value":"FHjeyOt6LWS7jMvNb6tcjyuU3KDYlG2NjeI6vJBLV72VnLrwexA3imSkkQjSwLuv","description":"[API secret key](https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Users/ja#API_secret) generated for the above user","type":"text"},{"key":"scope","value":"yourcompany.brightpattern.com","description":"Your contact center URL (e.g., *yourcompany.brightpattern.com*)","type":"text"},{"key":"grant_type","value":"client_credentials","description":"Grant type; must be set to *client_credentials*","type":"text"}]},"url":"https://yourcompany.brightpattern.com/configapi/v2/oauth/token"},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"access_token\": \"15490315E83EBC929978DB0AE84D0AC63F0DC38AAB701A949FDEF6054E4A1AF9\",\r\n    \"token_type\": \"Bearer\",\r\n    \"expires_in\": \"3600\",\r\n    \"scope\": \"yourcompany.brightpattern.com\"\r\n}"}],"_postman_id":"a5a707e8-7a4c-418d-a690-017a2411cf11"}],"id":"85c6f4e4-6783-4ae0-82ae-d0444f13c389","description":"<p>このAPIのクライアントの認証には、<a href=\"https://tools.ietf.org/html/rfc6749#section-4.4\">OAuth 2.0 クライアントクレデンシャルグラント</a>が使用されます。認証されたユーザーが、要求された操作を実行するための適切な権限を持っているかどうかが確認されます。権限の完全なリストは<a href=\"https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Privileges/ja\">こちら</a>でご確認いただけます。権限は、1つまたは複数の<a href=\"https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Roles/ja\">役割</a>を介してユーザーに割り当てられます。</p>\n<p>アクセストークンを取得するには：</p>\n<ol>\n<li>「コンタクトセンター管理者」アプリケーションにログインします。</li>\n<li><a href=\"https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Users/ja\">「ユーザー」</a>ページに移動します。BPCC リスト管理 API 経由で実行したいタスクに対応する権限を持つユーザーを選択するか、作成してください。</li>\n<li>[生成] ボタンをクリックして、<a href=\"https://help.brightpattern.com/latest:Contact-center-administrator-guide/UsersandTeams/Users/ja#API_secret\">API シークレットキー</a>を生成します。生成されたキーをコピーし、次のステップのためにユーザー名を控えておいてください。</li>\n<li><em>Get Access Token</em> メソッドを使用して、アクセストークンを取得してください。<em>client_id</em> にはユーザー名を、<em>client_secret</em> には生成された API シークレットキーを設定してください。</li>\n<li>レスポンスで返された <em>access_token</em> の値を使用して、BPCC リスト管理 API 経由で送信されるその後の各リクエストの <em>Authorization: Bearer [access token]</em> ヘッダーを設定してください。</li>\n</ol>\n","event":[{"listen":"prerequest","script":{"id":"8cff7da8-3a40-44b9-95c8-60ec33dd8f0b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1b20494b-f1f4-4f8a-8ef8-2b5d79559b81","type":"text/javascript","exec":[""]}}],"_postman_id":"85c6f4e4-6783-4ae0-82ae-d0444f13c389"},{"name":"架電リスト","item":[{"name":"Add Many Records","id":"0dc0628c-025f-458e-9395-4ee337352fc1","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <access_token>","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"fieldName_1\": \"value_1\", \r\n        \"fieldName_n\": \"value_n\"\r\n    },\r\n          ...\r\n]"},"url":"https://<tenant_URL>/configapi/v2/callinglist/addAll/<list_name>","description":"<p>このメソッドは、指定された架電リストに複数の新規レコードを追加します。リスト定義で設定された一意キーの値と一致するレコードがすでに存在する場合、エラーを返します。 </p>\n<p>メモ:</p>\n<ul>\n<li>フィールドの名前は、リスト作成時に定義されたとおりに指定されます。</li>\n<li>キーフィールドおよび必須フィールドは、必ず指定する必要があります。</li>\n<li><strong>list_name</strong> は架電リストの名前です（例：list.csv）。</li>\n</ul>\n<h2 id=\"応答コード\">応答コード</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>コード</strong></th>\n<th><strong>説明</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>成功（部分的な成功の場合もあります。応答には追加の問題の説明が含まれています）</td>\n</tr>\n<tr>\n<td>400</td>\n<td>不正なリクエスト（フォーマットが認識できません）</td>\n</tr>\n<tr>\n<td>401</td>\n<td>認証に失敗しました</td>\n</tr>\n<tr>\n<td>403</td>\n<td>ユーザーは認証されましたが、十分な権限がありません</td>\n</tr>\n<tr>\n<td>404</td>\n<td>架電リストが見つからないか、URLが無効です</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v2","callinglist","addAll","<list_name>"],"host":["<tenant_URL>"],"query":[],"variable":[]}},"response":[{"id":"9c9143e4-563f-4c3e-a7e8-4512f3810738","name":"Add Many Records","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n    \"ID\": \"5\",\r\n    \"firstName\": \"Blade\",\r\n    \"lastName\": \"Clark\",\r\n    \"Phone\": \"14155555555\",\r\n    \"Status\": \"Gold\"\r\n    },\r\n    \r\n    {\r\n    \"ID\": \"6\",\r\n    \"firstName\": \"Eli\",\r\n    \"lastName\": \"Smit\",\r\n    \"Phone\": \"15105555555\",\r\n    \"Status\": \"Bronze\"\r\n    }\r\n] ","options":{"raw":{"language":"json"}}},"url":{"raw":"https://yourcompany.brightpattern.com/configapi/v2/callinglist/addAll/:list_name","protocol":"https","host":["yourcompany","brightpattern","com"],"path":["configapi","v2","callinglist","addAll",":list_name"],"variable":[{"key":"list_name","value":"list.csv"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"added\": 2\r\n}"}],"_postman_id":"0dc0628c-025f-458e-9395-4ee337352fc1"},{"name":"Add Record","id":"8f31f00d-48f3-4d2c-b220-861376aa67a5","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer <access_token>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fieldName_1\": \"value_1\",\r\n    ...\r\n    \"fieldName_n\": \"value_n\"\r\n}"},"url":"https://<tenant_URL>/configapi/v2/callinglist/add/:list_name","description":"<p>このメソッドは、指定された架電リストに新規のレコードを1件追加します。リストの定義で設定された一意キーの値と同じ値を持つレコードがすでに存在する場合、エラーを返します。</p>\n<p>メモ:</p>\n<ul>\n<li>フィールドの名前は、リスト作成時に定義されたとおりに指定されます。</li>\n<li>キーフィールドおよび必須フィールドは、入力必須です。</li>\n</ul>\n<h2 id=\"応答コード\">応答コード</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>コード</strong></th>\n<th><strong>説明</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>成功（レスポンス本文は空です）</td>\n</tr>\n<tr>\n<td>400</td>\n<td>不正なリクエスト（必須フィールドの欠落、またはフォーマットが認識できない）</td>\n</tr>\n<tr>\n<td>401</td>\n<td>認証に失敗しました</td>\n</tr>\n<tr>\n<td>403</td>\n<td>ユーザーは認証されましたが、十分な権限がありません</td>\n</tr>\n<tr>\n<td>404</td>\n<td>架電リストが見つからないか、URLが無効です</td>\n</tr>\n<tr>\n<td>409</td>\n<td>キーの重複エラー</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v2","callinglist","add",":list_name"],"host":["<tenant_URL>"],"query":[],"variable":[{"description":{"content":"<p>架電リストの名前（例：list.csv）</p>\n","type":"text/plain"},"type":"any","value":"","key":"list_name"}]}},"response":[{"id":"9db20a55-94b5-4911-8ffd-50a0b6696ab4","name":"Add Record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"ID\": \"4\",\r\n    \"firstName\": \"Post\",\r\n    \"lastName\": \"Melon\",\r\n    \"Phone\": \"16505555555\",\r\n    \"Status\": \"Platinum\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://yourcompany.brightpattern.com/configapi/v2/callinglist/add/:list_name","protocol":"https","host":["yourcompany","brightpattern","com"],"path":["configapi","v2","callinglist","add",":list_name"],"variable":[{"key":"list_name","value":"list.csv"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":""}],"_postman_id":"8f31f00d-48f3-4d2c-b220-861376aa67a5"},{"name":"Delete All Records","id":"548d2d52-df3b-43f1-9f2b-295d7d80ccb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <access_token>","type":"text"}],"url":"https://<tenant_URL>/configapi/v2/callinglist/deleteAll/:list_name","description":"<p>このメソッドは、架電リストからすべてのレコードを削除します。リストの結果も削除されます。リストが存在しても、すでに空の場合は「OK」を返します。このメソッドは架電リストの結果を消去するものであり、結果がエクスポートされているかどうかにかかわらず、消去が行われる点にご注意ください。</p>\n<h2 id=\"応答コード\">応答コード</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>コード</strong></th>\n<th><strong>説明</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>成功</td>\n</tr>\n<tr>\n<td>400</td>\n<td>不正なリクエスト（必須フィールドの欠落、またはフォーマットが認識できません）</td>\n</tr>\n<tr>\n<td>401</td>\n<td>認証に失敗しました</td>\n</tr>\n<tr>\n<td>403</td>\n<td>ユーザーは認証されましたが、十分な権限がありません。または、この種類のリストの変更は許可されていません</td>\n</tr>\n<tr>\n<td>404</td>\n<td>架電リストが見つからないか、URLが無効です</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v2","callinglist","deleteAll",":list_name"],"host":["<tenant_URL>"],"query":[],"variable":[{"description":{"content":"<p>架電リストの名前（例：list.csv）</p>\n","type":"text/plain"},"type":"any","value":"","key":"list_name"}]}},"response":[{"id":"82e9a4eb-e55b-4765-8f87-d5a9169a980f","name":"Delete All Records","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"url":{"raw":"https://yourcompany.brightpattern.com/configapi/v2/callinglist/deleteAll/:list_name","protocol":"https","host":["yourcompany","brightpattern","com"],"path":["configapi","v2","callinglist","deleteAll",":list_name"],"variable":[{"key":"list_name","value":"list.csv"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"548d2d52-df3b-43f1-9f2b-295d7d80ccb6"},{"name":"Get All Records","id":"126c7119-1419-4744-956d-040b6e66a769","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <access_token>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fromIndex\": 123456,\r\n    \"maxSize\": 100\r\n}"},"url":"https://<tenant_URL>/configapi/v2/callinglist/getAll/:list_name/:campaign_name","description":"<p>架電リストのレコードには、挿入順に0から始まる連番が付けられています。このメソッドは、指定されたレコードのインデックス以上であるインデックスを持つ、架電リスト内のレコードのリストを返します。</p>\n<p>入力パラメータは、「最初のレコードインデックス」と「返されるリストの最大サイズ」です。現在の実装では、「maxSize」は1000レコードに制限されています。すべての時刻はUTCで返されます。</p>\n<p>メモ:</p>\n<ul>\n<li>返されるリストには、インデックスの順に並び替えられたJSONオブジェクトが含まれます。</li>\n<li>これらのオブジェクトの「entry」フィールドには、リストのエントリのコピーが含まれています。</li>\n<li>フィールドの名前は、リスト作成時に定義されたとおりに提供されます。</li>\n<li>「status」フィールドには、このキャンペーンにおいてこのレコードを発信した結果が含まれます。</li>\n<li>フィールドの名前はあらかじめ定義されています。</li>\n<li>「完了」は常に存在します。レコードが発信されなかった場合やエージェントに到達しなかった場合は、その他のフィールドが存在しない場合があります。</li>\n</ul>\n<h2 id=\"応答コード\">応答コード</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>コード</strong></th>\n<th><strong>説明</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>成功</td>\n</tr>\n<tr>\n<td>400</td>\n<td>不正なリクエスト（必須フィールドの欠落、またはフォーマットが認識できない）</td>\n</tr>\n<tr>\n<td>401</td>\n<td>認証失敗</td>\n</tr>\n<tr>\n<td>403</td>\n<td>ユーザーは認証されましたが、十分な権限がありません</td>\n</tr>\n<tr>\n<td>404</td>\n<td>架電リストが見つかりません、キャンペーンが見つかりません、またはURLが無効です</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v2","callinglist","getAll",":list_name",":campaign_name"],"host":["<tenant_URL>"],"query":[],"variable":[{"description":{"content":"<p>架電リストの名前（例：list.csv）</p>\n","type":"text/plain"},"type":"any","value":"","key":"list_name"},{"description":{"content":"<p>アウトバウンドキャンペーンの名前（例：アウトバウンドキャンペーン）</p>\n","type":"text/plain"},"type":"any","value":"","key":"campaign_name"}]}},"response":[{"id":"4efcd091-8d53-4528-9231-d8c0a4c5fca1","name":"Get All Records","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fromIndex\": 0,\r\n    \"maxSize\": \"100\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://yourcompany.brightpattern.com/configapi/v2/callinglist/getAll/:list_name/:campaign_name","protocol":"https","host":["yourcompany","brightpattern","com"],"path":["configapi","v2","callinglist","getAll",":list_name",":campaign_name"],"variable":[{"key":"list_name","value":"list.csv"},{"key":"campaign_name","value":"Outbound%20Campaign"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"entry\": {\n            \"firstname\": \"Graham\",\n            \"phone\": \"16509999999\",\n            \"id\": \"1\",\n            \"lastname\": \"Smith\",\n            \"status\": \"Gold\"\n        },\n        \"index\": 0,\n        \"status\": {\n            \"globalInteractionID\": \"0B767156-D012-4F63-A3E2-12ACFC2F26EA\",\n            \"lastCallDuration\": 0,\n            \"lastDisposition\": \"No disposition\",\n            \"totalAttempts\": 1,\n            \"completed\": false,\n            \"lastAgent\": \"elizabeth\",\n            \"lastPhone\": \"16509999999\",\n            \"lastDate\": \"2021-02-19T19:11:40.000\"\n        }\n    },\n    {\n        \"entry\": {\n            \"firstname\": \"Mike\",\n            \"phone\": \"16507777777\",\n            \"id\": \"2\",\n            \"lastname\": \"Miller\",\n            \"status\": \"Platinum\"\n        },\n        \"index\": 1,\n        \"status\": {\n            \"globalInteractionID\": \"3F4F2ACD-1233-42E3-8092-3A9F7D9D84BC\",\n            \"lastCallDuration\": 0,\n            \"lastDisposition\": \"Try again later\",\n            \"totalAttempts\": 1,\n            \"completed\": false,\n            \"lastAgent\": \"elizabeth\",\n            \"lastPhone\": \"16507777777\",\n            \"lastDate\": \"2021-02-19T19:12:21.000\"\n        }\n    },\n    {\n        \"entry\": {\n            \"firstname\": \"Katrina\",\n            \"phone\": \"16505555555\",\n            \"id\": \"3\",\n            \"lastname\": \"Johnson\",\n            \"status\": \"Silver\"\n        },\n        \"index\": 2,\n        \"status\": {\n            \"globalInteractionID\": \"9D914127-C1C4-4587-8B30-4E2A9790D184\",\n            \"lastCallDuration\": 0,\n            \"lastDisposition\": \"Product sold\",\n            \"totalAttempts\": 1,\n            \"completed\": true,\n            \"lastAgent\": \"elizabeth\",\n            \"lastPhone\": \"16505555555\",\n            \"lastDate\": \"2021-02-19T19:12:37.000\"\n        }\n    },\n    {\n        \"entry\": {\n            \"firstname\": \"Jenny\",\n            \"phone\": \"16502222222\",\n            \"id\": \"4\",\n            \"lastname\": \"Green\",\n            \"status\": \"Gold\"\n        },\n        \"index\": 3,\n        \"status\": {\n            \"globalInteractionID\": \"35DE77AC-5A37-4907-97CA-50B09B30ECDF\",\n            \"lastCallDuration\": 0,\n            \"lastDisposition\": \"Fast busy\",\n            \"totalAttempts\": 1,\n            \"completed\": false,\n            \"lastAgent\": \"elizabeth\",\n            \"lastPhone\": \"16502222222\",\n            \"lastDate\": \"2021-02-19T19:13:08.000\"\n        }\n    }\n]"}],"_postman_id":"126c7119-1419-4744-956d-040b6e66a769"},{"name":"Get Completed Records","id":"2e1a013c-0f3d-4fcc-9e9b-1cabc015f3fb","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <access_token>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fromTime\": \"2013-03-01T13:15:06.456\",\r\n    \"maxSize\": \"100\"\r\n}"},"url":"https://<tenant_URL>/configapi/v2/callinglist/getCompleted/:list_name/:campaign_name","description":"<p>このメソッドは、架電リストのうち、完了時刻が指定された開始時刻（UTC）以上である完了済みレコードのリストを返します。入力パラメータは、ISOフォーマットの開始時刻と、返されるリストの最大サイズです。現在の実装では、「maxSize」は1000件に制限されています。すべての時刻値はUTCで返されます。</p>\n<p>メモ:</p>\n<ul>\n<li>返されるリストには、完了時刻順に並び替えられたJSONオブジェクトが含まれます。</li>\n<li>これらのオブジェクトの「entry」フィールドには、リストエントリのコピーが含まれています。</li>\n<li>フィールド名は、リスト作成時に定義されたとおりに提供されます。</li>\n<li>「status」フィールドには、このキャンペーンにおいてこのレコードをコールした結果が含まれています。</li>\n<li>フィールドの名前はあらかじめ定義されています。</li>\n<li>「完了」は常に存在します。レコードが発信されなかった場合やエージェントに到達しなかった場合は、その他のフィールドが存在しない場合があります。</li>\n</ul>\n<h2 id=\"応答コード\">応答コード</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>コード</strong></th>\n<th><strong>説明</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>成功</td>\n</tr>\n<tr>\n<td>400</td>\n<td>不正なリクエスト（必須フィールドの欠落、またはフォーマットが理解できない）</td>\n</tr>\n<tr>\n<td>401</td>\n<td>認証失敗</td>\n</tr>\n<tr>\n<td>403</td>\n<td>ユーザーは認証されましたが、十分な権限がありません</td>\n</tr>\n<tr>\n<td>404</td>\n<td>架電リストが見つかりません、キャンペーンが見つかりません、または無効なURLです</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v2","callinglist","getCompleted",":list_name",":campaign_name"],"host":["<tenant_URL>"],"query":[],"variable":[{"description":{"content":"<p>架電リストの名前（例：list.csv）</p>\n","type":"text/plain"},"type":"any","value":"","key":"list_name"},{"description":{"content":"<p>アウトバウンドキャンペーンの名前（例：アウトバウンドキャンペーン）</p>\n","type":"text/plain"},"type":"any","value":"","key":"campaign_name"}]}},"response":[{"id":"621806f1-0c21-4159-a8f5-9e03e2f094b7","name":"Get Completed Records","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fromTime\": \"2021-02-01T13:15:06.456\",\r\n    \"maxSize\": \"100\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://yourcompany.brightpattern.com/configapi/v2/callinglist/getCompleted/:list_name/:campaign_name","protocol":"https","host":["yourcompany","brightpattern","com"],"path":["configapi","v2","callinglist","getCompleted",":list_name",":campaign_name"],"variable":[{"key":"list_name","value":"list.csv"},{"key":"campaign_name","value":"Outbound%20Campaign"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"completedTime\": \"2021-02-19T19:12:37.000\",\n        \"entry\": {\n            \"firstname\": \"Katrina\",\n            \"phone\": \"16502222222\",\n            \"id\": \"3\",\n            \"lastname\": \"Johnson\",\n            \"status\": \"Silver\"\n        },\n        \"status\": {\n            \"globalInteractionID\": \"9D914127-C1C4-4587-8B30-4E2A9790D184\",\n            \"lastCallDuration\": 0,\n            \"lastDisposition\": \"Product sold\",\n            \"totalAttempts\": 1,\n            \"completed\": true,\n            \"lastAgent\": \"elizabeth\",\n            \"lastPhone\": \"16502222222\",\n            \"lastDate\": \"2021-02-19T19:12:37.000\"\n        }\n    }\n]"}],"_postman_id":"2e1a013c-0f3d-4fcc-9e9b-1cabc015f3fb"},{"name":"Get Updated Records","id":"0cf95076-648b-40f1-afbd-81439732cad0","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <access_token>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fromTime\": \"2013-03-01T13:15:06.456\",\r\n    \"maxSize\": \"100\"\r\n}"},"url":"https://<tenant_URL>/configapi/v2/callinglist/getChanged/:list_name/:campaign_name","description":"<p>このメソッドは、指定された架電リストのうち、リクエストされた開始時刻以降、指定されたキャンペーン内で何らかのアクティビティがあったレコードを返します。</p>\n","urlObject":{"protocol":"https","path":["configapi","v2","callinglist","getChanged",":list_name",":campaign_name"],"host":["<tenant_URL>"],"query":[],"variable":[{"description":{"content":"<p>架電リストの名前（例：list.csv）</p>\n","type":"text/plain"},"type":"any","value":"","key":"list_name"},{"description":{"content":"<p>アウトバンド・キャンペーンの名前（例：「アウトバンド・キャンペーン」）</p>\n","type":"text/plain"},"type":"any","value":"","key":"campaign_name"}]}},"response":[{"id":"88887798-488e-4bf1-b059-5610700ef6b7","name":"Get Updated Records","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fromTime\": \"2021-01-01T13:15:06.456\",\r\n    \"maxSize\": \"100\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://yourcompany.brightpattern.com/configapi/v2/callinglist/getChanged/:list_name/:campaign_name","protocol":"https","host":["yourcompany","brightpattern","com"],"path":["configapi","v2","callinglist","getChanged",":list_name",":campaign_name"],"variable":[{"key":"list_name","value":"list.csv"},{"key":"campaign_name","value":"Outbound%20Campaign"}]}},"status":"Success","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\n    {\n        \"entry\": {\n            \"firstname\": \"Graham\",\n            \"phone\": \"16509999999\",\n            \"id\": \"1\",\n            \"lastname\": \"Smith\",\n            \"status\": \"Gold\"\n        },\n        \"completed\": false,\n        \"recordDisposition\": \"\",\n        \"recordDispositionCode\": \"\",\n        \"totalAttempts\": 1,\n        \"attempts\": [\n            {\n                \"call_attempted\": false,\n                \"disposition\": \"No disposition\",\n                \"dispositionCode\": \"\",\n                \"date\": \"2021-02-19T19:11:40.000\",\n                \"phone\": \"16509999999\",\n                \"callDuration\": 0,\n                \"dialingDuration\": 0,\n                \"callNotes\": \"\",\n                \"agent\": \"elizabeth\",\n                \"globalInteractionID\": \"0B767156-D012-4F63-A3E2-12ACFC2F26EA\",\n                \"CPADuration\": 0\n            }\n        ]\n    },\n    {\n        \"entry\": {\n            \"firstname\": \"Mike\",\n            \"phone\": \"16507777777\",\n            \"id\": \"2\",\n            \"lastname\": \"Miller\",\n            \"status\": \"Platinum\"\n        },\n        \"completed\": false,\n        \"recordDisposition\": \"\",\n        \"recordDispositionCode\": \"\",\n        \"totalAttempts\": 1,\n        \"attempts\": [\n            {\n                \"call_attempted\": false,\n                \"disposition\": \"Try again later\",\n                \"dispositionCode\": \"\",\n                \"date\": \"2021-02-19T19:12:21.000\",\n                \"phone\": \"16507777777\",\n                \"callDuration\": 0,\n                \"dialingDuration\": 0,\n                \"callNotes\": \"\",\n                \"agent\": \"elizabeth\",\n                \"globalInteractionID\": \"3F4F2ACD-1233-42E3-8092-3A9F7D9D84BC\",\n                \"CPADuration\": 0\n            }\n        ]\n    },\n    {\n        \"entry\": {\n            \"firstname\": \"Katrina\",\n            \"phone\": \"16505555555\",\n            \"id\": \"3\",\n            \"lastname\": \"Johnson\",\n            \"status\": \"Silver\"\n        },\n        \"completed\": true,\n        \"recordDisposition\": \"Product sold\",\n        \"recordDispositionCode\": \"\",\n        \"totalAttempts\": 1,\n        \"attempts\": [\n            {\n                \"call_attempted\": false,\n                \"disposition\": \"Product sold\",\n                \"dispositionCode\": \"\",\n                \"date\": \"2021-02-19T19:12:37.000\",\n                \"phone\": \"16505555555\",\n                \"callDuration\": 0,\n                \"dialingDuration\": 0,\n                \"callNotes\": \"\",\n                \"agent\": \"elizabeth\",\n                \"globalInteractionID\": \"9D914127-C1C4-4587-8B30-4E2A9790D184\",\n                \"CPADuration\": 0\n            }\n        ]\n    },\n    {\n        \"entry\": {\n            \"firstname\": \"Jenny\",\n            \"phone\": \"16502222222\",\n            \"id\": \"4\",\n            \"lastname\": \"Green\",\n            \"status\": \"Gold\"\n        },\n        \"completed\": false,\n        \"recordDisposition\": \"\",\n        \"recordDispositionCode\": \"\",\n        \"totalAttempts\": 1,\n        \"attempts\": [\n            {\n                \"call_attempted\": false,\n                \"disposition\": \"Fast busy\",\n                \"dispositionCode\": \"\",\n                \"date\": \"2021-02-19T19:13:08.000\",\n                \"phone\": \"16502222222\",\n                \"callDuration\": 0,\n                \"dialingDuration\": 0,\n                \"callNotes\": \"\",\n                \"agent\": \"elizabeth\",\n                \"globalInteractionID\": \"35DE77AC-5A37-4907-97CA-50B09B30ECDF\",\n                \"CPADuration\": 0\n            }\n        ]\n    }\n]"}],"_postman_id":"0cf95076-648b-40f1-afbd-81439732cad0"},{"name":"Query a Record","id":"66752bff-f308-41b8-9d3c-e0e07c88781a","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <access_token>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"keyfieldName_1\": \"value_1\",\r\n    ...\r\n    \"keyfieldName_n\": \"value_n\"\r\n}"},"url":"https://<tenant_URL>/configapi/v2/callinglist/get/:list_name/:campaignname","description":"<p>このメソッドは、指定されたキャンペーン内の指定された架電リストにある既存のレコードのステータスを照会します。リスト定義で設定された一意キーの値と一致するレコードが存在しない場合、エラーが返されます。すべての時刻値はUTCで返されます。</p>\n<p>メモ:</p>\n<ul>\n<li>キャンペーンの名前は省略可能ですが、必ず指定する必要があります。</li>\n<li>代わりに任意の文字列値を使用してください。</li>\n<li>リクエストには、オブジェクトのフィールドのすべてまたは一部を含めることができますが、キーフィールドは必須です。</li>\n<li>オブジェクトの検索にはキーフィールドのみが使用され、キーフィールド以外のフィールドは無視されます。</li>\n<li>返されるJSONには2つのサブオブジェクトが含まれています。</li>\n<li>「entry」には、リストエントリのコピーが含まれています。</li>\n<li>フィールドの名前は、リスト作成時に定義されたとおりに指定されます。</li>\n<li>「status」には、このキャンペーンにおけるこのレコードのコール結果が含まれます。</li>\n<li>フィールドの名前はあらかじめ定義されています。</li>\n<li>「Completed」は常に存在します。レコードが発信されなかった場合やエージェントに到達しなかった場合は、その他のフィールドが存在しない場合があります。</li>\n</ul>\n<h2 id=\"response-codes\">Response Codes</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>成功</td>\n</tr>\n<tr>\n<td>400</td>\n<td>不正なリクエスト（必須フィールドの欠落、またはフォーマットが認識できない）</td>\n</tr>\n<tr>\n<td>401</td>\n<td>認証に失敗しました</td>\n</tr>\n<tr>\n<td>403</td>\n<td>ユーザーは認証されましたが、十分な権限がありません</td>\n</tr>\n<tr>\n<td>404</td>\n<td>リストが見つからない、レコードが見つからない、または無効なURLです</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v2","callinglist","get",":list_name",":campaignname"],"host":["<tenant_URL>"],"query":[],"variable":[{"description":{"content":"<p>架電リストの名前（例：list.csv）</p>\n","type":"text/plain"},"type":"any","value":"","key":"list_name"},{"description":{"content":"<p>アウトバウンドキャンペーンの名前（例：アウトバウンドキャンペーン）</p>\n","type":"text/plain"},"type":"any","value":"","key":"campaignname"}]}},"response":[{"id":"d9ee9ce6-e8e8-47b6-95d3-c10d4183758c","name":"Query a Record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": \"2\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://yourcompany.brightpattern.com/configapi/v2/callinglist/get/:list_name/:campaignname","protocol":"https","host":["yourcompany","brightpattern","com"],"path":["configapi","v2","callinglist","get",":list_name",":campaignname"],"variable":[{"key":"list_name","value":"list.csv"},{"key":"campaignname","value":"Outbound%20Campaign"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"entry\": {\n        \"firstname\": \"Mike\",\n        \"phone\": \"16505555555\",\n        \"id\": \"2\",\n        \"lastname\": \"Miller\",\n        \"status\": \"Platinum\"\n    },\n    \"status\": {\n        \"globalInteractionID\": \"3F4F2ACD-1233-42E3-8092-3A9F7D9D84BC\",\n        \"lastCallDuration\": 0,\n        \"lastDisposition\": \"Try again later\",\n        \"totalAttempts\": 1,\n        \"completed\": false,\n        \"lastAgent\": \"elizabeth\",\n        \"lastPhone\": \"16505555555\",\n        \"lastDate\": \"2021-02-19T19:12:21.000\"\n    }\n}"}],"_postman_id":"66752bff-f308-41b8-9d3c-e0e07c88781a"},{"name":"Update Record","id":"a5b7b107-7361-4ab8-acd5-78c1a9c57720","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <access_token>","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"fieldName_1\": \"value_1\",\r\n    ...\r\n    \"fieldName_n\": \"value_n\"\r\n}"},"url":"https://<tenant_URL>/configapi/v2/callinglist/update/:list_name","description":"<p>このメソッドは、指定された架電リスト内の既存のレコードのフィールドを更新します。リスト定義で設定された一意キーの値と一致するレコードが存在しない場合、エラーが返されます。一意キーを変更することはできません。</p>\n<p><strong>注</strong>：リストレコードを更新するには、架電リスト全体の内部再処理が必要となります。したがって、実行中のキャンペーン内のリストにこのメソッドを適用した場合、リストの再処理が完了するまで、そのキャンペーン内での当該リストの使用は一時停止されます。一時停止時間はリストのサイズによって異なり、リストが長い場合は数十分かかる場合があります。同じキャンペーンに関連付けられているその他のリストには影響はありません。</p>\n<p>その他のメモ：</p>\n<ul>\n<li>フィールド名は、リスト作成時に定義されたとおりに指定されます。</li>\n<li>リクエストには、オブジェクトのフィールドのすべてまたは部分を含めることができますが、主要フィールドは必須となります。</li>\n</ul>\n<h2 id=\"応答コード\">応答コード</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>コード</strong></th>\n<th><strong>説明</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>成功</td>\n</tr>\n<tr>\n<td>400</td>\n<td>不正なリクエスト（必須フィールドの欠落、またはフォーマットが認識できません）</td>\n</tr>\n<tr>\n<td>401</td>\n<td>認証に失敗しました</td>\n</tr>\n<tr>\n<td>403</td>\n<td>ユーザーは認証されましたが、十分な権限がありません</td>\n</tr>\n<tr>\n<td>404</td>\n<td>架電リストが見つかりません、レコードが見つかりません、または無効な URL です（本文が空です）</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v2","callinglist","update",":list_name"],"host":["<tenant_URL>"],"query":[],"variable":[{"description":{"content":"<p>架電リストの名前（例：list.csv）</p>\n","type":"text/plain"},"type":"any","value":"","key":"list_name"}]}},"response":[{"id":"d02786ab-409a-4d3f-ab6b-574eb897bf85","name":"Update Record","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"ID\": \"4\",\r\n    \"firstName\": \"Posty\",\r\n    \"lastName\": \"Melon\",\r\n    \"Phone\": \"16505555555\",\r\n    \"Status\": \"Platinum\"\r\n}"},"url":{"raw":"https://yourcompany.brightpattern.com/configapi/v2/callinglist/update/:list_name","protocol":"https","host":["yourcompany","brightpattern","com"],"path":["configapi","v2","callinglist","update",":list_name"],"variable":[{"key":"list_name","value":"list.csv"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":""}],"_postman_id":"a5b7b107-7361-4ab8-acd5-78c1a9c57720"}],"id":"0406eb2a-2cef-4458-acfb-161162bd2dc6","event":[{"listen":"prerequest","script":{"id":"a1bc3b13-0f55-4ec1-b3eb-922a3142d673","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"de86ee25-6b23-4f8f-8176-b4cbb11fcef4","type":"text/javascript","exec":[""]}}],"_postman_id":"0406eb2a-2cef-4458-acfb-161162bd2dc6","description":""},{"name":"キャンペーン","item":[{"name":"Get Campaigns","id":"8e1a565f-c587-4e66-80e3-695c155c6514","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"Bearer <access_token>","type":"text"}],"url":"https://<tenant_URL>/configapi/v2/campaign/getAll/","description":"<p>このメソッドは、有効なキャンペーンの一覧と、現在それらのキャンペーンに関連付けられている架電リストを返します。無効なキャンペーンは返されません。</p>\n<p>メモ:</p>\n<ul>\n<li>有効なキャンペーンがない場合、空の配列が返されることがあります。</li>\n</ul>\n<h2 id=\"応答コード\">応答コード</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Code</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>OK</td>\n</tr>\n<tr>\n<td>400</td>\n<td>不正なリクエスト（必須フィールドの欠落、またはフォーマットが認識できません）</td>\n</tr>\n<tr>\n<td>401</td>\n<td>認証に失敗しました</td>\n</tr>\n<tr>\n<td>403</td>\n<td>ユーザーは認証されましたが、十分な権限がありません</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v2","campaign","getAll",""],"host":["<tenant_URL>"],"query":[],"variable":[]}},"response":[{"id":"1f2061f0-9430-4f9f-aca7-fbc1c8197ba6","name":"Get Campaigns","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"url":"https://yourcompany.brightpattern.com/configapi/v2/campaign/getAll/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"[\r\n    {\r\n        \"name\": \"CupIQ Dynamics Preview\",\r\n        \"state\": \"STOPPED\",\r\n        \"lists\": [\r\n            \"CupIQ Dynamics Preview.csv\"\r\n        ]\r\n    }\r\n]"}],"_postman_id":"8e1a565f-c587-4e66-80e3-695c155c6514"}],"id":"4ca14ba9-a6f7-4066-8b74-0f727289d021","_postman_id":"4ca14ba9-a6f7-4066-8b74-0f727289d021","description":""},{"name":"迷惑電話防止リスト","item":[{"name":"Add Records to DNC","id":"809a3d6b-e03a-419a-9969-0a12d477d2c1","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <access_token>","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    [\r\n        \"123456789\",\r\n        \"optional comment\"\r\n    ],\r\n   …\r\n   [\r\n        \"9999999999\",\r\n        \"optional comment\"\r\n    ]\r\n]"},"url":"https://<tenant_URL>/configapi/v2/donotcalllist/add/:do_not_call_list_name","description":"<p>このメソッドは、指定されたDNC（発信禁止）リストに新規レコードを追加し、追加（つまり、末尾に付加）されたレコードの数を返します。重複レコードは無視されます。</p>\n<p>オプションのコメントフィールドの値は、地域（郵便番号）DNCレコードのコメントフィールド、内部DNCレコードのキャンペーン名フィールド、および市外局番DNCレコードのコメントフィールドに挿入されます。このメソッドは、内部、地域（郵便番号）、市外局番、およびレコード除外の<a href=\"https://help.brightpattern.com/latest:Contact-center-administrator-guide/DoNotCallLists/ja\">DNCリスト</a>に対してサポートされています。</p>\n<h2 id=\"応答コード\">応答コード</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>コード</strong></th>\n<th><strong>説明</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>成功</td>\n</tr>\n<tr>\n<td>400</td>\n<td>不正なリクエスト（フォーマットが理解できません）</td>\n</tr>\n<tr>\n<td>401</td>\n<td>認証に失敗しました</td>\n</tr>\n<tr>\n<td>403</td>\n<td>ユーザーは認証されましたが、十分な権限がありません。または、この種類のリストの変更は許可されていません</td>\n</tr>\n<tr>\n<td>404</td>\n<td>呼び出しリストが見つからないか、URLが無効です</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v2","donotcalllist","add",":do_not_call_list_name"],"host":["<tenant_URL>"],"query":[],"variable":[{"description":{"content":"<p>DNC（発信禁止）リストの名称（例：DNC_List）</p>\n","type":"text/plain"},"type":"any","value":"","key":"do_not_call_list_name"}]}},"response":[{"id":"cf450582-a502-4d5f-8f5f-80d6b45cc7ad","name":"Add Records to DNC","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    [\r\n        \"123456789\",\r\n        \"optional comment\"\r\n    ],\r\n    [\r\n        \"9999999999\",\r\n        \"optional comment\"\r\n    ]\r\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://yourcompany.brightpattern.com/configapi/v2/donotcalllist/add/:do_not_call_list_name","protocol":"https","host":["yourcompany","brightpattern","com"],"path":["configapi","v2","donotcalllist","add",":do_not_call_list_name"],"variable":[{"key":"do_not_call_list_name","value":"DNC_List"}]}},"status":"Success","code":200,"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"added\": 2\r\n}"}],"_postman_id":"809a3d6b-e03a-419a-9969-0a12d477d2c1"},{"name":"Replace Records in DNC","id":"2fe5d791-1e73-43f7-92c7-d39c5657df78","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <access_token>","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    [\r\n        \"123456789\",\r\n        \"optional comment\"\r\n    ],\r\n   …\r\n   [\r\n        \"9999999999\",\r\n        \"optional comment\"\r\n    ]\r\n]"},"url":"https://<tenant_URL>/configapi/v2/donotcalllist/replaceAll/:do_not_call_list_name","description":"<p>このメソッドは、指定された「電話勧誘拒否（DNC）」リスト内のすべてのレコードを置き換え、新たに挿入されたレコードの数を返します。重複するレコードは無視されます。オプションのコメントフィールドの値は、地域（郵便）DNCレコードのコメントフィールド、内部DNCレコードのキャンペーン名フィールド、および市外局番DNCレコードのコメントフィールドに挿入されます。このメソッドは、内部、地域（郵便）市外局番、およびアカウントの <a href=\"https://help.brightpattern.com/latest:Contact-center-administrator-guide/DoNotCallLists/ja\">DNCリスト</a> でサポートされています。</p>\n<h2 id=\"応答コード\">応答コード</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>コード</strong></th>\n<th><strong>説明</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>成功</td>\n</tr>\n<tr>\n<td>400</td>\n<td>不正なリクエスト（フォーマットが認識されません）</td>\n</tr>\n<tr>\n<td>401</td>\n<td>認証に失敗しました</td>\n</tr>\n<tr>\n<td>403</td>\n<td>ユーザーは認証されましたが、十分な権限がありません。または、この種類のリストの変更は許可されていません</td>\n</tr>\n<tr>\n<td>404</td>\n<td>呼び出し先のリストが見つからないか、URLが無効です</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v2","donotcalllist","replaceAll",":do_not_call_list_name"],"host":["<tenant_URL>"],"query":[],"variable":[{"description":{"content":"<p>「電話勧誘拒否（DNC）」リストの名称（例：DNC_List）</p>\n","type":"text/plain"},"type":"any","value":"","key":"do_not_call_list_name"}]}},"response":[{"id":"00979bde-bbe1-4f22-afb0-9aff3e5943e6","name":"Replace Records in DNC","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"{{vault:bearer-token}}","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    [\r\n        \"123456789\",\r\n        \"optional comment\"\r\n    ],\r\n    [\r\n        \"9999999999\",\r\n        \"optional comment\"\r\n    ]\r\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://yourcompany.brightpattern.com/configapi/v2/donotcalllist/replaceAll/:do_not_call_list_name","protocol":"https","host":["yourcompany","brightpattern","com"],"path":["configapi","v2","donotcalllist","replaceAll",":do_not_call_list_name"],"variable":[{"key":"do_not_call_list_name","value":"DNC_List"}]}},"status":"Success","code":200,"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"added\": 2\r\n}"}],"_postman_id":"2fe5d791-1e73-43f7-92c7-d39c5657df78"},{"name":"Delete All Records","id":"11bf3ed7-5f95-4927-8818-75dc767985af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <access_token>","type":"text"}],"url":"https://<tenant_URL>/configapi/v2/donotcalllist/deleteAll/:do_not_call_list_name","description":"<p>このメソッドは、指定されたDNCリストからすべてのレコードを削除し、削除されたレコードの数を返します。</p>\n<h2 id=\"応答コード\">応答コード</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>コード</strong></th>\n<th><strong>説明</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>成功</td>\n</tr>\n<tr>\n<td>400</td>\n<td>不正なリクエスト（フォーマットが認識できません）</td>\n</tr>\n<tr>\n<td>401</td>\n<td>認証に失敗しました</td>\n</tr>\n<tr>\n<td>403</td>\n<td>ユーザーは認証されましたが、十分な権限がありません。または、この種類のリストの変更は許可されていません</td>\n</tr>\n<tr>\n<td>404</td>\n<td>DNCリストが見つからないか、URLが無効です</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v2","donotcalllist","deleteAll",":do_not_call_list_name"],"host":["<tenant_URL>"],"query":[],"variable":[{"description":{"content":"<p>DNC (発信禁止) リストの名称（例：DNC_List）</p>\n","type":"text/plain"},"type":"any","value":null,"key":"do_not_call_list_name"}]}},"response":[{"id":"5b5c52fb-1b75-471e-bd4a-38ccc17c9b5b","name":"Delete All Records","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <access_token>","type":"text"}],"url":{"raw":"https://yourcompany.brightpattern.com/configapi/v2/donotcalllist/deleteAll/:do_not_call_list_name","protocol":"https","host":["yourcompany","brightpattern","com"],"path":["configapi","v2","donotcalllist","deleteAll",":do_not_call_list_name"],"variable":[{"key":"do_not_call_list_name","value":null,"description":"The name of the Do Not Call list (e.g., DNC_List)"}]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"11bf3ed7-5f95-4927-8818-75dc767985af"},{"name":"Delete Records","id":"08acb222-2c73-4a51-8bf8-fced211f9ebc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <access_token>","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"key\": \"9999999\"\r\n    },\r\n    {\r\n        \"key\": \"8888888\"\r\n    }\r\n]\r\n"},"url":"https://<tenant_URL>/configapi/v2/donotcalllist/delete/:do_not_call_list_name","description":"<p>このメソッドは、DNCリストから指定されたレコードのリストを削除し、削除されたレコードの数と、エラーがある場合はそのエラーのリストを返します。</p>\n<p>入力パラメータ：</p>\n<ul>\n<li>DNCリストのレコードリスト（JSONオブジェクト）</li>\n<li>「key」フィールドのみが必須です。</li>\n</ul>\n<h2 id=\"応答コード\">応答コード</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>コード</strong></th>\n<th><strong>説明</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>成功</td>\n</tr>\n<tr>\n<td>400</td>\n<td>不正なリクエスト（フォーマットが認識できません）</td>\n</tr>\n<tr>\n<td>401</td>\n<td>認証に失敗しました</td>\n</tr>\n<tr>\n<td>403</td>\n<td>ユーザーは認証されましたが、十分な権限がありません。または、この種類のリストの変更は許可されていません。</td>\n</tr>\n<tr>\n<td>404</td>\n<td>DNCリストが見つかりません、またはURLが無効です  <br /></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["configapi","v2","donotcalllist","delete",":do_not_call_list_name"],"host":["<tenant_URL>"],"query":[],"variable":[{"description":{"content":"<p>DNC (発信禁止) リストの名前（例：DNC_List）</p>\n","type":"text/plain"},"type":"any","value":null,"key":"do_not_call_list_name"}]}},"response":[{"id":"19197924-e9cc-4a3a-892b-e62dd07eb9ab","name":"Delete Records","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer <access_token>","type":"text"}],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"key\": \"9999999\"\r\n    },\r\n    {\r\n        \"key\": \"8888888\"\r\n    }\r\n]\r\n"},"url":{"raw":"https://yourcompany.brightpattern.com/configapi/v2/donotcalllist/delete/:do_not_call_list_name","protocol":"https","host":["yourcompany","brightpattern","com"],"path":["configapi","v2","donotcalllist","delete",":do_not_call_list_name"],"variable":[{"key":"do_not_call_list_name","value":null,"description":"The name of the Do Not Call list (e.g., DNC_List)"}]}},"_postman_previewlanguage":"Text","header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"08acb222-2c73-4a51-8bf8-fced211f9ebc"}],"id":"4f1c2761-bc35-4cd0-b5c1-55490fd45fe9","description":"<p>DNCリスト</p>\n","event":[{"listen":"prerequest","script":{"id":"331f37a1-94d7-409e-bb33-c046ed611921","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"1b7a73c6-8141-4163-8229-995e6831b0fd","type":"text/javascript","exec":[""]}}],"_postman_id":"4f1c2761-bc35-4cd0-b5c1-55490fd45fe9"}],"event":[{"listen":"prerequest","script":{"id":"abefce89-34fb-42e2-8713-3cc382c23de8","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"05c6616a-fcc8-484c-81b8-0a0ce3aad92d","type":"text/javascript","exec":[""]}}]}