调用ListDataServicePublishedApis获取数据服务API的发布态信息列表。

调试

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

请求参数

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

要执行的操作。

PageNumber Integer 1

页码,从1开始,默认值为1。

PageSize Integer 10

每页的尺寸。最小值为1,最大值为50,默认值为10。

ProjectId Long 10000

工作空间的ID。

RegionId String cn-shanghai

地域ID。

TenantId Long 10001

租户ID。

ApiNameKeyword String 我的API名称

API名称的关键词,过滤得到API名称包含该关键词的API。

ApiPathKeyword String /test/

API路径的关键词,过滤得到API路径包含该关键词的API。

CreatorId String 12345

API创建者的阿里云ID,过滤得到该用户创建的API。

返回数据

名称 类型 示例值 描述
Data Struct

API发布态信息返回。

Apis Array

API发布态信息列表。

ApiId Long 10002

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 ab123

分组ID。

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

最新修改时间。

OperatorId String 2345678

最新编辑人阿里云ID

ProjectId Long 10000

工作空间的ID。

Protocols List 0

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

RegistrationDetails Struct

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

FailedResultSample String {"success": false}

错误返回示例。

RegistrationErrorCodes Array

注册API的错误码列表。

ErrorCode String 1001

错误码

ErrorMessage String fail to call

错误信息

ErrorSolution String retry

错误解决方案

RegistrationRequestParameters Array

注册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

脚本API错误码列表

ErrorCode String 1001

错误码

ErrorMessage String fail to call

错误信息

ErrorSolution String retry

错误解决方案

ScriptRequestParameters Array

脚本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

脚本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

向导API的错误码列表。

ErrorCode String 1001

错误码。

ErrorMessage String fail to call

错误信息。

ErrorSolution String retry

错误解决方案。

WizardRequestParameters Array

向导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

向导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

参数的名称。

PageNumber Integer 1

页码,和请求中的PageNumber一致。

PageSize Integer 10

每页的大小,和请求中的PageSize一致。

TotalCount Integer 100

总记录数。

ErrorCode String 0

错误码。

ErrorMessage String 正常

错误信息。

HttpStatusCode Integer 200

HTTP状态码。

RequestId String 0000-ABCD-EFG****

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

Success Boolean true

调用是否成功。

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

示例

请求示例

http(s)://[Endpoint]/?Action=ListDataServicePublishedApis
&PageNumber=1
&PageSize=10
&ProjectId=10000
&RegionId=cn-shanghai
&TenantId=10001
&<公共请求参数>

正常返回示例

XML 格式

<RequestId>0000-ABCD-EFG****</RequestId>
<HttpStatusCode>200</HttpStatusCode>
<Data>
    <TotalCount>100</TotalCount>
    <PageSize>10</PageSize>
    <PageNumber>1</PageNumber>
    <Apis>
        <Status>1</Status>
        <VisibleRange>0</VisibleRange>
        <CreatedTime>2020-06-23T00:21:01+0800</CreatedTime>
        <Description>测试API描述</Description>
        <ApiName>我的API名称</ApiName>
        <CreatorId>1234567</CreatorId>
        <RequestMethod>0</RequestMethod>
        <Timeout>10000</Timeout>
        <ProjectId>10000</ProjectId>
        <ResponseContentType>0</ResponseContentType>
        <OperatorId>2345678</OperatorId>
        <GroupId>ab123</GroupId>
        <TenantId>10001</TenantId>
        <ModifiedTime>2020-06-23T00:21:01+0800</ModifiedTime>
        <ApiId>10002</ApiId>
        <ApiMode>0</ApiMode>
        <ApiPath>/test/1</ApiPath>
    </Apis>
    <Apis>
        <Protocols>0</Protocols>
    </Apis>
    <Apis>
        <WizardDetails>
            <Script>select a from t</Script>
            <ScriptErrorCodes>
                <ErrorCode>1001</ErrorCode>
                <ErrorMessage>fail to call</ErrorMessage>
                <ErrorSolution>retry</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>1001</ErrorCode>
                <ErrorMessage>fail to call</ErrorMessage>
                <ErrorSolution>retry</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>1001</ErrorCode>
                <ErrorMessage>fail to call</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>1001</ErrorCode>
                <ErrorMessage>fail to call</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>1001</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>1001</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>1001</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>1001</ErrorCode>
                <ErrorMessage>fail to call</ErrorMessage>
                <ErrorSolution>retry</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>
        <ScriptDetails>
            <Script>select a from t</Script>
            <ScriptErrorCodes>
                <ErrorCode>1001</ErrorCode>
                <ErrorMessage>fail to call</ErrorMessage>
                <ErrorSolution>retry</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>1001</ErrorCode>
                <ErrorMessage>fail to call</ErrorMessage>
                <ErrorSolution>retry</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>1001</ErrorCode>
                <ErrorMessage>fail to call</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>1001</ErrorCode>
                <ErrorMessage>fail to call</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>1001</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>1001</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>1001</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>1001</ErrorCode>
                <ErrorMessage>fail to call</ErrorMessage>
                <ErrorSolution>retry</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>
        <RegistrationDetails>
            <Script>select a from t</Script>
            <ScriptErrorCodes>
                <ErrorCode>1001</ErrorCode>
                <ErrorMessage>fail to call</ErrorMessage>
                <ErrorSolution>retry</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>1001</ErrorCode>
                <ErrorMessage>fail to call</ErrorMessage>
                <ErrorSolution>retry</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>1001</ErrorCode>
                <ErrorMessage>fail to call</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>1001</ErrorCode>
                <ErrorMessage>fail to call</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>1001</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>1001</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>1001</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>1001</ErrorCode>
                <ErrorMessage>fail to call</ErrorMessage>
                <ErrorSolution>retry</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>
    </Apis>
</Data>
<ErrorCode>0</ErrorCode>
<ErrorMessage>正常</ErrorMessage>
<Success>true</Success>

JSON 格式

{
    "RequestId": "0000-ABCD-EFG****",
    "HttpStatusCode": 200,
    "Data": {
        "TotalCount": 100,
        "PageSize": 10,
        "PageNumber": 1,
        "Apis": [
            {
                "Status": 1,
                "VisibleRange": 0,
                "CreatedTime": "2020-06-23T00:21:01+0800",
                "Description": "测试API描述",
                "ApiName": "我的API名称",
                "CreatorId": 1234567,
                "RequestMethod": 0,
                "Timeout": 10000,
                "ProjectId": 10000,
                "ResponseContentType": 0,
                "OperatorId": 2345678,
                "GroupId": "ab123",
                "TenantId": 10001,
                "ModifiedTime": "2020-06-23T00:21:01+0800",
                "ApiId": 10002,
                "ApiMode": 0,
                "ApiPath": "/test/1"
            },
            {
                "Protocols": 0
            },
            {
                "WizardDetails": {
                    "Script": "select a from t",
                    "ScriptErrorCodes": [
                        {
                            "ErrorCode": 1001,
                            "ErrorMessage": "fail to call",
                            "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"
                        }
                    ],
                    "ServiceContentType": 0,
                    "ScriptRequestParameters": [
                        {
                            "ErrorCode": 1001,
                            "ErrorMessage": "fail to call",
                            "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"
                        }
                    ],
                    "ServicePath": "/index",
                    "WizardErrorCodes": [
                        {
                            "ErrorCode": 1001,
                            "ErrorMessage": "fail to call",
                            "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": 1001,
                            "ErrorMessage": "fail to call",
                            "ErrorSolution": "retry"
                        },
                        {
                            "DefaultValue": "default1",
                            "ExampleValue": "example1",
                            "ParameterDataType": 0,
                            "ParameterPosition": 0,
                            "ParameterName": "name1",
                            "ParameterOperator": 0,
                            "ParameterDescription": "description1",
                            "IsRequiredParameter": true
                        }
                    ],
                    "WizardResponseParameters": [
                        {
                            "ErrorCode": 1001,
                            "ErrorMessage": "fail to call",
                            "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": 1001,
                            "ErrorMessage": "fail to call",
                            "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": "fail to call",
                            "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": 1001,
                            "ErrorMessage": "fail to call",
                            "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"
                        }
                    ],
                    "ScriptConnection": {
                        "TableName": "t",
                        "ConnectionId": 123
                    }
                },
                "ScriptDetails": {
                    "Script": "select a from t",
                    "ScriptErrorCodes": [
                        {
                            "ErrorCode": 1001,
                            "ErrorMessage": "fail to call",
                            "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"
                        }
                    ],
                    "ServiceContentType": 0,
                    "ScriptRequestParameters": [
                        {
                            "ErrorCode": 1001,
                            "ErrorMessage": "fail to call",
                            "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"
                        }
                    ],
                    "ServicePath": "/index",
                    "WizardErrorCodes": [
                        {
                            "ErrorCode": 1001,
                            "ErrorMessage": "fail to call",
                            "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": 1001,
                            "ErrorMessage": "fail to call",
                            "ErrorSolution": "retry"
                        },
                        {
                            "DefaultValue": "default1",
                            "ExampleValue": "example1",
                            "ParameterDataType": 0,
                            "ParameterPosition": 0,
                            "ParameterName": "name1",
                            "ParameterOperator": 0,
                            "ParameterDescription": "description1",
                            "IsRequiredParameter": true
                        }
                    ],
                    "WizardResponseParameters": [
                        {
                            "ErrorCode": 1001,
                            "ErrorMessage": "fail to call",
                            "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": 1001,
                            "ErrorMessage": "fail to call",
                            "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": "fail to call",
                            "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": 1001,
                            "ErrorMessage": "fail to call",
                            "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"
                        }
                    ],
                    "ScriptConnection": {
                        "TableName": "t",
                        "ConnectionId": 123
                    }
                },
                "RegistrationDetails": {
                    "Script": "select a from t",
                    "ScriptErrorCodes": [
                        {
                            "ErrorCode": 1001,
                            "ErrorMessage": "fail to call",
                            "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"
                        }
                    ],
                    "ServiceContentType": 0,
                    "ScriptRequestParameters": [
                        {
                            "ErrorCode": 1001,
                            "ErrorMessage": "fail to call",
                            "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"
                        }
                    ],
                    "ServicePath": "/index",
                    "WizardErrorCodes": [
                        {
                            "ErrorCode": 1001,
                            "ErrorMessage": "fail to call",
                            "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": 1001,
                            "ErrorMessage": "fail to call",
                            "ErrorSolution": "retry"
                        },
                        {
                            "DefaultValue": "default1",
                            "ExampleValue": "example1",
                            "ParameterDataType": 0,
                            "ParameterPosition": 0,
                            "ParameterName": "name1",
                            "ParameterOperator": 0,
                            "ParameterDescription": "description1",
                            "IsRequiredParameter": true
                        }
                    ],
                    "WizardResponseParameters": [
                        {
                            "ErrorCode": 1001,
                            "ErrorMessage": "fail to call",
                            "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": 1001,
                            "ErrorMessage": "fail to call",
                            "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": "fail to call",
                            "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": 1001,
                            "ErrorMessage": "fail to call",
                            "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"
                        }
                    ],
                    "ScriptConnection": {
                        "TableName": "t",
                        "ConnectionId": 123
                    }
                }
            }
        ]
    },
    "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. 您的请求过于频繁,请尝试放缓请求速度。

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