Employee Identity (EIAM)
Get Application Organization Information
Interface
# Permissions
The Identity Management API is authorized at the application level. Before calling the interface, you need to set interface permissions for different applications. For details, please refer to API Permissions.
| Permission Code | Description |
|---|---|
| app_org_all | Read and write permissions for application organization management interface |
| app_org_read | Read permission for application organization management interface |
| all | Read and write permissions for all interfaces |
| read | Permission for all read interfaces |
# Request Description
GET https://{your_domain}/api/v2/tenant/applications/{app_id}/organizations/{app_org_id}
# Request Headers
| Parameter Name | Chinese Name | Required | Type | Description |
|---|---|---|---|---|
| Authorization | Authorization | Yes | String | Format: Bearer {access_token} |
| Content-Type | Content Type | Yes | String | Fixed value: application/json; charset=utf-8 |
# Request Example
None
# Request Parameters
| Parameter Name | Chinese Name | Required | Type | Description |
|---|---|---|---|---|
| app_id | Application ID | Yes | String | Target Application ID |
| app_org_id | Application Organization ID | Yes | String | Target Application Organization ID |
# Response Example
Success Example:
HTTP/1.1 201 Created
Content-Type: application/json
{
"org_id": "20220414151855146-A153-62C1A994C",
"parent_id": null,
"name": "Virtual Organization 2",
"org_code": "xnjg",
"disabled": false,
"extension": {
"uid": "123"
}
}
Error Example:
HTTP/1.1 400 Bad Request
{
"error_code": " APP.ORG.0024",
"error_msg": "Application organization does not exist "
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Response Parameters
| Parameter Name | Chinese Name | Type | Description |
|---|---|---|---|
| org_id | Application Organization ID | String | |
| org_code | Application Organization Code | String | |
| name | Application Organization Name | String | |
| parent_id | Parent Node ID | String | |
| disabled | Whether Disabled | Boolean | |
| extension | Extension Properties | Map |
# Error Codes
| Status Code | Error Code | Error Message | Action |
|---|---|---|---|
| 400 | APP.ORG.0024 | 应用机构不存在 | 请检查应用机构是否已被删除 |
| The application organization does not exist |
