GetOrganizationalUnit
Queries the details of a specified organizational unit.
Try it now
Test
RAM authorization
Request syntax
GET /v2/{instanceId}/{applicationId}/organizationalUnits/{organizationalUnitId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| applicationId |
string |
Yes |
The application ID. |
app_mkv7rgt4d7i4u7zqtzev2mxxxx |
| organizationalUnitId |
string |
Yes |
The organizational unit ID. |
ou_wovwffm62xifdziem7an7xxxxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Authorization |
string |
Yes |
The authorization information. Format: Bearer ${access_token}. Example: Bearer ATxxxx. |
Bearer AT8csE2seYxxxxxij |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| instanceId |
string |
The instance ID. |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| organizationalUnitId |
string |
The organizational unit ID. |
ou_wovwffm62xifdziem7an7xxxxx |
| organizationalUnitName |
string |
The organizational unit name. |
name001 |
| parentId |
string |
The parent organizational unit ID. |
ou_wovwffm62xifdziem7an7xxxxx |
| organizationalUnitExternalId |
string |
The external ID. |
id_wovwffm62xifdziem7an7xxxxx |
| organizationalUnitSourceType |
string |
The source type. Valid values:
|
build_in |
| organizationalUnitSourceId |
string |
The source ID. |
id_wovwffm62xifdziem7an7xxxxx |
| createTime |
integer |
The creation time. The value is a UNIX timestamp in milliseconds. |
1652083425923 |
| updateTime |
integer |
The last update time. The value is a UNIX timestamp in milliseconds. |
1652083425923 |
| description |
string |
The description. |
R&D department |
Examples
Success response
JSON format
{
"instanceId": "idaas_ue2jvisn35ea5lmthk267xxxxx",
"organizationalUnitId": "ou_wovwffm62xifdziem7an7xxxxx",
"organizationalUnitName": "name001",
"parentId": "ou_wovwffm62xifdziem7an7xxxxx",
"organizationalUnitExternalId": "id_wovwffm62xifdziem7an7xxxxx",
"organizationalUnitSourceType": "build_in",
"organizationalUnitSourceId": "id_wovwffm62xifdziem7an7xxxxx",
"createTime": 1652083425923,
"updateTime": 1652083425923,
"description": "研发部门"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.