SubmitDataServiceApi

Updated at:

Submits a data service API.

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

TenantId

integer

No

The tenant ID. You can log on to Data Service, click your account name, and view user information to obtain the tenant ID.

10001

ProjectId

integer

Yes

The ID of the DataWorks workspace. You can log on to the DataWorks console and go to the workspace configuration page to obtain the workspace ID.

10000

ApiId

integer

Yes

The ID of the API. You can call the ListDataServiceApis operation to obtain the ID.

12345

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

0000-ABCD-EFG****

HttpStatusCode

integer

The HTTP status code.

200

Data

boolean

Indicates whether the submission was successful. Valid values:

  • true: Successful.

  • false: Failed.

true

ErrorCode

string

The error code.

Invalid.Tenant.ConnectionNotExists

Success

boolean

Indicates whether the call was successful.

true

Examples

Success response

JSON format

{
  "RequestId": "0000-ABCD-EFG****",
  "HttpStatusCode": 200,
  "Data": true,
  "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
  "Success": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.