{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"REST APIからのDecision Pointのマージおよび重複機能の使用","description":"Treasure Data Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"rest-apiからのdecision-pointのマージおよび重複機能の使用","__idx":0},"children":["REST APIからのDecision Pointのマージおよび重複機能の使用"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Decision Pointを使用することで、カスタマージャーニーをより適切にパーソナライズできます。選択したDecision Pointに基づいて、ジャーニーパスを分岐または再接続できます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"decision-pointの作成","__idx":1},"children":["Decision Pointの作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["特定の基準に基づいてDecision Pointを追加することで、顧客のジャーニー体験をパーソナライズできます。たとえば、メールオファーに応答したかどうかに基づいて、ジャーニーパスを変更または分岐できます。ジャーニーステージ内に最大2層のDecision Pointを追加できます。さらに、プロファイルが複数のパスに該当する場合にDecision Pointに優先順位を付けることができます。パスの優先順位は、ペイロード内で上から下への配置順序によって決まります。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["PATCHメソッドとジャーニーIDを使用して、既存のジャーニーにDecision Pointを追加します。次の例では、ジャーニーIDは2058です。"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"PATCH https://api-cdp.treasuredata.com/entities/journeys/2058\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ペイロードに、Decision Pointとそれに含まれるパスを追加します。Decision Pointはイベントまたはオブジェクトを記述し、各Decision Pointには2~6個のパスを設定できます。また、除外されたプロファイル(いずれの決定パスも満たさないプロファイル)をキャプチャするために、Decision Pointに除外パスを追加することもできます。たとえば、顧客がディーラーのウェブサイトで車などの特定の商品ページにアクセスした場合のDecision Pointを作成し、その後、フォームへの入力を含むパスを設定し、訪問者の地域に基づいて分岐させることができます。プロファイルが特定の決定パスを満たす場合、プロファイルはそのパスに従います。次の例では、Decision Pointには地域と性別の両方が含まれています。ただし、Decision Pointに「除外されたプロファイル」パスがある場合、いずれの決定パスも満たさないプロファイルは「除外されたプロファイル」パスに従います。"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"type\": \"journey\",\n  \"attributes\": {\n    \"name\": \"Draft journey\",\n    \"state\": \"draft\",\n    \"audienceId\": \"57320\",\n    \"description\": \"\",\n    \"journeyStages\": [\n      {\n        \"name\": \"StageA\",\n        \"id\": \"4080\",\n        \"entryCriteria\": null,\n        \"exitCriterias\": null,\n        \"milestone\": null,\n        \"rootStep\": \"9ad15b6d-53e3-42fd-89bd-7c00adce4379\",\n        \"steps\": {\n          \"9ad15b6d-53e3-42fd-89bd-7c00adce4379\": {\n            \"type\": \"DecisionPoint\",\n            \"branches\": [\n              {\n                \"uuid\": \"4f77161a-f7cb-41d0-bc43-31ee4c9ba394\",\n                \"name\": \"North America\",\n                \"description\": \"Customer lives in North America\",\n                \"excludedPath\": false,\n                \"segmentId\": \"1000\",\n                \"next\": \"\"\n              },\n              {\n                \"uuid\": \"e8413329-551d-47a1-9e71-08927e8a2f30\",\n                \"name\": \"Asia\",\n                \"description\": \"Customer lives in Asia\",\n                \"excludedPath\": false,\n                \"segmentId\": \"1001\",\n                \"next\": \"2969c02b-adb9-4f45-acfd-e1d006908522\"\n              },\n              {\n                \"uuid\": \"c47fe48e-fcbc-4f93-a75d-c6fd11ca8a20\",\n                \"name\": \"Excluded profiles\",\n                \"description\": \"comment\",\n                \"excludedPath\": true,\n                \"segmentId\": null,\n                \"next\": \"\"\n              }\n            ]\n          },\n          \"2969c02b-adb9-4f45-acfd-e1d006908522\": {\n            \"type\": \"DecisionPoint\",\n            \"branches\": [\n              {\n                \"uuid\": \"7b6822a9-bb24-4e01-b8cc-76d31e32952d\",\n                \"name\": \"Male\",\n                \"description\": \"Customer is a male\",\n                \"excludedPath\": false,\n                \"segmentId\": \"1002\",\n                \"next\": \"8e02f3e3-2f1f-4172-a793-57cc7d2db173\"\n              },\n              {\n                \"uuid\": \"55c38fad-b184-4152-82f3-4b9ca4cbb01f\",\n                \"name\": \"Female\",\n                \"description\": \"Customer is a female\",\n                \"excludedPath\": false,\n                \"segmentId\": \"1003\",\n                \"next\": \"8e02f3e3-2f1f-4172-a793-57cc7d2db173\"\n              }\n            ]\n          },\n          \"8e02f3e3-2f1f-4172-a793-57cc7d2db173\": {\n            \"type\": \"Merge\",\n            \"next\": \"\"\n          }\n        }\n      }\n    ],\n    \"goal\": null\n  },\n  \"relationships\": {\n    \"parentFolder\": {\n      \"data\": {\n        \"id\": \"205977\",\n        \"type\": \"folder-segment\"\n      }\n    }\n  },\n  \"id\": \"2058\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"decision-pointの編集","__idx":2},"children":["Decision Pointの編集"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ジャーニーを開始する前に、作成したDecision Pointを編集できます。たとえば、次のいずれかを行う必要がある場合があります:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["決定パスの名前を変更する"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["決定パスを編集する"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Decision Pointのパスを削除する"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Decision Point全体を削除する"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Decision Pointのパスを並べ替える*"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Decision Point内の決定パスは、それぞれのDecision Point内で並べ替えることができます。"]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["PATCHメソッドとジャーニーIDを使用して、既存のジャーニーのDecision Pointを編集します。"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"PATCH https://api-cdp.treasuredata.com/entities/journeys/2058\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":2},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ペイロードで、指定されたジャーニーのDecision Pointを変更します。次の例では、Decision Pointがヨーロッパの顧客を含むように編集されています。"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"type\": \"journey\",\n  \"attributes\": {\n    \"name\": \"Draft journey\",\n    \"state\": \"draft\",\n    \"audienceId\": \"57320\",\n    \"description\": \"\",\n    \"journeyStages\": [\n      {\n        \"name\": \"StageA\",\n        \"id\": \"4080\",\n        \"entryCriteria\": null,\n        \"exitCriterias\": null,\n        \"milestone\": null,\n        \"rootStep\": \"9ad15b6d-53e3-42fd-89bd-7c00adce4379\",\n        \"steps\": {\n          \"9ad15b6d-53e3-42fd-89bd-7c00adce4379\": {\n            \"type\": \"DecisionPoint\",\n            \"branches\": [\n              {\n                \"uuid\": \"4f77161a-f7cb-41d0-bc43-31ee4c9ba394\",\n                \"name\": \"North America\",\n                \"description\": \"顧客は北米に在住\",\n                \"excludedPath\": false,\n                \"segmentId\": \"1000\",\n                \"next\": \"\"\n              },\n              {\n                \"uuid\": \"e8413329-551d-47a1-9e71-08927e8a2f30\",\n                \"name\": \"Asia\",\n                \"description\": \"顧客はアジアに在住\",\n                \"excludedPath\": false,\n                \"segmentId\": \"1001\",\n                \"next\": \"2969c02b-adb9-4f45-acfd-e1d006908522\"\n              },\n              {\n                \"uuid\": \"c47fe48e-fcbc-4f93-a75d-c6fd11ca8a20\",\n                \"name\": \"Excluded profiles\",\n                \"description\": \"コメント\",\n                \"excludedPath\": true,\n                \"segmentId\": null,\n                \"next\": \"\"\n              }\n            ]\n          },\n          \"2969c02b-adb9-4f45-acfd-e1d006908522\": {\n            \"type\": \"DecisionPoint\",\n            \"branches\": [\n              {\n                \"uuid\": \"7b6822a9-bb24-4e01-b8cc-76d31e32952d\",\n                \"name\": \"Male\",\n                \"description\": \"顧客は男性\",\n                \"excludedPath\": false,\n                \"segmentId\": \"1002\",\n                \"next\": \"8e02f3e3-2f1f-4172-a793-57cc7d2db173\"\n              },\n              {\n                \"uuid\": \"55c38fad-b184-4152-82f3-4b9ca4cbb01f\",\n                \"name\": \"Female\",\n                \"description\": \"顧客は女性\",\n                \"excludedPath\": false,\n                \"segmentId\": \"1003\",\n                \"next\": \"8e02f3e3-2f1f-4172-a793-57cc7d2db173\"\n              }\n            ]\n          },\n          \"8e02f3e3-2f1f-4172-a793-57cc7d2db173\": {\n            \"type\": \"Merge\",\n            \"next\": \"\"\n          }\n        }\n      }\n    ],\n    \"goal\": null\n  },\n  \"relationships\": {\n    \"parentFolder\": {\n      \"data\": {\n        \"id\": \"205977\",\n        \"type\": \"folder-segment\"\n      }\n    }\n  },\n  \"id\": \"2058\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Decision Pointはジャーニーが起動された後は編集できません。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"decision-pointのマージ","__idx":3},"children":["Decision Pointのマージ"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Decision Pointをマージすることで、指定したDecision Pointの後にプロファイルが同じジャーニーパスを辿るようにできます。マージするパスを選択し、パスをマージする特定のポイントを指定できます。また、マージを削除することもできます。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["PATCHメソッドとジャーニーIDを使用して、既存のジャーニーにマージポイントを追加します。次の例では、性別に関係なく顧客パスがマージされ、別の分岐が指定されるかジャーニーが終了するまで、ユーザーは同じパスに沿って進みます。"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"PATCH https://api-cdp.treasuredata.com/entities/journeys/2058\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":2},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ペイロードで、指定したジャーニーにマージポイントを追加します。"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"type\": \"journey\",\n  \"attributes\": {\n    \"name\": \"Draft journey\",\n    \"state\": \"draft\",\n    \"audienceId\": \"57320\",\n    \"description\": \"\",\n    \"journeyStages\": [\n      {\n        \"name\": \"StageA\",\n        \"id\": \"4080\",\n        \"entryCriteria\": null,\n        \"exitCriterias\": null,\n        \"milestone\": null,\n        \"rootStep\": \"9ad15b6d-53e3-42fd-89bd-7c00adce4379\",\n        \"steps\": {\n          \"9ad15b6d-53e3-42fd-89bd-7c00adce4379\": {\n            \"type\": \"DecisionPoint\",\n            \"branches\": [\n              {\n                \"uuid\": \"4f77161a-f7cb-41d0-bc43-31ee4c9ba394\",\n                \"name\": \"North America\",\n                \"description\": \"顧客は北米に在住\",\n                \"excludedPath\": false,\n                \"segmentId\": \"1000\",\n                \"next\": \"\"\n              },\n              {\n                \"uuid\": \"e8413329-551d-47a1-9e71-08927e8a2f30\",\n                \"name\": \"Asia\",\n                \"description\": \"顧客はアジアに在住\",\n                \"excludedPath\": false,\n                \"segmentId\": \"1001\",\n                \"next\": \"2969c02b-adb9-4f45-acfd-e1d006908522\"\n              },\n              {\n                \"uuid\": \"c47fe48e-fcbc-4f93-a75d-c6fd11ca8a20\",\n                \"name\": \"Excluded profiles\",\n                \"description\": \"コメント\",\n                \"excludedPath\": true,\n                \"segmentId\": null,\n                \"next\": \"\"\n              }\n            ]\n          },\n          \"2969c02b-adb9-4f45-acfd-e1d006908522\": {\n            \"type\": \"DecisionPoint\",\n            \"branches\": [\n              {\n                \"uuid\": \"7b6822a9-bb24-4e01-b8cc-76d31e32952d\",\n                \"name\": \"Male\",\n                \"description\": \"顧客は男性\",\n                \"excludedPath\": false,\n                \"segmentId\": \"1002\",\n                \"next\": \"8e02f3e3-2f1f-4172-a793-57cc7d2db173\"\n              },\n              {\n                \"uuid\": \"55c38fad-b184-4152-82f3-4b9ca4cbb01f\",\n                \"name\": \"Female\",\n                \"description\": \"Customer is a female\",\n                \"excludedPath\": false,\n                \"segmentId\": \"1003\",\n                \"next\": \"8e02f3e3-2f1f-4172-a793-57cc7d2db173\"\n              }\n            ]\n          },\n          \"8e02f3e3-2f1f-4172-a793-57cc7d2db173\": {\n            \"type\": \"Merge\",\n            \"next\": \"\"\n          }\n        }\n      }\n    ],\n    \"goal\": null\n  },\n  \"relationships\": {\n    \"parentFolder\": {\n      \"data\": {\n        \"id\": \"205977\",\n        \"type\": \"folder-segment\"\n      }\n    }\n  },\n  \"id\": \"2058\"\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ジャーニーの複製","__idx":4},"children":["ジャーニーの複製"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["起動後のジャーニーは編集できませんが、既存のジャーニーを複製して編集し、同じ親セグメント内にドラフトとして保存することができます。この方法により、既存の起動済みジャーニーのセグメントやアクティベーションを含むすべての設定をコピーできます。ドラフトモードのジャーニーも複製できます。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["POST メソッドとジャーニー ID を使用して、既存の起動済みジャーニーを複製します。"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"POST https://api-cdp.treasuredata.com/entities/journeys/duplicate\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":2},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ジャーニーとその依存リソースをドラフトとして新しいジャーニーにコピーできます。リクエストボディは次の例のようになります。以下の例では、複製されるジャーニーは 9957 です。"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"id\": \"9957\",\n  \"type\": \"journey\",\n  \"attributes\": {\n    \"name\": \"Duplicated journey\"\n  },\n  \"relationships\": {\n    \"parentFolder\": {\n      \"data\": {\n        \"id\": \"7601\",\n        \"type\": \"folder-segment\"\n      }\n    }\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"decision-pointの削除","__idx":5},"children":["Decision Pointの削除"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ジャーニーを起動する前に作成したDecision Pointは、指定したデシジョンパスを削除することで削除できます。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["PATCH メソッドとジャーニー ID を使用して、既存のジャーニーのDecision Pointを削除します。"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"PATCH https://api-cdp.treasuredata.com/entities/journeys/2058\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":2},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ペイロード内で、指定したジャーニーのDecision Pointを変更します。以下の例では、プロファイルの性別に基づいてパスを変更するDecision Point 2969c02b-adb9-4f45-acfd-e1d006908522 と対応するマージがペイロードから削除されています。他の条件が同じマージに依存している場合は、マージをペイロード内に保持できます。"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"type\": \"journey\",\n  \"attributes\": {\n    \"name\": \"Draft journey\",\n    \"state\": \"draft\",\n    \"audienceId\": \"57320\",\n    \"description\": \"\",\n    \"journeyStages\": [\n      {\n        \"name\": \"StageA\",\n        \"id\": \"4080\",\n        \"entryCriteria\": null,\n        \"exitCriterias\": null,\n        \"milestone\": null,\n        \"rootStep\": \"9ad15b6d-53e3-42fd-89bd-7c00adce4379\",\n        \"steps\": {\n          \"9ad15b6d-53e3-42fd-89bd-7c00adce4379\": {\n            \"type\": \"DecisionPoint\",\n            \"branches\": [\n              {\n                \"uuid\": \"4f77161a-f7cb-41d0-bc43-31ee4c9ba394\",\n                \"name\": \"North America\",\n                \"description\": \"Customer lives in North America\",\n                \"excludedPath\": false,\n                \"segmentId\": \"1000\",\n                \"next\": \"\"\n              },\n              {\n                \"uuid\": \"e8413329-551d-47a1-9e71-08927e8a2f30\",\n                \"name\": \"Europe\",\n                \"description\": \"Customer lives in Europe\",\n                \"excludedPath\": false,\n                \"segmentId\": \"1001\",\n                \"next\": \"2969c02b-adb9-4f45-acfd-e1d006908522\"\n              },\n              {\n                \"uuid\": \"e8413329-551d-47a1-9e71-08927e8a2f30\",\n                \"name\": \"Asia\",\n                \"description\": \"Customer lives in Asia\",\n                \"excludedPath\": false,\n                \"segmentId\": \"1001\",\n                \"next\": \"2969c02b-adb9-4f45-acfd-e1d006908522\"\n              },\n              {\n                \"uuid\": \"c47fe48e-fcbc-4f93-a75d-c6fd11ca8a20\",\n                \"name\": \"Excluded profiles\",\n                \"description\": \"comment\",\n                \"excludedPath\": true,\n                \"segmentId\": null,\n                \"next\": \"\"\n              }\n            ]\n          }\n        }\n      }\n    ],\n    \"goal\": null\n  },\n  \"relationships\": {\n    \"parentFolder\": {\n      \"data\": {\n        \"id\": \"205977\",\n        \"type\": \"folder-segment\"\n      }\n    }\n  },\n  \"id\": \"2058\"\n}\n","lang":"json"},"children":[]}]},"headings":[{"value":"REST APIからのDecision Pointのマージおよび重複機能の使用","id":"rest-apiからのdecision-pointのマージおよび重複機能の使用","depth":1},{"value":"Decision Pointの作成","id":"decision-pointの作成","depth":2},{"value":"Decision Pointの編集","id":"decision-pointの編集","depth":2},{"value":"Decision Pointのマージ","id":"decision-pointのマージ","depth":2},{"value":"ジャーニーの複製","id":"ジャーニーの複製","depth":2},{"value":"Decision Pointの削除","id":"decision-pointの削除","depth":2}],"frontmatter":{"seo":{"title":"REST APIからのDecision Pointのマージおよび重複機能の使用"}},"lastModified":"2025-11-22T02:43:27.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/products/customer-data-platform/journey-orchestration/batch/using-decision-points-merge-and-duplicate-features-from-the-rest-api","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}