forked from laiweijian4/doc-exports
Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com> Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
27 lines
1.8 KiB
HTML
27 lines
1.8 KiB
HTML
<a name="drs_api_0115"></a><a name="drs_api_0115"></a>
|
|
|
|
<h1 class="topictitle1">Obtaining a Task ID</h1>
|
|
<div id="body0000001108045500"><p id="drs_api_0115__en-us_topic_0172726780_p319120186281">A task ID is required for some URLs when an API is called. This section describes how to obtain a task ID.</p>
|
|
<div class="section" id="drs_api_0115__section1982413128332"><h4 class="sectiontitle">Obtaining a Task ID from the Console</h4><ol id="drs_api_0115__en-us_topic_0172726780_ol1449901513354"><li id="drs_api_0115__en-us_topic_0172726780_li17914130122814"><span>You have logged in to the DRS management console.</span></li><li id="drs_api_0115__li75681224153710"><span>In the task list, view the task ID.</span><p><p id="drs_api_0115__p19977111110431">Alternatively, click the task name and view the task ID on the <strong id="drs_api_0115__b113623183417">Basic Information</strong> tab.</p>
|
|
</p></li></ol>
|
|
</div>
|
|
<div class="section" id="drs_api_0115__en-us_topic_0172726780_section11269315243"><h4 class="sectiontitle">Obtaining a Task ID Through an API</h4><p id="drs_api_0115__en-us_topic_0172726780_p1033710172412">You can also obtain the task ID by calling the API in <a href="drs_03_0104.html">Creating Tasks in Batches</a>.</p>
|
|
<p id="drs_api_0115__en-us_topic_0172726780_p1233731132413">The following is an example response after a task is successfully created. In the response, <strong id="drs_api_0115__b02181511143519">id</strong> indicates the task ID.</p>
|
|
<pre class="screen" id="drs_api_0115__screen1577211414510">{
|
|
"results" : [ {
|
|
"id" : "e11eaf8f-71ef-4fad-8890-aed7572ajb11",
|
|
"name" : "DRS-9228",
|
|
"status" : "CREATING",
|
|
"create_time" : "1599188556112"
|
|
} ],
|
|
"count" : 1
|
|
}</pre>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_03_0125.html">Appendix</a></div>
|
|
</div>
|
|
</div>
|
|
|