doc-exports/docs/mrs/api-ref/mrs_02_0041.html
Yang, Tong bd2b57f749 MRS API 2.0.38.SP20 version
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2022-11-16 15:06:08 +00:00

349 lines
21 KiB
HTML

<a name="mrs_02_0041"></a><a name="mrs_02_0041"></a>
<h1 class="topictitle1">Creating a Job Object</h1>
<div id="body1484210107927"><div class="section" id="mrs_02_0041__section40666287163540"><h4 class="sectiontitle">Function</h4><p id="mrs_02_0041__p39994334163542">This API is used to create a job object. This API is compatible with Sahara.</p>
</div>
<div class="section" id="mrs_02_0041__section25682805163556"><h4 class="sectiontitle">URI</h4><ul id="mrs_02_0041__ul2095591163640"><li id="mrs_02_0041__li10997729163640">Format<p id="mrs_02_0041__p53372870163653"><a name="mrs_02_0041__li10997729163640"></a><a name="li10997729163640"></a>POST /v1.1/{project_id}/jobs</p>
</li><li id="mrs_02_0041__li17220269163646">Parameter description
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0041__table49499141194754" frame="border" border="1" rules="all"><caption><b>Table 1 </b>URI parameter description</caption><thead align="left"><tr id="mrs_02_0041__row33700024194754"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.2.2.1.2.4.1.1"><p id="mrs_02_0041__p16571835194812">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.2.2.2.1.2.4.1.2"><p id="mrs_02_0041__p141410194812">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.2.2.2.1.2.4.1.3"><p id="mrs_02_0041__p11454278194812">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_02_0041__row12931900144556"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.4.1.1 "><p id="mrs_02_0041__p40851019144556">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.2.2.2.1.2.4.1.2 "><p id="mrs_02_0041__p20598275144556">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.2.2.2.1.2.4.1.3 "><p id="mrs_02_0041__p57847563144556">Project ID. For details on how to obtain the project ID, see <a href="mrs_02_0011.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div class="section" id="mrs_02_0041__section7976792193238"><h4 class="sectiontitle">Request</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0041__table51257841151049" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request parameter description</caption><thead align="left"><tr id="mrs_02_0041__row8480851151049"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.3.2.2.5.1.1"><p id="mrs_02_0041__p15860319151049">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.2.2.5.1.2"><p id="mrs_02_0041__p9617423151049">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.3.2.2.5.1.3"><p id="mrs_02_0041__p40813771151049">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="45%" id="mcps1.3.3.2.2.5.1.4"><p id="mrs_02_0041__p17581180151049">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_02_0041__row33862023103039"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0041__p66764558103051">name</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0041__p207690014257">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0041__p22710132103051">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0041__p27581435103051">Job object name</p>
<p id="mrs_02_0041__p24316035143322">Contains 1 to 64 characters and consists of letters, digits, hyphens (-), and underscores (_) only.</p>
</td>
</tr>
<tr id="mrs_02_0041__row22681519104555"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0041__p62177253104629">mains</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0041__p3476698514319">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0041__p57283501104629">Array</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0041__p9452014104629">Executable program set of a job object</p>
<p id="mrs_02_0041__p4353308112728">If the job type is Hive or Spark Script, the value of <strong id="mrs_02_0041__b1689470184713">mains</strong> must not be empty.</p>
<p id="mrs_02_0041__p46902461112746">For details on how to obtain the executable program, see <a href="mrs_02_0034.html">Creating a Job Binary Object</a>.</p>
</td>
</tr>
<tr id="mrs_02_0041__row4719796510464"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0041__p6521450910469">libs</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0041__p633981614319">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0041__p5338853410469">Array</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0041__p5409080711259">Dependency package set of a job object</p>
<p id="mrs_02_0041__p19928586112535">If the job type is MapReduce or Spark, the value of <strong id="mrs_02_0041__b775065414712">libs</strong> must not be empty.</p>
<p id="mrs_02_0041__p2950402010469">For details on how to obtain the dependency package, see <a href="mrs_02_0034.html">Creating a Job Binary Object</a>.</p>
</td>
</tr>
<tr id="mrs_02_0041__row60274821103112"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0041__p16682465103121">is_protected</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0041__p2616717514319">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0041__p66208658103121">Bool</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0041__p61301077103121">Whether a job object is protected</p>
<ul id="mrs_02_0041__ul14838786103121"><li id="mrs_02_0041__li66440213103121">true</li><li id="mrs_02_0041__li61091007103121">false</li></ul>
<p id="mrs_02_0041__p60751061161756">The current version does not support this function.</p>
</td>
</tr>
<tr id="mrs_02_0041__row7283691165011"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0041__p53108105165011">interface</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0041__p708398414319">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0041__p13061488165011">Array</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0041__p51347592165011">User-defined interface set</p>
<p id="mrs_02_0041__p937511912139">The current version does not support this function.</p>
</td>
</tr>
<tr id="mrs_02_0041__row6726034151222"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0041__p20438892151640">is_public</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0041__p3988522414319">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0041__p16062920151640">Bool</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0041__p26028163151640">Whether a job object is public</p>
<ul id="mrs_02_0041__ul32926880151640"><li id="mrs_02_0041__li27906471151640">true</li><li id="mrs_02_0041__li49831647151640">false</li></ul>
<p id="mrs_02_0041__p30840219161910">The current version does not support this function.</p>
</td>
</tr>
<tr id="mrs_02_0041__row32868124165025"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0041__p45072358165025">type</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0041__p26982364165025">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0041__p38087912165025">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0041__p65221999165025">Job object type</p>
<ul id="mrs_02_0041__ul41980356165224"><li id="mrs_02_0041__li58640027165224">MapReduce</li><li id="mrs_02_0041__li5004758614335">Spark</li><li id="mrs_02_0041__li3997375714424">Hive (not supported currently)</li><li id="mrs_02_0041__li6021240818040">hql</li><li id="mrs_02_0041__li1601994414614">DistCp</li><li id="mrs_02_0041__li6157029514454">SparkScript</li><li id="mrs_02_0041__li35838114621">SparkSql (not supported in this API currently)</li></ul>
</td>
</tr>
<tr id="mrs_02_0041__row1546567016045"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.3.2.2.5.1.1 "><p id="mrs_02_0041__p2185314916152">description</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.2 "><p id="mrs_02_0041__p2527461516152">No</p>
</td>
<td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.3.2.2.5.1.3 "><p id="mrs_02_0041__p3397791716152">String</p>
</td>
<td class="cellrowborder" valign="top" width="45%" headers="mcps1.3.3.2.2.5.1.4 "><p id="mrs_02_0041__p74792916152">Job object description</p>
<p id="mrs_02_0041__p1211513514815">Contains a maximum of 65535 characters.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="mrs_02_0041__section38599577193858"><h4 class="sectiontitle">Response</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0041__table59661002165457" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Response parameter description</caption><thead align="left"><tr id="mrs_02_0041__row10519102165457"><th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.2.4.1.1"><p id="mrs_02_0041__p46740914165457">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25%" id="mcps1.3.4.2.2.4.1.2"><p id="mrs_02_0041__p46739816165457">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.2.2.4.1.3"><p id="mrs_02_0041__p27828729165457">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_02_0041__row39534608165457"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.1 "><p id="mrs_02_0041__p63009778165556">description</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.2 "><p id="mrs_02_0041__p16556971165556">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.4.1.3 "><p id="mrs_02_0041__p66046290165556">Job object description</p>
</td>
</tr>
<tr id="mrs_02_0041__row25337058165457"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.1 "><p id="mrs_02_0041__p3995095165523">tenant_id</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.2 "><p id="mrs_02_0041__p5010671716586">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.4.1.3 "><p id="mrs_02_0041__p1768719515356">Project ID. For details on how to obtain the project ID, see <a href="mrs_02_0011.html">Obtaining a Project ID</a>.</p>
</td>
</tr>
<tr id="mrs_02_0041__row12452905165457"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.1 "><p id="mrs_02_0041__p9142694165522">created_at</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.2 "><p id="mrs_02_0041__p5818509216586">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.4.1.3 "><p id="mrs_02_0041__p43099508165522">Job object creation time</p>
</td>
</tr>
<tr id="mrs_02_0041__row6430303593958"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.1 "><p id="mrs_02_0041__p4116333193958">updated_at</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.2 "><p id="mrs_02_0041__p2654730093958">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.4.1.3 "><p id="mrs_02_0041__p284769393958">Job object update time</p>
</td>
</tr>
<tr id="mrs_02_0041__row45726010165636"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.1 "><p id="mrs_02_0041__p15790016165745">mains</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.2 "><p id="mrs_02_0041__p49320399165745">Array</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.4.1.3 "><p id="mrs_02_0041__p35529400165745">Executable program set of a job object</p>
</td>
</tr>
<tr id="mrs_02_0041__row52234583165644"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.1 "><p id="mrs_02_0041__p64020041165745">libs</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.2 "><p id="mrs_02_0041__p1110262165745">Array</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.4.1.3 "><p id="mrs_02_0041__p22822436165745">Dependency package set of a job object</p>
</td>
</tr>
<tr id="mrs_02_0041__row48958638165457"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.1 "><p id="mrs_02_0041__p6226708165457">is_protected</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.2 "><p id="mrs_02_0041__p51245066165457">Bool</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.4.1.3 "><p id="mrs_02_0041__p57209706165457">Whether a job object is protected</p>
<ul id="mrs_02_0041__ul35340370162024"><li id="mrs_02_0041__li49627876162024">true</li><li id="mrs_02_0041__li43997707162024">false</li></ul>
<p id="mrs_02_0041__p60435047162024">The current version does not support this function.</p>
</td>
</tr>
<tr id="mrs_02_0041__row13009340165457"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.1 "><p id="mrs_02_0041__p47123581165457">interface</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.2 "><p id="mrs_02_0041__p7281273165457">Array</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.4.1.3 "><p id="mrs_02_0041__p52912260165457">User-defined interface set</p>
</td>
</tr>
<tr id="mrs_02_0041__row6448297165457"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.1 "><p id="mrs_02_0041__p52550072165457">is_public</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.2 "><p id="mrs_02_0041__p42790907165457">Bool</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.4.1.3 "><p id="mrs_02_0041__p43511423165457">Whether a job object is public</p>
<ul id="mrs_02_0041__ul5045624162013"><li id="mrs_02_0041__li45410624162013">true</li><li id="mrs_02_0041__li6042433162013">false</li></ul>
<p id="mrs_02_0041__p54381902162013">The current version does not support this function.</p>
</td>
</tr>
<tr id="mrs_02_0041__row64450389165457"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.1 "><p id="mrs_02_0041__p53098998165457">type</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.2 "><p id="mrs_02_0041__p20418607165457">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.4.1.3 "><p id="mrs_02_0041__p43294486165457">Job object type</p>
</td>
</tr>
<tr id="mrs_02_0041__row20514830165457"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.1 "><p id="mrs_02_0041__p43131972165659">id</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.2 "><p id="mrs_02_0041__p15928073165725">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.4.1.3 "><p id="mrs_02_0041__p34994329165659">Job object ID</p>
</td>
</tr>
<tr id="mrs_02_0041__row2613903516576"><td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.1 "><p id="mrs_02_0041__p3688706316576">name</p>
</td>
<td class="cellrowborder" valign="top" width="25%" headers="mcps1.3.4.2.2.4.1.2 "><p id="mrs_02_0041__p19040333165725">String</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.2.2.4.1.3 "><p id="mrs_02_0041__p6070871216576">Job object name</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="mrs_02_0041__section1210015461189"><h4 class="sectiontitle">Example</h4><ul id="mrs_02_0041__ul1958913536182"><li id="mrs_02_0041__li1558945321814">Example request<pre class="screen" id="mrs_02_0041__screen53363696145031">The request example of MapReduce job:
{
"name": "my-mapreduce-job",
"mains": [ ],
"libs": [
"092b628b-26a3-4571-9ba4-f8d000df8877"
],
"is_protected": false,
"interface": [ ],
"is_public": false,
"type": "MapReduce",
"description": "This is the Map Reduce job template"
}
The request example of Spark job:
{
"name": "my-spark-job",
"type": "Spark",
"description": "This is the Spark job template",
"mains": [ ],
"libs": [
"ed2ffd92-6308-44cb-b930-e10b6d65d3aa"
],
"is_public": false,
"is_protected": false,
"interface": [ ]
}
The request example of DistCp job:
{
"name": "my-distcp-job",
"type": "DistCp",
"description": "This is the DistCp job template",
"mains": [ ],
"libs": [ ],
"is_public": false,
"is_protected": false,
"interface": [ ]
}
The request example of Hive job:
{
"name": "my-hive-job",
"type": "Hive",
"description": "This is the Hive job template",
"mains": [
"0d58a7e1-3ea7-413e-9a94-7702f99a9fa2"
],
"libs": [ ],
"is_public": false,
"is_protected": false,
"interface": [ ]
}
The request example of SparkScript job:
{
"name": "my-sparkscript-job",
"type": "SparkScript",
"description": "This is the SparkScript job template",
"mains": [
"89e6a8bc-dde1-4053-97c1-72504f630dbf"
],
"libs": [ ],
"is_public": false,
"is_protected": false,
"interface": [ ]
}</pre>
</li><li id="mrs_02_0041__li543710159193">Example response<pre class="screen" id="mrs_02_0041__screen34402226165439">{
"job": {
"name": "my-mapreduce-job",
"type": "MapReduce",
"description": "This is the Map Reduce job template",
"mains": [],
"libs": [
{
"name": "my-job-binary-666",
"url": "/simple/mapreduce/program",
"description": "this is the job binary template",
"id": "2628d0e4-6109-4a09-a338-c4ee1b0963ed",
"tenant_id": "5a3314075bfa49b9ae360f4ecd333695",
"is_public": false,
"is_protected": false,
"extra": null
}
],
"created_at": "2017-06-22T09:39:13",
"updated_at": "2017-06-22T09:39:13",
"id": "38a04cba-c113-4868-b11f-f50e8b1bf252",
"tenant_id": "5a3314075bfa49b9ae360f4ecd333695",
"is_public": false,
"is_protected": false,
"interface": []
}
}</pre>
</li></ul>
</div>
<div class="section" id="mrs_02_0041__section7365446163631"><h4 class="sectiontitle">Status Code</h4><p id="mrs_02_0041__p5547365016031"><a href="#mrs_02_0041__table1584477916050">Table 4</a> describes the status code of this API.</p>
<div class="tablenoborder"><a name="mrs_02_0041__table1584477916050"></a><a name="table1584477916050"></a><table cellpadding="4" cellspacing="0" summary="" id="mrs_02_0041__table1584477916050" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Status code</caption><thead align="left"><tr id="mrs_02_0041__row1339492016050"><th align="left" class="cellrowborder" valign="top" width="30%" id="mcps1.3.6.3.2.3.1.1"><p id="mrs_02_0041__p3411176516050">Status code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="70%" id="mcps1.3.6.3.2.3.1.2"><p id="mrs_02_0041__p1158961516050">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="mrs_02_0041__row3719767816050"><td class="cellrowborder" valign="top" width="30%" headers="mcps1.3.6.3.2.3.1.1 "><p id="mrs_02_0041__p6022194016050">202</p>
</td>
<td class="cellrowborder" valign="top" width="70%" headers="mcps1.3.6.3.2.3.1.2 "><p id="mrs_02_0041__p4613894216050">The job object has been successfully created.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="mrs_02_0041__p191311416524">For the description about error status codes, see <a href="mrs_02_0015.html">Status Codes</a>.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_02_0039.html">Job Object APIs (V1, Not Recommended)</a></div>
</div>
</div>