调用GetDataServicePublishedApi查询数据服务API的发布态信息。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String GetDataServicePublishedApi

要执行的操作。

ApiId Long 10001

API的ID。

ProjectId Long 10002

工作空间的ID。

RegionId String cn-shanghai

地域ID。

TenantId Long 10003

租户ID。

返回数据

名称 类型 示例值 描述
Data Struct

API的最新发布态信息。

ApiId Long 10000

数据服务API的ID。

ApiMode Integer 0

API的类型,可选枚举值包括0(向导API)、1(脚本API)和2(注册API)。

ApiName String 测试API名称

API的名称。

ApiPath String /test/1

API的路径。

CreatedTime String 2020-06-23T00:21:01+0800

创建时间。

CreatorId String 1234567

创建人的阿里云ID。

Description String 测试API描述

描述信息。

GroupId String ab12**

分组ID。

ModifiedTime String 2020-06-23T00:21:01+0800

最新修改时间。

OperatorId String 2345678

最新编辑人的阿里云ID。

ProjectId Long 10001

工作空间的ID。

Protocols List 0

API协议,多值列表,可选枚举值包括0(HTTP)和1(HTTPS)。

RegistrationDetails Struct

注册API详情,只有注册API返回。

FailedResultSample String {"success": false}

错误返回示例。

RegistrationErrorCodes Array of RegistrationErrorCode

注册API的错误码列表。

ErrorCode String Invalid.Tenant.ConnectionNotExists

错误码。

ErrorMessage String The connection does not exist.

错误信息。

ErrorSolution String retry

错误解决方案。

RegistrationRequestParameters Array of RegistrationRequestParameter

注册API的请求参数列表。

DefaultValue String default1

默认值。

ExampleValue String example1

示例值。

IsRequiredParameter Boolean true

是否必填。

ParameterDataType Integer 0

数据类型,可选枚举值包括0(STRING)、1(INT)、2(LONG)、3(FLOAT)、4(DOUBLE)和5(BOOLEAN)。

ParameterDescription String description1

描述信息。

ParameterName String name1

参数的名称。

ParameterOperator Integer 0

运算符,可选枚举值包括0(Equal)、1(Like)、2(Const)和3(In)。向导模式API支持Equal、Like和In,脚本模式API支持Equal,注册API支持Equal和Const。

ParameterPosition Integer 0

参数的位置,可选枚举值包括0(Path)、1(Query)、2(Head)和3(Body)。向导和脚本API仅支持Query。注册API中的GET、DELETE方法支持Query、Head,PUT、POST方法支持Query、Head和Body。

ServiceContentType Integer 0

API的返回数据类型,可选枚举值包括0(JSON)和1(XML)。向导和脚本API支持JSON,注册API支持JSON和XML。

ServiceHost String http://www.abc.com

后端服务地址。

ServicePath String /index

后端服务路径。

ServiceRequestBodyDescription String {"abc":1}

后端请求body内容的描述。

SuccessfulResultSample String {"success": true}

正常返回示例。

RequestMethod Integer 0

API的请求方式,可选枚举值包括0(GET)、1(POST)、2(PUT)和3(DELTE)。向导和脚本API支持GET和POST。注册API支持GET、POST、PUT和DELETE。

ResponseContentType Integer 0

API的返回数据类型,可选枚举值包括0(JSON)和1(XML)。向导和脚本API支持JSON,注册API支持JSON和XML。

ScriptDetails Struct

脚本API详情,只有脚本API返回。

FailedResultSample String {"success": false}

错误返回示例。

IsPagedResponse Boolean true

返回是否分页。

Script String select a from t

SQL脚本。

ScriptConnection Struct

脚本API的数据源信息。

ConnectionId Long 123

数据源的ID。

TableName String t

数据源的表名称。

ScriptErrorCodes Array of ScriptErrorCode

脚本API的错误码列表。

ErrorCode String 1001

错误码

ErrorMessage String fail to call

错误信息

ErrorSolution String retry

错误解决方案

ScriptRequestParameters Array of ScriptRequestParameter

脚本API的请求参数列表。

DefaultValue String default1

默认值

ExampleValue String example1

示例值

IsRequiredParameter Boolean true

是否必填

ParameterDataType Integer 0

数据类型,可选枚举值:

  • 0:String
  • 1:Int
  • 2:Long
  • 3:Float
  • 4:Double
  • 5:Boolean
ParameterDescription String description1

描述

ParameterName String param1

参数名称

ParameterOperator Integer 0

运算符,可选枚举值有:

  • 0:Equal
  • 1:Like
  • 2:Const
  • 3:In

向导API支持Equal、Like、In;脚本API支持Equal;注册API支持Equal、Const。

ParameterPosition Integer 0

参数位置,可选枚举值有:

  • 0:Path
  • 1:Query
  • 2:Head
  • 3:Body

向导和脚本API,只支持Query;注册API,GET、DELETE方法支持Query、Head,PUT、POST方法支持Query、Head、Body。

ScriptResponseParameters Array of ScriptResponseParameter

脚本API的返回参数列表。

ExampleValue String example2

示例值。

ParameterDataType Integer 0

数据类型,可选枚举值包括0(STRING)、1(INT)、2(LONG)、3(FLOAT)、4(DOUBLE)和5(BOOLEAN)。

ParameterDescription String description2

描述信息。

ParameterName String param2

参数的名称。

SuccessfulResultSample String {"success": true}

正常返回示例。

Status Integer 1

API的状态,可选枚举值包括0(未发布)和1(已发布)。

TenantId Long 10001

租户ID。

Timeout Integer 10000

超时时间,单位为毫秒(ms)。

VisibleRange Integer 0

可见范围,可选枚举值包括0(工作空间)和1(私有)。

WizardDetails Struct

向导API详情,只有向导API返回。

FailedResultSample String {"success": false}

错误返回示例。

IsPagedResponse Boolean true

返回是否分页。

SuccessfulResultSample String {"success": true}

正常返回示例。

WizardConnection Struct

向导API的数据源信息。

ConnectionId Long 123

数据源的ID。

TableName String t

数据源的表名称。

WizardErrorCodes Array of WizardErrorCode

向导API的错误码列表。

ErrorCode String 1001

错误码。

ErrorMessage String fail to call

错误信息。

ErrorSolution String retry

错误解决方案。

WizardRequestParameters Array of WizardRequestParameter

向导API的请求参数列表。

DefaultValue String default1

默认值。

ExampleValue String example1

示例值。

IsRequiredParameter Boolean true

是否必填。

ParameterDataType Integer 0

数据类型,可选枚举值包括0(STRING)、1(INT)、2(LONG)、3(FLOAT)、4(DOUBLE)和5(BOOLEAN)。

ParameterDescription String description1

描述信息。

ParameterName String param1

参数的名称。

ParameterOperator Integer 0

运算符,可选枚举值包括0(Equal)、1(Like)、2(Const)和3(In)。向导模式API支持Equal、Like和In,脚本模式API支持Equal,注册API支持Equal和Const。

ParameterPosition Integer 0

参数的位置,可选枚举值包括0(Path)、1(Query)、2(Head)和3(Body)。向导和脚本API仅支持Query。注册API中的GET、DELETE方法支持Query、Head,PUT、POST方法支持Query、Head和Body。

WizardResponseParameters Array of WizardResponseParameter

向导API的返回参数列表。

ExampleValue String example2

示例值。

ParameterDataType Integer 0

数据类型,可选枚举值包括0(STRING)、1(INT)、2(LONG)、3(FLOAT)、4(DOUBLE)和5(BOOLEAN)。

ParameterDescription String description2

描述信息。

ParameterName String param2

参数的名称。

ErrorCode String Invalid.Tenant.ConnectionNotExists

错误码。

ErrorMessage String The connection does not exist.

错误信息。

HttpStatusCode Integer 200

HTTP状态码。

RequestId String 0000-ABCD-EFG****

请求ID,一次请求的唯一标识。

Success Boolean true

调用是否成功。

不同类型API的详情信息通过不同字段返回。向导API使用WizardDetails字段,脚本API使用ScriptDetails字段,注册API使用RegistrationDetails字段。

示例

请求示例

http(s)://[Endpoint]/?Action=GetDataServicePublishedApi
&ApiId=10001
&ProjectId=10002
&RegionId=cn-shanghai
&TenantId=10003
&<公共请求参数>

正常返回示例

XML 格式

<RequestId>0000-ABCD-EFG****</RequestId>
<HttpStatusCode>200</HttpStatusCode>
<Data>
    <Status>1</Status>
    <VisibleRange>0</VisibleRange>
    <Protocols>0</Protocols>
    <WizardDetails>
        <Script>select a from t</Script>
        <ScriptErrorCodes>
            <ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
            <ErrorMessage>fail to call</ErrorMessage>
            <ErrorSolution>try</ErrorSolution>
        </ScriptErrorCodes>
        <ScriptErrorCodes>
            <DefaultValue>default1</DefaultValue>
            <ExampleValue>example1</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterPosition>0</ParameterPosition>
            <ParameterName>param1</ParameterName>
            <ParameterOperator>0</ParameterOperator>
            <ParameterDescription>description1</ParameterDescription>
            <IsRequiredParameter>true</IsRequiredParameter>
        </ScriptErrorCodes>
        <ScriptErrorCodes>
            <ExampleValue>example2</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterName>param2</ParameterName>
            <ParameterDescription>description2</ParameterDescription>
        </ScriptErrorCodes>
        <ServiceContentType>0</ServiceContentType>
        <ScriptRequestParameters>
            <ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
            <ErrorMessage>fail to call</ErrorMessage>
            <ErrorSolution>try</ErrorSolution>
        </ScriptRequestParameters>
        <ScriptRequestParameters>
            <DefaultValue>default1</DefaultValue>
            <ExampleValue>example1</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterPosition>0</ParameterPosition>
            <ParameterName>param1</ParameterName>
            <ParameterOperator>0</ParameterOperator>
            <ParameterDescription>description1</ParameterDescription>
            <IsRequiredParameter>true</IsRequiredParameter>
        </ScriptRequestParameters>
        <ScriptRequestParameters>
            <ExampleValue>example2</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterName>param2</ParameterName>
            <ParameterDescription>description2</ParameterDescription>
        </ScriptRequestParameters>
        <ServicePath>/index</ServicePath>
        <WizardErrorCodes>
            <ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
            <ErrorMessage>The connection does not exist.</ErrorMessage>
            <ErrorSolution>retry</ErrorSolution>
        </WizardErrorCodes>
        <WizardErrorCodes>
            <DefaultValue>default1</DefaultValue>
            <ExampleValue>example1</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterPosition>0</ParameterPosition>
            <ParameterName>param1</ParameterName>
            <ParameterOperator>0</ParameterOperator>
            <ParameterDescription>description1</ParameterDescription>
            <IsRequiredParameter>true</IsRequiredParameter>
        </WizardErrorCodes>
        <WizardErrorCodes>
            <ExampleValue>example2</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterName>param2</ParameterName>
            <ParameterDescription>description2</ParameterDescription>
        </WizardErrorCodes>
        <RegistrationErrorCodes>
            <ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
            <ErrorMessage>The connection does not exist.</ErrorMessage>
            <ErrorSolution>retry</ErrorSolution>
        </RegistrationErrorCodes>
        <RegistrationErrorCodes>
            <DefaultValue>default1</DefaultValue>
            <ExampleValue>example1</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterPosition>0</ParameterPosition>
            <ParameterName>name1</ParameterName>
            <ParameterOperator>0</ParameterOperator>
            <ParameterDescription>description1</ParameterDescription>
            <IsRequiredParameter>true</IsRequiredParameter>
        </RegistrationErrorCodes>
        <WizardResponseParameters>
            <ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
            <ErrorMessage>fail to call</ErrorMessage>
            <ErrorSolution>retry</ErrorSolution>
        </WizardResponseParameters>
        <WizardResponseParameters>
            <DefaultValue>default1</DefaultValue>
            <ExampleValue>example1</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterPosition>0</ParameterPosition>
            <ParameterName>param1</ParameterName>
            <ParameterOperator>0</ParameterOperator>
            <ParameterDescription>description1</ParameterDescription>
            <IsRequiredParameter>true</IsRequiredParameter>
        </WizardResponseParameters>
        <WizardResponseParameters>
            <ExampleValue>example2</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterName>param2</ParameterName>
            <ParameterDescription>description2</ParameterDescription>
        </WizardResponseParameters>
        <ServiceHost>http://www.abc.com</ServiceHost>
        <RegistrationRequestParameters>
            <ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
            <ErrorMessage>The connection does not exist.</ErrorMessage>
            <ErrorSolution>retry</ErrorSolution>
        </RegistrationRequestParameters>
        <RegistrationRequestParameters>
            <DefaultValue>default1</DefaultValue>
            <ExampleValue>example1</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterPosition>0</ParameterPosition>
            <ParameterName>name1</ParameterName>
            <ParameterOperator>0</ParameterOperator>
            <ParameterDescription>description1</ParameterDescription>
            <IsRequiredParameter>true</IsRequiredParameter>
        </RegistrationRequestParameters>
        <IsPagedResponse>true</IsPagedResponse>
        <ServiceRequestBodyDescription>{"abc":1}</ServiceRequestBodyDescription>
        <WizardRequestParameters>
            <ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
            <ErrorMessage>fail to call</ErrorMessage>
            <ErrorSolution>retry</ErrorSolution>
        </WizardRequestParameters>
        <WizardRequestParameters>
            <DefaultValue>default1</DefaultValue>
            <ExampleValue>example1</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterPosition>0</ParameterPosition>
            <ParameterName>param1</ParameterName>
            <ParameterOperator>0</ParameterOperator>
            <ParameterDescription>description1</ParameterDescription>
            <IsRequiredParameter>true</IsRequiredParameter>
        </WizardRequestParameters>
        <WizardRequestParameters>
            <ExampleValue>example2</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterName>param2</ParameterName>
            <ParameterDescription>description2</ParameterDescription>
        </WizardRequestParameters>
        <SuccessfulResultSample>{"success": true}</SuccessfulResultSample>
        <WizardConnection>
            <TableName>t</TableName>
            <ConnectionId>123</ConnectionId>
        </WizardConnection>
        <FailedResultSample>{"success": false}</FailedResultSample>
        <ScriptResponseParameters>
            <ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
            <ErrorMessage>The connection does not exist.</ErrorMessage>
            <ErrorSolution>try</ErrorSolution>
        </ScriptResponseParameters>
        <ScriptResponseParameters>
            <DefaultValue>default1</DefaultValue>
            <ExampleValue>example1</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterPosition>0</ParameterPosition>
            <ParameterName>param1</ParameterName>
            <ParameterOperator>0</ParameterOperator>
            <ParameterDescription>description1</ParameterDescription>
            <IsRequiredParameter>true</IsRequiredParameter>
        </ScriptResponseParameters>
        <ScriptResponseParameters>
            <ExampleValue>example2</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterName>param2</ParameterName>
            <ParameterDescription>description2</ParameterDescription>
        </ScriptResponseParameters>
        <ScriptConnection>
            <TableName>t</TableName>
            <ConnectionId>123</ConnectionId>
        </ScriptConnection>
    </WizardDetails>
    <CreatedTime>2020-06-23T00:21:01+0800</CreatedTime>
    <Description>测试API描述</Description>
    <ApiName>测试API名称</ApiName>
    <CreatorId>1234567</CreatorId>
    <RequestMethod>0</RequestMethod>
    <Timeout>10000</Timeout>
    <ProjectId>10001</ProjectId>
    <ResponseContentType>0</ResponseContentType>
    <OperatorId>2345678</OperatorId>
    <RegistrationDetails>
        <Script>select a from t</Script>
        <ScriptErrorCodes>
            <ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
            <ErrorMessage>fail to call</ErrorMessage>
            <ErrorSolution>try</ErrorSolution>
        </ScriptErrorCodes>
        <ScriptErrorCodes>
            <DefaultValue>default1</DefaultValue>
            <ExampleValue>example1</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterPosition>0</ParameterPosition>
            <ParameterName>param1</ParameterName>
            <ParameterOperator>0</ParameterOperator>
            <ParameterDescription>description1</ParameterDescription>
            <IsRequiredParameter>true</IsRequiredParameter>
        </ScriptErrorCodes>
        <ScriptErrorCodes>
            <ExampleValue>example2</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterName>param2</ParameterName>
            <ParameterDescription>description2</ParameterDescription>
        </ScriptErrorCodes>
        <ServiceContentType>0</ServiceContentType>
        <ScriptRequestParameters>
            <ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
            <ErrorMessage>The connection does not exist.</ErrorMessage>
            <ErrorSolution>try</ErrorSolution>
        </ScriptRequestParameters>
        <ScriptRequestParameters>
            <DefaultValue>default1</DefaultValue>
            <ExampleValue>example1</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterPosition>0</ParameterPosition>
            <ParameterName>param1</ParameterName>
            <ParameterOperator>0</ParameterOperator>
            <ParameterDescription>description1</ParameterDescription>
            <IsRequiredParameter>true</IsRequiredParameter>
        </ScriptRequestParameters>
        <ScriptRequestParameters>
            <ExampleValue>example2</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterName>param2</ParameterName>
            <ParameterDescription>description2</ParameterDescription>
        </ScriptRequestParameters>
        <ServicePath>/index</ServicePath>
        <WizardErrorCodes>
            <ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
            <ErrorMessage>The connection does not exist.</ErrorMessage>
            <ErrorSolution>retry</ErrorSolution>
        </WizardErrorCodes>
        <WizardErrorCodes>
            <DefaultValue>default1</DefaultValue>
            <ExampleValue>example1</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterPosition>0</ParameterPosition>
            <ParameterName>param1</ParameterName>
            <ParameterOperator>0</ParameterOperator>
            <ParameterDescription>description1</ParameterDescription>
            <IsRequiredParameter>true</IsRequiredParameter>
        </WizardErrorCodes>
        <WizardErrorCodes>
            <ExampleValue>example2</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterName>param2</ParameterName>
            <ParameterDescription>description2</ParameterDescription>
        </WizardErrorCodes>
        <RegistrationErrorCodes>
            <ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
            <ErrorMessage>The connection does not exist.</ErrorMessage>
            <ErrorSolution>retry</ErrorSolution>
        </RegistrationErrorCodes>
        <RegistrationErrorCodes>
            <DefaultValue>default1</DefaultValue>
            <ExampleValue>example1</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterPosition>0</ParameterPosition>
            <ParameterName>name1</ParameterName>
            <ParameterOperator>0</ParameterOperator>
            <ParameterDescription>description1</ParameterDescription>
            <IsRequiredParameter>true</IsRequiredParameter>
        </RegistrationErrorCodes>
        <WizardResponseParameters>
            <ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
            <ErrorMessage>The connection does not exist.</ErrorMessage>
            <ErrorSolution>retry</ErrorSolution>
        </WizardResponseParameters>
        <WizardResponseParameters>
            <DefaultValue>default1</DefaultValue>
            <ExampleValue>example1</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterPosition>0</ParameterPosition>
            <ParameterName>param1</ParameterName>
            <ParameterOperator>0</ParameterOperator>
            <ParameterDescription>description1</ParameterDescription>
            <IsRequiredParameter>true</IsRequiredParameter>
        </WizardResponseParameters>
        <WizardResponseParameters>
            <ExampleValue>example2</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterName>param2</ParameterName>
            <ParameterDescription>description2</ParameterDescription>
        </WizardResponseParameters>
        <ServiceHost>http://www.abc.com</ServiceHost>
        <RegistrationRequestParameters>
            <ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
            <ErrorMessage>fail to call</ErrorMessage>
            <ErrorSolution>retry</ErrorSolution>
        </RegistrationRequestParameters>
        <RegistrationRequestParameters>
            <DefaultValue>default1</DefaultValue>
            <ExampleValue>example1</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterPosition>0</ParameterPosition>
            <ParameterName>name1</ParameterName>
            <ParameterOperator>0</ParameterOperator>
            <ParameterDescription>description1</ParameterDescription>
            <IsRequiredParameter>true</IsRequiredParameter>
        </RegistrationRequestParameters>
        <IsPagedResponse>true</IsPagedResponse>
        <ServiceRequestBodyDescription>{"abc":1}</ServiceRequestBodyDescription>
        <WizardRequestParameters>
            <ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
            <ErrorMessage>The connection does not exist.</ErrorMessage>
            <ErrorSolution>retry</ErrorSolution>
        </WizardRequestParameters>
        <WizardRequestParameters>
            <DefaultValue>default1</DefaultValue>
            <ExampleValue>example1</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterPosition>0</ParameterPosition>
            <ParameterName>param1</ParameterName>
            <ParameterOperator>0</ParameterOperator>
            <ParameterDescription>description1</ParameterDescription>
            <IsRequiredParameter>true</IsRequiredParameter>
        </WizardRequestParameters>
        <WizardRequestParameters>
            <ExampleValue>example2</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterName>param2</ParameterName>
            <ParameterDescription>description2</ParameterDescription>
        </WizardRequestParameters>
        <SuccessfulResultSample>{"success": true}</SuccessfulResultSample>
        <WizardConnection>
            <TableName>t</TableName>
            <ConnectionId>123</ConnectionId>
        </WizardConnection>
        <FailedResultSample>{"success": false}</FailedResultSample>
        <ScriptResponseParameters>
            <ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
            <ErrorMessage>The connection does not exist.</ErrorMessage>
            <ErrorSolution>try</ErrorSolution>
        </ScriptResponseParameters>
        <ScriptResponseParameters>
            <DefaultValue>default1</DefaultValue>
            <ExampleValue>example1</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterPosition>0</ParameterPosition>
            <ParameterName>param1</ParameterName>
            <ParameterOperator>0</ParameterOperator>
            <ParameterDescription>description1</ParameterDescription>
            <IsRequiredParameter>true</IsRequiredParameter>
        </ScriptResponseParameters>
        <ScriptResponseParameters>
            <ExampleValue>example2</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterName>param2</ParameterName>
            <ParameterDescription>description2</ParameterDescription>
        </ScriptResponseParameters>
        <ScriptConnection>
            <TableName>t</TableName>
            <ConnectionId>123</ConnectionId>
        </ScriptConnection>
    </RegistrationDetails>
    <GroupId>abcde123456789</GroupId>
    <TenantId>10001</TenantId>
    <ModifiedTime>2020-06-23T00:21:01+0800</ModifiedTime>
    <ScriptDetails>
        <Script>select a from t</Script>
        <ScriptErrorCodes>
            <ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
            <ErrorMessage>The connection does not exist.</ErrorMessage>
            <ErrorSolution>try</ErrorSolution>
        </ScriptErrorCodes>
        <ScriptErrorCodes>
            <DefaultValue>default1</DefaultValue>
            <ExampleValue>example1</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterPosition>0</ParameterPosition>
            <ParameterName>param1</ParameterName>
            <ParameterOperator>0</ParameterOperator>
            <ParameterDescription>description1</ParameterDescription>
            <IsRequiredParameter>true</IsRequiredParameter>
        </ScriptErrorCodes>
        <ScriptErrorCodes>
            <ExampleValue>example2</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterName>param2</ParameterName>
            <ParameterDescription>description2</ParameterDescription>
        </ScriptErrorCodes>
        <ServiceContentType>0</ServiceContentType>
        <ScriptRequestParameters>
            <ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
            <ErrorMessage>The connection does not exist.</ErrorMessage>
            <ErrorSolution>try</ErrorSolution>
        </ScriptRequestParameters>
        <ScriptRequestParameters>
            <DefaultValue>default1</DefaultValue>
            <ExampleValue>example1</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterPosition>0</ParameterPosition>
            <ParameterName>param1</ParameterName>
            <ParameterOperator>0</ParameterOperator>
            <ParameterDescription>description1</ParameterDescription>
            <IsRequiredParameter>true</IsRequiredParameter>
        </ScriptRequestParameters>
        <ScriptRequestParameters>
            <ExampleValue>example2</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterName>param2</ParameterName>
            <ParameterDescription>description2</ParameterDescription>
        </ScriptRequestParameters>
        <ServicePath>/index</ServicePath>
        <WizardErrorCodes>
            <ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
            <ErrorMessage>The connection does not exist.</ErrorMessage>
            <ErrorSolution>retry</ErrorSolution>
        </WizardErrorCodes>
        <WizardErrorCodes>
            <DefaultValue>default1</DefaultValue>
            <ExampleValue>example1</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterPosition>0</ParameterPosition>
            <ParameterName>param1</ParameterName>
            <ParameterOperator>0</ParameterOperator>
            <ParameterDescription>description1</ParameterDescription>
            <IsRequiredParameter>true</IsRequiredParameter>
        </WizardErrorCodes>
        <WizardErrorCodes>
            <ExampleValue>example2</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterName>param2</ParameterName>
            <ParameterDescription>description2</ParameterDescription>
        </WizardErrorCodes>
        <RegistrationErrorCodes>
            <ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
            <ErrorMessage>The connection does not exist.</ErrorMessage>
            <ErrorSolution>retry</ErrorSolution>
        </RegistrationErrorCodes>
        <RegistrationErrorCodes>
            <DefaultValue>default1</DefaultValue>
            <ExampleValue>example1</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterPosition>0</ParameterPosition>
            <ParameterName>name1</ParameterName>
            <ParameterOperator>0</ParameterOperator>
            <ParameterDescription>description1</ParameterDescription>
            <IsRequiredParameter>true</IsRequiredParameter>
        </RegistrationErrorCodes>
        <WizardResponseParameters>
            <ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
            <ErrorMessage>The connection does not exist.</ErrorMessage>
            <ErrorSolution>retry</ErrorSolution>
        </WizardResponseParameters>
        <WizardResponseParameters>
            <DefaultValue>default1</DefaultValue>
            <ExampleValue>example1</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterPosition>0</ParameterPosition>
            <ParameterName>param1</ParameterName>
            <ParameterOperator>0</ParameterOperator>
            <ParameterDescription>description1</ParameterDescription>
            <IsRequiredParameter>true</IsRequiredParameter>
        </WizardResponseParameters>
        <WizardResponseParameters>
            <ExampleValue>example2</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterName>param2</ParameterName>
            <ParameterDescription>description2</ParameterDescription>
        </WizardResponseParameters>
        <ServiceHost>http://www.abc.com</ServiceHost>
        <RegistrationRequestParameters>
            <ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
            <ErrorMessage>The connection does not exist.</ErrorMessage>
            <ErrorSolution>retry</ErrorSolution>
        </RegistrationRequestParameters>
        <RegistrationRequestParameters>
            <DefaultValue>default1</DefaultValue>
            <ExampleValue>example1</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterPosition>0</ParameterPosition>
            <ParameterName>name1</ParameterName>
            <ParameterOperator>0</ParameterOperator>
            <ParameterDescription>description1</ParameterDescription>
            <IsRequiredParameter>true</IsRequiredParameter>
        </RegistrationRequestParameters>
        <IsPagedResponse>true</IsPagedResponse>
        <ServiceRequestBodyDescription>{"abc":1}</ServiceRequestBodyDescription>
        <WizardRequestParameters>
            <ErrorCode>1001</ErrorCode>
            <ErrorMessage>The connection does not exist.</ErrorMessage>
            <ErrorSolution>retry</ErrorSolution>
        </WizardRequestParameters>
        <WizardRequestParameters>
            <DefaultValue>default1</DefaultValue>
            <ExampleValue>example1</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterPosition>0</ParameterPosition>
            <ParameterName>param1</ParameterName>
            <ParameterOperator>0</ParameterOperator>
            <ParameterDescription>description1</ParameterDescription>
            <IsRequiredParameter>true</IsRequiredParameter>
        </WizardRequestParameters>
        <WizardRequestParameters>
            <ExampleValue>example2</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterName>param2</ParameterName>
            <ParameterDescription>description2</ParameterDescription>
        </WizardRequestParameters>
        <SuccessfulResultSample>{"success": true}</SuccessfulResultSample>
        <WizardConnection>
            <TableName>t</TableName>
            <ConnectionId>123</ConnectionId>
        </WizardConnection>
        <FailedResultSample>{"success": false}</FailedResultSample>
        <ScriptResponseParameters>
            <ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
            <ErrorMessage>The connection does not exist.</ErrorMessage>
            <ErrorSolution>try</ErrorSolution>
        </ScriptResponseParameters>
        <ScriptResponseParameters>
            <DefaultValue>default1</DefaultValue>
            <ExampleValue>example1</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterPosition>0</ParameterPosition>
            <ParameterName>param1</ParameterName>
            <ParameterOperator>0</ParameterOperator>
            <ParameterDescription>description1</ParameterDescription>
            <IsRequiredParameter>true</IsRequiredParameter>
        </ScriptResponseParameters>
        <ScriptResponseParameters>
            <ExampleValue>example2</ExampleValue>
            <ParameterDataType>0</ParameterDataType>
            <ParameterName>param2</ParameterName>
            <ParameterDescription>description2</ParameterDescription>
        </ScriptResponseParameters>
        <ScriptConnection>
            <TableName>t</TableName>
            <ConnectionId>123</ConnectionId>
        </ScriptConnection>
    </ScriptDetails>
    <ApiId>10000</ApiId>
    <ApiMode>0</ApiMode>
    <ApiPath>/test/1</ApiPath>
</Data>
<ErrorCode>0</ErrorCode>
<ErrorMessage>正常</ErrorMessage>
<Success>true</Success>

JSON 格式

{
    "RequestId": "0000-ABCD-EFG****",
    "HttpStatusCode": 200,
    "Data": {
        "Status": 1,
        "VisibleRange": 0,
        "Protocols": 0,
        "WizardDetails": {
            "Script": "select a from t",
            "ScriptErrorCodes": [
                {
                    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
                    "ErrorMessage": "The connection does not exist.",
                    "ErrorSolution": "try"
                },
                {
                    "DefaultValue": "default1",
                    "ExampleValue": "example1",
                    "ParameterDataType": 0,
                    "ParameterPosition": 0,
                    "ParameterName": "param1",
                    "ParameterOperator": 0,
                    "ParameterDescription": "description1",
                    "IsRequiredParameter": true
                },
                {
                    "ExampleValue": "example2",
                    "ParameterDataType": 0,
                    "ParameterName": "param2",
                    "ParameterDescription": "description2"
                }
            ],
            "ServiceContentType": 0,
            "ScriptRequestParameters": [
                {
                    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
                    "ErrorMessage": "The connection does not exist.",
                    "ErrorSolution": "try"
                },
                {
                    "DefaultValue": "default1",
                    "ExampleValue": "example1",
                    "ParameterDataType": 0,
                    "ParameterPosition": 0,
                    "ParameterName": "param1",
                    "ParameterOperator": 0,
                    "ParameterDescription": "description1",
                    "IsRequiredParameter": true
                },
                {
                    "ExampleValue": "example2",
                    "ParameterDataType": 0,
                    "ParameterName": "param2",
                    "ParameterDescription": "description2"
                }
            ],
            "ServicePath": "/index",
            "WizardErrorCodes": [
                {
                    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
                    "ErrorMessage": "The connection does not exist.",
                    "ErrorSolution": "retry"
                },
                {
                    "DefaultValue": "default1",
                    "ExampleValue": "example1",
                    "ParameterDataType": 0,
                    "ParameterPosition": 0,
                    "ParameterName": "param1",
                    "ParameterOperator": 0,
                    "ParameterDescription": "description1",
                    "IsRequiredParameter": true
                },
                {
                    "ExampleValue": "example2",
                    "ParameterDataType": 0,
                    "ParameterName": "param2",
                    "ParameterDescription": "description2"
                }
            ],
            "RegistrationErrorCodes": [
                {
                    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
                    "ErrorMessage": "The connection does not exist.",
                    "ErrorSolution": "retry"
                },
                {
                    "DefaultValue": "default1",
                    "ExampleValue": "example1",
                    "ParameterDataType": 0,
                    "ParameterPosition": 0,
                    "ParameterName": "name1",
                    "ParameterOperator": 0,
                    "ParameterDescription": "description1",
                    "IsRequiredParameter": true
                }
            ],
            "WizardResponseParameters": [
                {
                    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
                    "ErrorMessage": "The connection does not exist.",
                    "ErrorSolution": "retry"
                },
                {
                    "DefaultValue": "default1",
                    "ExampleValue": "example1",
                    "ParameterDataType": 0,
                    "ParameterPosition": 0,
                    "ParameterName": "param1",
                    "ParameterOperator": 0,
                    "ParameterDescription": "description1",
                    "IsRequiredParameter": true
                },
                {
                    "ExampleValue": "example2",
                    "ParameterDataType": 0,
                    "ParameterName": "param2",
                    "ParameterDescription": "description2"
                }
            ],
            "ServiceHost": "http://www.abc.com",
            "RegistrationRequestParameters": [
                {
                    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
                    "ErrorMessage": "The connection does not exist.",
                    "ErrorSolution": "retry"
                },
                {
                    "DefaultValue": "default1",
                    "ExampleValue": "example1",
                    "ParameterDataType": 0,
                    "ParameterPosition": 0,
                    "ParameterName": "name1",
                    "ParameterOperator": 0,
                    "ParameterDescription": "description1",
                    "IsRequiredParameter": true
                }
            ],
            "IsPagedResponse": true,
            "ServiceRequestBodyDescription": "{\"abc\":1}",
            "WizardRequestParameters": [
                {
                    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
                    "ErrorMessage": "The connection does not exist.",
                    "ErrorSolution": "retry"
                },
                {
                    "DefaultValue": "default1",
                    "ExampleValue": "example1",
                    "ParameterDataType": 0,
                    "ParameterPosition": 0,
                    "ParameterName": "param1",
                    "ParameterOperator": 0,
                    "ParameterDescription": "description1",
                    "IsRequiredParameter": true
                },
                {
                    "ExampleValue": "example2",
                    "ParameterDataType": 0,
                    "ParameterName": "param2",
                    "ParameterDescription": "description2"
                }
            ],
            "SuccessfulResultSample": "{\"success\": true}",
            "WizardConnection": {
                "TableName": "t",
                "ConnectionId": 123
            },
            "FailedResultSample": "{\"success\": false}",
            "ScriptResponseParameters": [
                {
                    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
                    "ErrorMessage": "The connection does not exist.",
                    "ErrorSolution": "try"
                },
                {
                    "DefaultValue": "default1",
                    "ExampleValue": "example1",
                    "ParameterDataType": 0,
                    "ParameterPosition": 0,
                    "ParameterName": "param1",
                    "ParameterOperator": 0,
                    "ParameterDescription": "description1",
                    "IsRequiredParameter": true
                },
                {
                    "ExampleValue": "example2",
                    "ParameterDataType": 0,
                    "ParameterName": "param2",
                    "ParameterDescription": "description2"
                }
            ],
            "ScriptConnection": {
                "TableName": "t",
                "ConnectionId": 123
            }
        },
        "CreatedTime": "2020-06-23T00:21:01+0800",
        "Description": "测试API描述",
        "ApiName": "测试API名称",
        "CreatorId": 1234567,
        "RequestMethod": 0,
        "Timeout": 10000,
        "ProjectId": 10001,
        "ResponseContentType": 0,
        "OperatorId": 2345678,
        "RegistrationDetails": {
            "Script": "select a from t",
            "ScriptErrorCodes": [
                {
                    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
                    "ErrorMessage": "The connection does not exist.",
                    "ErrorSolution": "try"
                },
                {
                    "DefaultValue": "default1",
                    "ExampleValue": "example1",
                    "ParameterDataType": 0,
                    "ParameterPosition": 0,
                    "ParameterName": "param1",
                    "ParameterOperator": 0,
                    "ParameterDescription": "description1",
                    "IsRequiredParameter": true
                },
                {
                    "ExampleValue": "example2",
                    "ParameterDataType": 0,
                    "ParameterName": "param2",
                    "ParameterDescription": "description2"
                }
            ],
            "ServiceContentType": 0,
            "ScriptRequestParameters": [
                {
                    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
                    "ErrorMessage": "The connection does not exist.",
                    "ErrorSolution": "try"
                },
                {
                    "DefaultValue": "default1",
                    "ExampleValue": "example1",
                    "ParameterDataType": 0,
                    "ParameterPosition": 0,
                    "ParameterName": "param1",
                    "ParameterOperator": 0,
                    "ParameterDescription": "description1",
                    "IsRequiredParameter": true
                },
                {
                    "ExampleValue": "example2",
                    "ParameterDataType": 0,
                    "ParameterName": "param2",
                    "ParameterDescription": "description2"
                }
            ],
            "ServicePath": "/index",
            "WizardErrorCodes": [
                {
                    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
                    "ErrorMessage": "The connection does not exist.",
                    "ErrorSolution": "retry"
                },
                {
                    "DefaultValue": "default1",
                    "ExampleValue": "example1",
                    "ParameterDataType": 0,
                    "ParameterPosition": 0,
                    "ParameterName": "param1",
                    "ParameterOperator": 0,
                    "ParameterDescription": "description1",
                    "IsRequiredParameter": true
                },
                {
                    "ExampleValue": "example2",
                    "ParameterDataType": 0,
                    "ParameterName": "param2",
                    "ParameterDescription": "description2"
                }
            ],
            "RegistrationErrorCodes": [
                {
                    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
                    "ErrorMessage": "The connection does not exist.",
                    "ErrorSolution": "retry"
                },
                {
                    "DefaultValue": "default1",
                    "ExampleValue": "example1",
                    "ParameterDataType": 0,
                    "ParameterPosition": 0,
                    "ParameterName": "name1",
                    "ParameterOperator": 0,
                    "ParameterDescription": "description1",
                    "IsRequiredParameter": true
                }
            ],
            "WizardResponseParameters": [
                {
                    "ErrorCode":"Invalid.Tenant.ConnectionNotExists",
                    "ErrorMessage": "The connection does not exist.",
                    "ErrorSolution": "retry"
                },
                {
                    "DefaultValue": "default1",
                    "ExampleValue": "example1",
                    "ParameterDataType": 0,
                    "ParameterPosition": 0,
                    "ParameterName": "param1",
                    "ParameterOperator": 0,
                    "ParameterDescription": "description1",
                    "IsRequiredParameter": true
                },
                {
                    "ExampleValue": "example2",
                    "ParameterDataType": 0,
                    "ParameterName": "param2",
                    "ParameterDescription": "description2"
                }
            ],
            "ServiceHost": "http://www.abc.com",
            "RegistrationRequestParameters": [
                {
                    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
                    "ErrorMessage": "The connection does not exist.",
                    "ErrorSolution": "retry"
                },
                {
                    "DefaultValue": "default1",
                    "ExampleValue": "example1",
                    "ParameterDataType": 0,
                    "ParameterPosition": 0,
                    "ParameterName": "name1",
                    "ParameterOperator": 0,
                    "ParameterDescription": "description1",
                    "IsRequiredParameter": true
                }
            ],
            "IsPagedResponse": true,
            "ServiceRequestBodyDescription": "{\"abc\":1}",
            "WizardRequestParameters": [
                {
                    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
                    "ErrorMessage": "The connection does not exist.",
                    "ErrorSolution": "retry"
                },
                {
                    "DefaultValue": "default1",
                    "ExampleValue": "example1",
                    "ParameterDataType": 0,
                    "ParameterPosition": 0,
                    "ParameterName": "param1",
                    "ParameterOperator": 0,
                    "ParameterDescription": "description1",
                    "IsRequiredParameter": true
                },
                {
                    "ExampleValue": "example2",
                    "ParameterDataType": 0,
                    "ParameterName": "param2",
                    "ParameterDescription": "description2"
                }
            ],
            "SuccessfulResultSample": "{\"success\": true}",
            "WizardConnection": {
                "TableName": "t",
                "ConnectionId": 123
            },
            "FailedResultSample": "{\"success\": false}",
            "ScriptResponseParameters": [
                {
                    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
                    "ErrorMessage": "The connection does not exist.",
                    "ErrorSolution": "try"
                },
                {
                    "DefaultValue": "default1",
                    "ExampleValue": "example1",
                    "ParameterDataType": 0,
                    "ParameterPosition": 0,
                    "ParameterName": "param1",
                    "ParameterOperator": 0,
                    "ParameterDescription": "description1",
                    "IsRequiredParameter": true
                },
                {
                    "ExampleValue": "example2",
                    "ParameterDataType": 0,
                    "ParameterName": "param2",
                    "ParameterDescription": "description2"
                }
            ],
            "ScriptConnection": {
                "TableName": "t",
                "ConnectionId": 123
            }
        },
        "GroupId": "abcde123456789",
        "TenantId": 10001,
        "ModifiedTime": "2020-06-23T00:21:01+0800",
        "ScriptDetails": {
            "Script": "select a from t",
            "ScriptErrorCodes": [
                {
                    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
                    "ErrorMessage": "The connection does not exist.",
                    "ErrorSolution": "try"
                },
                {
                    "DefaultValue": "default1",
                    "ExampleValue": "example1",
                    "ParameterDataType": 0,
                    "ParameterPosition": 0,
                    "ParameterName": "param1",
                    "ParameterOperator": 0,
                    "ParameterDescription": "description1",
                    "IsRequiredParameter": true
                },
                {
                    "ExampleValue": "example2",
                    "ParameterDataType": 0,
                    "ParameterName": "param2",
                    "ParameterDescription": "description2"
                }
            ],
            "ServiceContentType": 0,
            "ScriptRequestParameters": [
                {
                    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
                    "ErrorMessage": "The connection does not exist.",
                    "ErrorSolution": "try"
                },
                {
                    "DefaultValue": "default1",
                    "ExampleValue": "example1",
                    "ParameterDataType": 0,
                    "ParameterPosition": 0,
                    "ParameterName": "param1",
                    "ParameterOperator": 0,
                    "ParameterDescription": "description1",
                    "IsRequiredParameter": true
                },
                {
                    "ExampleValue": "example2",
                    "ParameterDataType": 0,
                    "ParameterName": "param2",
                    "ParameterDescription": "description2"
                }
            ],
            "ServicePath": "/index",
            "WizardErrorCodes": [
                {
                    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
                    "ErrorMessage": "The connection does not exist.",
                    "ErrorSolution": "retry"
                },
                {
                    "DefaultValue": "default1",
                    "ExampleValue": "example1",
                    "ParameterDataType": 0,
                    "ParameterPosition": 0,
                    "ParameterName": "param1",
                    "ParameterOperator": 0,
                    "ParameterDescription": "description1",
                    "IsRequiredParameter": true
                },
                {
                    "ExampleValue": "example2",
                    "ParameterDataType": 0,
                    "ParameterName": "param2",
                    "ParameterDescription": "description2"
                }
            ],
            "RegistrationErrorCodes": [
                {
                    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
                    "ErrorMessage": "The connection does not exist.",
                    "ErrorSolution": "retry"
                },
                {
                    "DefaultValue": "default1",
                    "ExampleValue": "example1",
                    "ParameterDataType": 0,
                    "ParameterPosition": 0,
                    "ParameterName": "name1",
                    "ParameterOperator": 0,
                    "ParameterDescription": "description1",
                    "IsRequiredParameter": true
                }
            ],
            "WizardResponseParameters": [
                {
                    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
                    "ErrorMessage": "The connection does not exist.",
                    "ErrorSolution": "retry"
                },
                {
                    "DefaultValue": "default1",
                    "ExampleValue": "example1",
                    "ParameterDataType": 0,
                    "ParameterPosition": 0,
                    "ParameterName": "param1",
                    "ParameterOperator": 0,
                    "ParameterDescription": "description1",
                    "IsRequiredParameter": true
                },
                {
                    "ExampleValue": "example2",
                    "ParameterDataType": 0,
                    "ParameterName": "param2",
                    "ParameterDescription": "description2"
                }
            ],
            "ServiceHost": "http://www.abc.com",
            "RegistrationRequestParameters": [
                {
                    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
                    "ErrorMessage": "The connection does not exist.",
                    "ErrorSolution": "retry"
                },
                {
                    "DefaultValue": "default1",
                    "ExampleValue": "example1",
                    "ParameterDataType": 0,
                    "ParameterPosition": 0,
                    "ParameterName": "name1",
                    "ParameterOperator": 0,
                    "ParameterDescription": "description1",
                    "IsRequiredParameter": true
                }
            ],
            "IsPagedResponse": true,
            "ServiceRequestBodyDescription": "{\"abc\":1}",
            "WizardRequestParameters": [
                {
                    "ErrorCode": 1001,
                    "ErrorMessage": "The connection does not exist.",
                    "ErrorSolution": "retry"
                },
                {
                    "DefaultValue": "default1",
                    "ExampleValue": "example1",
                    "ParameterDataType": 0,
                    "ParameterPosition": 0,
                    "ParameterName": "param1",
                    "ParameterOperator": 0,
                    "ParameterDescription": "description1",
                    "IsRequiredParameter": true
                },
                {
                    "ExampleValue": "example2",
                    "ParameterDataType": 0,
                    "ParameterName": "param2",
                    "ParameterDescription": "description2"
                }
            ],
            "SuccessfulResultSample": "{\"success\": true}",
            "WizardConnection": {
                "TableName": "t",
                "ConnectionId": 123
            },
            "FailedResultSample": "{\"success\": false}",
            "ScriptResponseParameters": [
                {
                    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
                    "ErrorMessage": "The connection does not exist.",
                    "ErrorSolution": "try"
                },
                {
                    "DefaultValue": "default1",
                    "ExampleValue": "example1",
                    "ParameterDataType": 0,
                    "ParameterPosition": 0,
                    "ParameterName": "param1",
                    "ParameterOperator": 0,
                    "ParameterDescription": "description1",
                    "IsRequiredParameter": true
                },
                {
                    "ExampleValue": "example2",
                    "ParameterDataType": 0,
                    "ParameterName": "param2",
                    "ParameterDescription": "description2"
                }
            ],
            "ScriptConnection": {
                "TableName": "t",
                "ConnectionId": 123
            }
        },
        "ApiId": 10000,
        "ApiMode": 0,
        "ApiPath": "/test/1"
    },
    "ErrorCode": 0,
    "ErrorMessage": "正常",
    "Success": true
}

错误码

HttpCode 错误码 错误信息 描述
403 Forbidden.Access Access is forbidden. Activate DataWorks first. 您被限制访问,请开通DataWorks企业版或旗舰版。
500 InternalError.System An internal system error occurred. Try again later. 系统内部错误,请稍后再试。
500 InternalError.UserId.Missing An internal system error occurred. Try again later. 系统内部错误,请稍后再试。
403 ResourceNotAuthorized.Api You are not authorized to access the resources. 您无法访问未取得授权的资源。
429 Throttling.Api The request for this resource has exceeded your available limit. 对该资源的请求已超过您的可用上限。
429 Throttling.System The DataWorks system is busy. Try again later. DataWorks系统繁忙,请稍后再试。
429 Throttling.User Your request is too frequent. Try again later. 您的请求过于频繁,请尝试放缓请求速度。

访问错误中心查看更多错误码。