cURL
curl --request POST \ --url https://cloud.cdata.com/api/exec \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "procedure": "<string>", "defaultCatalog": "<string>", "defaultSchema": "<string>", "parameters": {}, "timeout": 150 } '
{ "results": [ { "affectedRows": 123, "schema": [ { "catalogName": "<string>", "columnLabel": "<string>", "columnName": "<string>", "dataType": 1, "dataTypeName": "<string>", "length": 123, "nullable": true, "ordinal": 123, "precision": 123, "scale": 123, "schemaName": "<string>", "tableName": "<string>" } ], "rows": [ [ "<unknown>" ] ] } ], "error": { "code": 0, "message": "<string>" } }
The execute operation allows you to execute stored procedures for any of the data sources configured in your Connect AI account.
JWT token authentication. Include the token in the Authorization header as 'Bearer '.
The name of the stored procedure to execute. Must be a valid stored procedure name.
1
表示 子属性
1 <= x <= 300
OK
このページは役に立ちましたか?