Help Center/ Application Performance Management/ API Reference(2.0)/ APIs/ CMDB/ Querying the Details About an Application
Updated on 2023-08-02 GMT+08:00

Querying the Details About an Application

Function

This API is used to query the details about an application.

URI

GET /v1/apm2/openapi/cmdb/business/get-business-detail/{business_id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

business_id

Yes

Long

Application ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

x-business-id

Yes

Long

Application ID.

X-Auth-Token

Yes

String

User token obtained from IAM.

Response Parameters

Status code: 200

Table 3 Response body parameters

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

UUID of the user.

Example Requests

Query details about application 1.

/v1/apm2/openapi/cmdb/business/get-business-detail/1

Example Responses

Status code: 200

OK: The request is successful.

{
  "default" : false,
  "id" : 1,
  "gmt_create" : null,
  "gmt_modify" : null,
  "name" : "LubanApm",
  "display_name" : "LubanApm",
  "is_default" : false,
  "inner_domain_id" : 3,
  "eps_id" : "",
  "creator_id" : null,
  "descp" : "",
  "create_time" : "2021-07-14 21:40:32",
  "modify_time" : "2021-07-14 21:40:47",
  "creator_name" : "test",
  "uuid" : "9496a43224a34849a3b947f4da0c1926"
}

Status Codes

Status Code

Description

200

OK: The request is successful.

401

Unauthorized: No permissions.

403

Forbidden: Access forbidden.

404

Not Found: The requested resource is not found.

Error Codes

See Error Codes.