ListDataServiceApiTest

Updated at:

Lists Data Service API test records from the past month.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

ApiId

integer

Yes

The ID of the tested API.

12345

PageSize

integer

No

The number of entries per page. Maximum value: 100.

10

Response elements

Element

Type

Description

Example

object

The response message.

RequestId

string

The request ID.

ESDAFWEA

Data

array<object>

The list of test records.

object

The data object.

TestId

integer

The test ID.

123

ApiId

integer

The ID of the tested API.

2343

ParamMap

string

The request parameters of the tested API.

{"name":"test"}

RetCode

integer

The return code of the tested API. If the test is not completed, this value is empty.

0

RetResult

string

The returned data.

{"id":2}

CostTime

integer

The duration of the API test request, in milliseconds.

10

Status

string

The status of the test task. Valid values: RUNNING and FINISHED.

FINISHED

CreateTime

integer

The time when the task was created. The value is a 13-digit number, such as 1651824913000.

1651824913000

Examples

Success response

JSON format

{
  "RequestId": "ESDAFWEA",
  "Data": [
    {
      "TestId": 123,
      "ApiId": 2343,
      "ParamMap": "{\"name\":\"test\"}",
      "RetCode": 0,
      "RetResult": "{\"id\":2}",
      "CostTime": 10,
      "Status": "FINISHED",
      "CreateTime": 1651824913000
    }
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

500 InternalError.System An internal system error occurred. Try again later.
500 InternalError.UserId.Missing An internal system error occurred. Try again later.
403 Forbidden.Access Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition.
429 Throttling.Api The request for this resource has exceeded your available limit.
429 Throttling.System The DataWorks system is busy. Try again later.
429 Throttling.User Your request is too frequent. Try again later.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.