{"id":26650,"date":"2024-02-14T15:12:16","date_gmt":"2024-02-14T06:12:16","guid":{"rendered":"https:\/\/docs.c-bot.pro\/?p=26650"},"modified":"2024-04-19T10:26:33","modified_gmt":"2024-04-19T01:26:33","slug":"refer_job_using_access_token","status":"publish","type":"post","link":"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/cloud_bot\/refer_job_using_access_token\/","title":{"rendered":"Cloud BOT \/\u00a0Refer job (Using access token)"},"content":{"rendered":"\n<p><a href=\"https:\/\/docs.c-bot.pro\/en\/\"><i class=\"fas fa-book\"><\/i>&nbsp;Home<\/a> &gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\">User guide<\/a> &gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/\">BOT<\/a>  &gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\">How to use the BOT editor<\/a> &gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\">Extension<\/a> &gt; <a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/cloud_bot\/\">Cloud BOT<\/a> &gt; Refer job (Using access token)<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-full is-resized extension_icon\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/02\/user_guide_ex_cloudbot_icon.png\" alt=\"\" class=\"wp-image-26256 extension_border\" width=\"75\" height=\"75\"><\/figure>\n\n\n\n<h2 id=\"outline__1\" class=\"wp-block-heading\">Screen description<\/h2>\n\n\n\n<p>Refer to any job using the access token. To use it, the contract must have External Connections enabled.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\"<strong>Operation Procedure for Cloud BOT App Using Access Token<\/strong>\"<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/cloud_bot\/view_bot_list_using_access_token\/\"><img decoding=\"async\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/04\/user_guide_ex_cloudbot_at_b_01_en_01-v2.png\" alt=\"\" class=\"wp-image-26667\"\/><\/a><\/figure>\n\n\n\n<p class=\"has-small-font-size\">Reference the list of BOTs and obtain the <strong>BOT execution endpoint<\/strong> for the target BOT.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/cloud_bot\/execute_bot_using_access_token\/\"><img loading=\"lazy\" decoding=\"async\" width=\"560\" height=\"277\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/02\/user_guide_ex_cloudbot_at_b_en_02.png\" alt=\"\" class=\"wp-image-26600\"\/><\/a><\/figure>\n\n\n\n<p class=\"has-small-font-size\">Use the BOT execution endpoint to execute the BOT. Obtain the <strong>Job reference endpoint <\/strong>from the execution results.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/cloud_bot\/refer_job_using_access_token\/\"><img loading=\"lazy\" decoding=\"async\" width=\"560\" height=\"277\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/02\/user_guide_ex_cloudbot_ban_rj_en_04.png\" alt=\"\" class=\"wp-image-26691\"\/><\/a><\/figure>\n\n\n\n<p class=\"has-small-font-size\">Use the job reference endpoint to refer to the detailed information of the job.<\/p>\n<\/div>\n<\/div>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Extended Feature URL<\/td><td>cbot-extension:\/\/cloud-bot:cloud-bot:refer-job-using-credentials:1<\/td><\/tr><tr><td>Provider<\/td><td>Cloud BOT <span style=\"margin-left: 2px ; padding: 2px 7px; border:0px solid #000 ; background-color: #007bff ; border-radius: 5px ; color: #ffffff ; font-size: 0.7em;\" class=\"badge\">official<\/span><\/td><\/tr><tr><td>External communication<\/td><td>Yes<\/td><\/tr><tr><td>Version<\/td><td>1<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 id=\"outline__1\" class=\"wp-block-heading\">Screen description<\/h2>\n\n\n\n<h3 id=\"outline__2_1\" class=\"wp-block-heading\"><strong><strong>Input screen<\/strong><\/strong><\/h3>\n\n\n\n<h4 id=\"outline__2_1_1\" class=\"wp-block-heading\"><strong><strong><strong>Request options<\/strong><\/strong><\/strong><\/h4>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1679\" height=\"902\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/02\/user_guide_ex_cloudbot_refer_job_at_en_01.png\" alt=\"\" class=\"wp-image-26657\"\/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"has-black-color has-text-color\"><strong><strong><strong>Access token<\/strong><\/strong><\/strong><\/p>\n\n\n\n<p class=\"extension_detail_item_body\">Specify an access token.<\/p>\n\n\n\n<p class=\"extension_detail_item_body\">\n<small>\n* The <strong>\"Refer\" privilege must be granted to the access token<\/strong> to be used.\n<\/small>\n<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\"><strong><strong><strong><strong>Secret key<\/strong><\/strong><\/strong><\/strong><\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">Specifies a secret key.<\/p>\n\n\n\n<p><strong>Job reference endpoint<\/strong><\/p>\n\n\n\n<p>Specifies a Job reference endpoint.<br><small>* The job reference endpoint can be obtained via \"<a rel=\"noreferrer noopener\" href=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/cloud_bot\/execute_bot_using_access_token\/\" data-type=\"URL\" data-id=\"https:\/\/docs.c-bot.pro\/en\/user_guide\/bot\/b-bot_editer\/extension\/cloud_bot\/execute_bot_using_access_token\/\" target=\"_blank\">Execute BOT (Using access token)<\/a>\".<\/small><\/p>\n\n\n\n<p><strong><strong><strong><strong>Properties to display<\/strong><\/strong><\/strong><\/strong><\/p>\n\n\n\n<p>Select the properties to be displayed on the results screen.<br>Select the output data or response JSON.<\/p>\n\n\n\n<p class=\"extension_detail_item_body\">\n<small>\n* <a href=\"#outline__2_4\">Click<\/a> here to learn more about the properties to be displayed.\n<\/small>\n<\/p>\n<\/div>\n<\/div>\n\n\n\n<h3 id=\"outline__2_2\" class=\"wp-block-heading\"><strong><strong><strong><strong><strong><strong>Result screen<\/strong><\/strong><\/strong><\/strong><\/strong><\/strong><\/h3>\n\n\n\n<h4 id=\"outline__2_2_1\" class=\"wp-block-heading\"><strong><strong><strong><strong>The retrieval of the job is completed<\/strong><\/strong><\/strong><\/strong><\/h4>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1679\" height=\"1895\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/02\/user_guide_ex_cloudbot_refer_job_at_en_02.png\" alt=\"\" class=\"wp-image-26659\"\/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>Displays the results of the job reference.<\/p>\n\n\n\n<p>For the results, please refer to the <a href=\"https:\/\/docs.c-bot.pro\/en\/api_reference\/\" data-type=\"URL\" data-id=\"https:\/\/docs.c-bot.pro\/en\/api_reference\/\">API reference<\/a>.<\/p>\n<\/div>\n<\/div>\n\n\n\n<h3 id=\"outline__2_3\" class=\"wp-block-heading\"><strong>About referable jobs<\/strong><\/h3>\n\n\n\n<p>The conditions for referencing a job are as follows.<br><br>\n<strong>When referencing a job within your own contract<\/strong>\uff1a<br>No settings are required, and all jobs are referable.<br>\n<strong>When referencing a job within a contract you are a part of<\/strong>\uff1a<br>External Connections setting must be enabled. If it is disabled, the job cannot be referenced, and an error will occur. <br><br>The status of External Connections settings can be checked on the Connect page.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1510\" height=\"769\" src=\"https:\/\/docs.c-bot.pro\/wp-content\/uploads\/2024\/02\/user_guide_ex_cloudbot_exbot_en_04.png\" alt=\"\" class=\"wp-image-26554\"\/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;Home &gt; User guide &gt; BOT &gt; How to use the BOT editor &gt; Extension &gt; Cloud BOT &gt; Refer job (Using access token) Screen description Refer to any job using the access token. To use it, the contract must have External Connections enabled. \"Operation Procedure for Cloud BOT App Using Access Token\" Reference the list of BOTs and obtain the BOT execution endpoint for the target BOT. Use the BOT execution endpoint to execute the BOT. Obtain the Job reference endpoint from the execution results. Use the job reference endpoint to refer to the detailed information of the job. Extended Feature URL cbot-extension:\/\/cloud-bot:cloud-bot:refer-job-using-credentials:1 Provider Cloud BOT official External communication Yes Version 1 Screen description Input screen Request options Access token Specify an access token. * The \"Refer\" privilege must be granted to the access token to be used. Secret key Specifies a secret key. Job reference endpoint Specifies a Job reference endpoint.* The job reference endpoint can be obtained via \"Execute BOT (Using access token)\". Properties to display Select the properties to be displayed on the results screen.Select the output data or response JSON. * Click here to learn more about the properties to be displayed. Result screen The [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_locale":"en_US","_original_post":"https:\/\/docs.c-bot.pro\/?p=26392","footnotes":""},"categories":[106],"tags":[119,12,110,114,109,116],"class_list":["post-26650","post","type-post","status-publish","format-standard","hentry","category-cloud_bot","tag-access-token","tag-api","tag-bot-editor","tag-cloud-bot","tag-extention","tag-refer-job","en-US"],"_links":{"self":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/26650","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/comments?post=26650"}],"version-history":[{"count":10,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/26650\/revisions"}],"predecessor-version":[{"id":28222,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/posts\/26650\/revisions\/28222"}],"wp:attachment":[{"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/media?parent=26650"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/categories?post=26650"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.c-bot.pro\/wp-json\/wp\/v2\/tags?post=26650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}