Querying the Details About an Application (V2)
Function
This API is used to query the details about an application.
URI
GET /v2/cmdb/business/get-business-detail/{business_id}
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
business_id |
Yes |
String |
Application ID. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Auth-Token |
Yes |
String |
User token obtained from IAM. |
|
x-business-id |
Yes |
Long |
Application ID. |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
Long |
Application ID. |
|
gmt_create |
String |
Creation time. |
|
gmt_modify |
String |
Update time. |
|
default |
Boolean |
Whether an application is the default application. |
|
display_name |
String |
Application name. |
|
name |
String |
Display name of an application. |
|
is_default |
Boolean |
Whether an application is the default application. |
|
inner_domain_id |
Integer |
Internal tenant ID. |
|
eps_id |
String |
Enterprise project ID. |
|
creator_id |
Long |
ID of the creator. |
|
descp |
String |
Application description. |
|
create_time |
String |
Creation time. |
|
modify_time |
String |
Update time. |
|
creator_name |
String |
Name of the creator. |
|
uuid |
String |
Unique application ID. |
Example Requests
Obtain the details of an application based on the application ID.
/v2/cmdb/business/get-business-detail/886045
{
"business_id": 108903,
"x-business-id": 1,
}
Example Responses
Status code: 200
OK: The request is successful.
{
"default" : false,
"id" : 886045,
"is_default" : false,
"display_name" : "MSL",
"inner_domain_id" : 2,
"name" : "MSL2",
"eps_id" : "0",
"uuid" : "2fa7aca518fb4bc9b0e76a1488895324",
"descp" : "",
"create_time" : "2024-07-24 16:55:22",
"create_time_timestamp" : 1721811322000,
"modify_time" : "2024-10-26 18:31:14",
"modify_time_timestamp" : 1729938674000,
"creator_name" : "paas_aom_apm"
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK: The request is successful. |
|
400 |
Bad Request: Semantic or parameter error. |
|
401 |
Unauthorized: No permissions. |
|
403 |
Forbidden: Access forbidden. |
|
404 |
Not Found: The requested resource is not found. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot