Updated on 2022-09-15 GMT+08:00

Obtaining Logical Asset Statistics

Function

This API is used to obtain logical asset statistics.

URI

GET /v3/{project_id}/asset/statistic/assets/business-assets

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

IAM Token

workspace

Yes

String

DGC workspace ID

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

count

Integer

Number of subject area groups

subject_area_group_statistics

Array of L1Statistic objects

Statistics of subject area groups

Table 4 L1Statistic

Parameter

Type

Description

subject_area_group_name

String

Name of the subject area group

subject_area_group_name_en

String

English name of the subject area group

subject_area_group_guid

String

GUID of the subject area group

ordinal

Integer

Ordinal of the subject area group

subject_area_count

Integer

Number of subject areas

business_object_count

Integer

Number of business objects

logic_entity_count

Integer

Number of logical entities

subject_area_statistics

Array of L2Statistic objects

Subject area statistics

Table 5 L2Statistic

Parameter

Type

Description

subject_area_name

String

Subject area name

subject_area_guid

String

Subject area GUID

ordinal

Integer

Subject area ordinal

business_object_count

Integer

Number of business objects

logic_entity_count

Integer

Number of logical entities

Status code: 400

Table 6 Response body parameters

Parameter

Type

Description

error_code

String

Error code

error_msg

String

Error message

Status code: 401

Table 7 Response body parameters

Parameter

Type

Description

error_code

String

Error code

error_msg

String

Error message

Status code: 403

Table 8 Response body parameters

Parameter

Type

Description

error_code

String

Error code

error_msg

String

Error message

Status code: 404

Table 9 Response body parameters

Parameter

Type

Description

error_code

String

Error code

error_msg

String

Error message

Example Requests

None

Example Responses

Status code: 200

Business assets statistic

{
  "count" : 1,
  "subject_area_group_statistics" : [ {
    "subject_area_group_name" : "subject_area_group",
    "subject_area_group_name_en" : "subject_area_group",
    "subject_area_group_guid" : "ea60986c-7de3-4743-9ae3-2b3d8b030366",
    "ordinal" : 1,
    "subject_area_count" : 1,
    "business_object_count" : 1,
    "logic_entity_count" : 1,
    "subject_area_statistics" : [ {
      "subject_area_name" : "subject_area",
      "subject_area_guid" : "e80d6b75-83a9-40aa-b621-59188690d28a",
      "business_object_count" : 1,
      "logic_entity_count" : 1,
      "ordinal" : 1
    } ]
  } ]
}

Status Codes

Status Code

Description

200

Business assets statistic

400

BadRequest

401

Unauthorized

403

Forbidden

404

Not Found