forked from docs/doc-exports
Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
254 lines
22 KiB
HTML
254 lines
22 KiB
HTML
<a name="en-us_topic_0079467615"></a><a name="en-us_topic_0079467615"></a>
|
|
|
|
<h1 class="topictitle1">Obtaining Details of a Specified Agency</h1>
|
|
<div id="body1507708722849"><div class="section" id="en-us_topic_0079467615__s36503fb4dda1401485a5ab530ea8f66b"><h4 class="sectiontitle">Function</h4><p id="en-us_topic_0079467615__p1467313841219">This API is used to obtain the details of a specified agency.</p>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0079467615__s2339ea48eec24adc99e07c3541c34fd2"><h4 class="sectiontitle">URI</h4><ul id="en-us_topic_0079467615__uf89cf1240c35488ba2d139592a46aceb"><li id="en-us_topic_0079467615__l3e5ccb515f764c119ecd3a4b83c00228">URI format<p id="en-us_topic_0079467615__a00e937d88da347e68cf60d87838224cd"><a name="en-us_topic_0079467615__l3e5ccb515f764c119ecd3a4b83c00228"></a><a name="l3e5ccb515f764c119ecd3a4b83c00228"></a>GET /v3.0/OS-AGENCY/agencies/{agency_id}</p>
|
|
</li></ul>
|
|
<ul id="en-us_topic_0079467615__ubd62667b688a4ff88cd241c15af6eba3"><li id="en-us_topic_0079467615__l0a34af97ee0c4d52b15a5ce3c9b4c580">URI parameters
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0079467615__t6291eea5fc264bfd8162fe7014f8440f" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0079467615__re8778fedf2164e38a64533e81522755f"><th align="left" class="cellrowborder" valign="top" width="18.360000000000003%" id="mcps1.3.2.3.1.1.1.5.1.1"><p id="en-us_topic_0079467615__a97c497b94baf4446bb571a6f1c75fb69"><strong id="en-us_topic_0079467615__en-us_topic_0026586105_b842352706143612">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.48%" id="mcps1.3.2.3.1.1.1.5.1.2"><p id="en-us_topic_0079467615__a744b57ba61714c6bb83f4b5504eef297"><strong id="en-us_topic_0079467615__en-us_topic_0026585112_b84235270616942">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.86%" id="mcps1.3.2.3.1.1.1.5.1.3"><p id="en-us_topic_0079467615__ae6291ebea0e44a6cb638eb1e2c1185eb"><strong id="en-us_topic_0079467615__b842352706143526_1">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.3%" id="mcps1.3.2.3.1.1.1.5.1.4"><p id="en-us_topic_0079467615__a0cf8c9445ae1483d8ad4fe6e5b8a5db1"><strong id="en-us_topic_0079467615__b20601766145329_1">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0079467615__r0dd7bceb9716442e9a6ec16670d25b6f"><td class="cellrowborder" valign="top" width="18.360000000000003%" headers="mcps1.3.2.3.1.1.1.5.1.1 "><p id="en-us_topic_0079467615__a01635016720e46dda52190ae5421ada6">agency_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.48%" headers="mcps1.3.2.3.1.1.1.5.1.2 "><p id="en-us_topic_0079467615__a8fff268c151d428ab42a702eb86e8b7f">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.86%" headers="mcps1.3.2.3.1.1.1.5.1.3 "><p id="en-us_topic_0079467615__a92669e3af94741c1ab4c7a2b6f58eda0">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.3%" headers="mcps1.3.2.3.1.1.1.5.1.4 "><p id="en-us_topic_0079467615__ab78da539961e410488bb111b286c37e5">ID of an agency.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0079467615__sbcffd2bbf8af419e926a600285ea5bc7"><h4 class="sectiontitle">Request Parameters</h4><ul id="en-us_topic_0079467615__ud066f2bbca5d4be4a62dc136807d7666"><li id="en-us_topic_0079467615__lbac263aac9db4264b3de065ae4cd727d">Parameters in the request header
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0079467615__tb45afea993304d65ae94938f012eba43" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0079467615__r7f80cf64dfae486c90907adb768dd44e"><th align="left" class="cellrowborder" valign="top" width="18.831883188318834%" id="mcps1.3.3.2.1.1.1.5.1.1"><p id="en-us_topic_0079467615__a8ab780bdd5f243de9ce817817e83f84a"><strong id="en-us_topic_0079467615__b1513527715">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.92179217921792%" id="mcps1.3.3.2.1.1.1.5.1.2"><p id="en-us_topic_0079467615__a613d1bcfb0f64722aa04b39a13fc781b"><strong id="en-us_topic_0079467615__b84235270616358">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.93189318931893%" id="mcps1.3.3.2.1.1.1.5.1.3"><p id="en-us_topic_0079467615__a205eb350ccb74ee3b17487dfd1a38dcd"><strong id="en-us_topic_0079467615__b842352706143526_3">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.314431443144315%" id="mcps1.3.3.2.1.1.1.5.1.4"><p id="en-us_topic_0079467615__ac68925a0412e427799956a02080a6511"><strong id="en-us_topic_0079467615__b20601766145329_3">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0079467615__r344ac8f84aee49b2ae975b457f235650"><td class="cellrowborder" valign="top" width="18.831883188318834%" headers="mcps1.3.3.2.1.1.1.5.1.1 "><p id="en-us_topic_0079467615__a17be99209c3345b6b3e708ecfdedd5d3">Content-Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.92179217921792%" headers="mcps1.3.3.2.1.1.1.5.1.2 "><p id="en-us_topic_0079467615__a3973d9ed759e4800a38fa32718a23fb6">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.93189318931893%" headers="mcps1.3.3.2.1.1.1.5.1.3 "><p id="en-us_topic_0079467615__a746a18019c784abea559fcba71e57bbd">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.314431443144315%" headers="mcps1.3.3.2.1.1.1.5.1.4 "><p id="en-us_topic_0079467615__a9dccb848184b44e3a91b8b6cd3ffcea3">Fill <strong id="en-us_topic_0079467615__b842352706161331">application/json;charset=utf8</strong> in this field.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079467615__r25e088c58abf46768e117ddffaf873e5"><td class="cellrowborder" valign="top" width="18.831883188318834%" headers="mcps1.3.3.2.1.1.1.5.1.1 "><p id="en-us_topic_0079467615__a1fa28271dd5943e9a50cc9473579ea44">X-Auth-Token</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.92179217921792%" headers="mcps1.3.3.2.1.1.1.5.1.2 "><p id="en-us_topic_0079467615__a2b773e3ae9cc483c9f43ff6b5e8ada89">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.93189318931893%" headers="mcps1.3.3.2.1.1.1.5.1.3 "><p id="en-us_topic_0079467615__a5679cafe1820455a8b77e943132c9b1e">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.314431443144315%" headers="mcps1.3.3.2.1.1.1.5.1.4 "><p id="en-us_topic_0079467615__p2415579113410">Authenticated token with the <strong id="en-us_topic_0079467615__b750798910387">Security Administrator</strong> permission.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="en-us_topic_0079467615__u7f69608aa59c41a7987268b2e41bda8d"><li id="en-us_topic_0079467615__lfdccaae555164f75a83cf11531a401a2">Example request<pre class="screen" id="en-us_topic_0079467615__sd199e8e61d8d44f08bd542ab63898519"><em id="en-us_topic_0079467615__i17864422112751">curl -i -k -H "X-Auth-Token:$token" -H 'Content-Type:application/json;charset=utf8' -X GET https://</em><em id="en-us_topic_0079467615__i42791912112751">sample.domain.com</em><em id="en-us_topic_0079467615__i26562078112751">/v3.0/OS-AGENCY/agencies/2809756f748a46e2b92d58d309f67291</em></pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0079467615__sed24aad8f88845808087e3d1564c877a"><h4 class="sectiontitle">Response Parameters</h4><ul id="en-us_topic_0079467615__ul745314209356"><li id="en-us_topic_0079467615__l546bb7aa1f014af5b82d6534933a7be7">Parameters in the response body
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0079467615__t25fa11869fcc4bbe930214e8b3a352a8" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0079467615__r607717c6cad24f3085d946d96e8706f6"><th align="left" class="cellrowborder" valign="top" width="19.03%" id="mcps1.3.4.2.1.1.1.5.1.1"><p id="en-us_topic_0079467615__a60b8a28cb4a14f4d957e11fbb5ed3491"><strong id="en-us_topic_0079467615__b636990968">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18%" id="mcps1.3.4.2.1.1.1.5.1.2"><p id="en-us_topic_0079467615__a18979c4eb8f144c889953807a71fe2c0"><strong id="en-us_topic_0079467615__b842352706161749_1">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.66%" id="mcps1.3.4.2.1.1.1.5.1.3"><p id="en-us_topic_0079467615__aac65acd7fc7b4c96933b30be7d73b987"><strong id="en-us_topic_0079467615__b842352706143526_5">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.31%" id="mcps1.3.4.2.1.1.1.5.1.4"><p id="en-us_topic_0079467615__ae0490d31122747f29843f4295fab3147"><strong id="en-us_topic_0079467615__b6981351183141_1">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0079467615__rae278792d71a4337b1b3ebb9d3cee2d8"><td class="cellrowborder" valign="top" width="19.03%" headers="mcps1.3.4.2.1.1.1.5.1.1 "><p id="en-us_topic_0079467615__ac8b2e0e1384f4dfc8cdea40e1b2992d5">agency</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18%" headers="mcps1.3.4.2.1.1.1.5.1.2 "><p id="en-us_topic_0079467615__a3f02f98df8b4493c810f2017e8d18dd0">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.66%" headers="mcps1.3.4.2.1.1.1.5.1.3 "><p id="en-us_topic_0079467615__a20eedf6a66c144868d14c84c17b47526">JSON object</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.31%" headers="mcps1.3.4.2.1.1.1.5.1.4 "><p id="en-us_topic_0079467615__adba154707b0049a19d9f6c70c5ff6936">Delegated object.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li><li id="en-us_topic_0079467615__li195373151589">Description for the agency format
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0079467615__t3569e2cb0b40452ea0e83fb292b859e5" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0079467615__rb53069b8d1eb462fa66996b440338176"><th align="left" class="cellrowborder" valign="top" width="19.16%" id="mcps1.3.4.2.2.1.1.5.1.1"><p id="en-us_topic_0079467615__ad2aea534f0c44c879365bbd7cb51e841"><strong id="en-us_topic_0079467615__b523614100">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="17.87%" id="mcps1.3.4.2.2.1.1.5.1.2"><p id="en-us_topic_0079467615__ac0c7e8f28af84e26bc33fe9cf1b5ebfc"><strong id="en-us_topic_0079467615__b842352706161749_3">Mandatory</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="18.66%" id="mcps1.3.4.2.2.1.1.5.1.3"><p id="en-us_topic_0079467615__aeb016c28eec04faabb5ceeb1d4ffa4c2"><strong id="en-us_topic_0079467615__b842352706143526_7">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="44.31%" id="mcps1.3.4.2.2.1.1.5.1.4"><p id="en-us_topic_0079467615__aaddd44dcbbcb4928984b80fc37db9e16"><strong id="en-us_topic_0079467615__b6981351183141_3">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0079467615__rc67d25388ccc4936bf669f8b03cc5dce"><td class="cellrowborder" valign="top" width="19.16%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0079467615__a869d171e01144487b40b3e032d2b0494">id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.87%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0079467615__a0ec0116e422c417787f296699fefdcfd">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.66%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0079467615__a2647e138433742f783bce25e4d316203">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.31%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0079467615__aa713c1b55c0e4b3781ae99a460b8bfe5">ID of an agency.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079467615__r07650a1931e843a3b291fd57afe6128d"><td class="cellrowborder" valign="top" width="19.16%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0079467615__a255e1ca9bc38426784be7ce00dee0d07">name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.87%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0079467615__ad00749f0a9234ab4b1c43ed1aafdf437">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.66%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0079467615__a578411d4594749db8756d35ba09868d1">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.31%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0079467615__ae799bcc10d494c829e70a0bbf7544ee9">Name of an agency.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079467615__re32936a14b7a401aaf4569d79e335a0b"><td class="cellrowborder" valign="top" width="19.16%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0079467615__en-us_topic_0059029099_p27845782253">domain_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.87%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0079467615__a0b499f4e6b4d4c2db256953722d8a81c">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.66%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0079467615__a3190f3c89b32403089a4d446a2e23817">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.31%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0079467615__a75d3435e7d4142a9a2c5e3d5d25ad595">ID of the current domain.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079467615__rab3068f3cea141cabb6c40f4f43e3a9e"><td class="cellrowborder" valign="top" width="19.16%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0079467615__a941143b4db434ff4a13dcc8dca511211">trust_domain_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.87%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0079467615__a66fb4be839864e21a990acf997567209">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.66%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0079467615__a7c3ec252bb724217ae8671a90d0a1a5a">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.31%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0079467615__a3bdb32375da74901a01426a287438608">ID of the delegated domain.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079467615__r7368dec090f14838a9c8ee5d521f7fc3"><td class="cellrowborder" valign="top" width="19.16%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0079467615__aff9f94a84cb34bab8ca18177b2980f16">trust_domain_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.87%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0079467615__a4aa7ce67e96243d685f786bc9edf70c8">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.66%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0079467615__a836164d529e8471c84e84c83af180d93">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.31%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0079467615__ab89c70af3dd74f0f9ee2ffd819cf7341">Name of the delegated domain.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079467615__rd488a56d696e46d494ba1e14755f6e26"><td class="cellrowborder" valign="top" width="19.16%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0079467615__aba18a125cfb54f89b38c0e84c5424945">description</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.87%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0079467615__a9e19836cbf104402bff9101db6e6754e">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.66%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0079467615__ab869ecdbf8584c978581fe6539dea4a9">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.31%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0079467615__a6a274f163f754155a5a0b324163fe939">Description of an agency.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079467615__ra4ce5371ad804e45a42687f37c155e4c"><td class="cellrowborder" valign="top" width="19.16%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0079467615__aadeab5ff4fd44df98eff46b898ae2718">duration</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.87%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0079467615__ab4950168d68949d3a68204b3667f9fe1">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.66%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0079467615__a4e33a665da594e72a0cd9cbe8e80cf51">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.31%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0079467615__en-us_topic_0059029099_p332264614915">Validity period of an agency. The default value is <strong id="en-us_topic_0079467615__b84235270615357">null</strong>, indicating that the agency is permanently valid.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079467615__r6225b96675214c2a91d6737af369ffb5"><td class="cellrowborder" valign="top" width="19.16%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0079467615__a6576dc4ddfa9446f9bf4c656afe9d272">expire_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.87%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0079467615__a00c3f060569b4312b17348b43acef0ea">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.66%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0079467615__a0da3b5ea27904722bb402a80a813f846">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.31%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0079467615__a862662093e4e4d249b2c3511f83843ae">Expiration time of an agency.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079467615__r7ea20c1c582c403e812d83594e1f1335"><td class="cellrowborder" valign="top" width="19.16%" headers="mcps1.3.4.2.2.1.1.5.1.1 "><p id="en-us_topic_0079467615__a7c4a24eaa48d4c669de255113521cd90">create_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="17.87%" headers="mcps1.3.4.2.2.1.1.5.1.2 "><p id="en-us_topic_0079467615__ae43384673f9846b68a3c04912f049edc">Yes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="18.66%" headers="mcps1.3.4.2.2.1.1.5.1.3 "><p id="en-us_topic_0079467615__a48ba9289e52c41d3b3bc574f66abc53e">String</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="44.31%" headers="mcps1.3.4.2.2.1.1.5.1.4 "><p id="en-us_topic_0079467615__a42208d6335104fb1b11c08deaeba95b5">Time when an agency is created.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</li></ul>
|
|
<ul id="en-us_topic_0079467615__ud761b9c24793425ba64b1ed3a1caacf9"><li id="en-us_topic_0079467615__lf551cf5914a44afd9863849cab7e135d">Example response (request successful)<pre class="screen" id="en-us_topic_0079467615__s565d0a2580904bf48a655baefca6532c">{
|
|
"agency" : {
|
|
"description" : " testsfdas ",
|
|
"trust_domain_id" : "3ebe1024db46485cb02ef08d3c348477",
|
|
"trust_domain_name" : "exampledomain",
|
|
"id" : "c1a06ec7387f430c8122d6f336c66dcf",
|
|
"duration": "FOREVER",
|
|
"create_time" : "2017-01-06T05:56:09.738212",
|
|
"expire_time" : null,
|
|
"domain_id" : "0ae9c6993a2e47bb8c4c7a9bb8278d61",
|
|
"name" : "exampleagency"
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
<ul id="en-us_topic_0079467615__u8029aae8caf1413591970fff4a6e40ad"><li id="en-us_topic_0079467615__lfe0a0d66b9fd42bebb4388aaae2f0cbe">Example response (request failed)<pre class="screen" id="en-us_topic_0079467615__see45e89808f4420ab97d59f38870824e">{
|
|
"error": {
|
|
"message": "Could not find agency: 2809756f748a46e2b92d58d309f67291",
|
|
"code": 404,
|
|
"title": "Not Found"
|
|
}
|
|
}</pre>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="en-us_topic_0079467615__se972eb007e4441e484ef5ac79c584473"><h4 class="sectiontitle"><strong id="en-us_topic_0079467615__b842352706183230_1">Status Codes</strong></h4>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="en-us_topic_0079467615__t8b06a93ca10747e29fd3b64dea06173c" frame="border" border="1" rules="all"><thead align="left"><tr id="en-us_topic_0079467615__r1ec940eaf58340889f5e8fb0f009f410"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.2.1.3.1.1"><p id="en-us_topic_0079467615__a7c93dd9913234396975a888c15ce6456"><strong id="en-us_topic_0079467615__b842352706183230_3">Status Code</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.5.2.1.3.1.2"><p id="en-us_topic_0079467615__ac920bc9b10fa49008eac482e95cb421c"><strong id="en-us_topic_0079467615__b20601766145329_5">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="en-us_topic_0079467615__r1ce3aa7e96274a6581f0ef61379f5949"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0079467615__a05f8cbf4e2054710802506d076f059ff">200</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0079467615__af47bc25cdee44ba6a51568a94e6a5d5a">The request is successful.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079467615__r3f126b52888b4652b9d574e1d7bbcfcd"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0079467615__a801d05e8c061494cbe1cdc2937270541">401</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0079467615__a38844ff0a7f64956844c28124a6772da">Authentication failed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079467615__r5e176a53173f40999e896222b5c9e0f4"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0079467615__a63a2fa26dd544064b11370ddb5f37af4">403</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0079467615__a790bf294e41d4f4c937aa045fe3cb392">Access denied.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079467615__r8d51e02d519147318263f1c8719ea685"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0079467615__a9df93643ef2e4b19925e86d72c387c28">404</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0079467615__a1e975e293c9e4820be838c9b84dadbdb">The agency does not exist.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="en-us_topic_0079467615__r11c290b3394f44729ac60352d293a6e3"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.1 "><p id="en-us_topic_0079467615__a69d0d5b6aace4fb89538664c3230628e">500</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.5.2.1.3.1.2 "><p id="en-us_topic_0079467615__af0b8fda361844aa691eb39e8e70e7c80">Internal server error.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0079467612.html">Agency Management</a></div>
|
|
</div>
|
|
</div>
|
|
|