Get Organization Language List¶
Get the list of languages available for an organization.
Request Format¶
GET https://{apigw-address}/app-portal-service/v2.2/organization/language/get
Request Parameters (URI)¶
Name |
Location (Path/Query) |
Mandatory/Optional |
Data Type |
Description |
---|---|---|---|---|
orgId |
Query |
Mandatory |
String |
The organization ID. |
Response Parameters¶
Name |
Data Type |
Description |
---|---|---|
data |
Data Struct |
The list of language codes. |
Data Struct¶
Name |
Data Type |
Description |
---|---|---|
languages |
List<String> |
The list of language codes. |
Error Codes¶
Code |
Message |
Description |
---|---|---|
31400 |
Lack of necessary parameters |
Organization ID is required. |
Samples¶
Request Sample¶
url: https://{apigw-address}/app-portal-service/v2.2/organization/language/get?orgId=your_org_id
method: GET
Return Sample¶
{
"code": 0,
"message": "OK",
"data": {
"languages": [
"en-US",
"zh-CN"
]
}
}