All Products
Search
Document Center

DataWorks:TestDataServiceApi

Last Updated:Oct 17, 2024

Tests a DataService Studio API in asynchronous mode. You can call the GetDataServiceApiTest operation to query the test result.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ApiIdlongYes

The ID of the DataService Studio API on which the test is performed.

12343
QueryParamarray<object>No

The request parameters that are contained in the query.

objectNo

The object that is requested to query.

ParamKeystringNo

The name of the parameter.

name
ParamValuestringNo

The value of the parameter.

test
BodyParamsarray<object>No

The request parameters that are contained in the request body.

objectNo

The object that is requested to query.

ParamKeystringNo

The name of the parameter.

name
ParamValuestringNo

The value of the parameter.

test
PathParamsarray<object>No

The request parameters that are contained in the request path.

objectNo

The object that is requested to query.

ParamKeystringNo

The name of the parameter.

path1
ParamValuestringNo

The value of the parameter.

api
HeadParamsarray<object>No

The request parameters that are contained in the request header.

objectNo

The object that is requested to query.

ParamKeystringNo

The name of the parameter.

requestId
ParamValuestringNo

The value of the parameter.

abcd
BodyContentstringNo

The data of the request body.

{"name":"test"}

Response parameters

ParameterTypeDescriptionExample
object

The returned result.

RequestIdstring

The ID of the request.

abdsfewe
Dataobject

The information about the test.

TestIdstring

The ID of the test.

232432

Examples

Sample success responses

JSONformat

{
  "RequestId": "abdsfewe",
  "Data": {
    "TestId": "232432"
  }
}

Error codes

HTTP status codeError codeError messageDescription
403Forbidden.AccessAccess is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition.No permission, please authorize
429Throttling.ApiThe request for this resource has exceeded your available limit.-
429Throttling.SystemThe DataWorks system is busy. Try again later.-
429Throttling.UserYour request is too frequent. Try again later.-
500InternalError.SystemAn internal system error occurred. Try again later.-
500InternalError.UserId.MissingAn internal system error occurred. Try again later.-

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2022-05-30Add OperationView Change Details