DataService API のテスト記録を一覧表示します。先月のデータのみ照会できます。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ApiId |
integer |
必須 |
テスト対象の API の ID。 |
12345 |
| PageSize |
integer |
任意 |
ページサイズ。最大値: 100。 |
10 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答メッセージ。 |
||
| RequestId |
string |
リクエスト ID。 |
ESDAFWEA |
| Data |
array<object> |
データのリスト。 |
|
|
object |
データオブジェクト。 |
||
| TestId |
integer |
テスト ID。 |
123 |
| ApiId |
integer |
テスト対象の API の ID。 |
2343 |
| ParamMap |
string |
テスト API のリクエストパラメーター。 |
{"name":"test"} |
| RetCode |
integer |
テスト API のリターンコード。テストが完了していない場合、このフィールドは空です。 |
0 |
| RetResult |
string |
返されたデータ。 |
{"id":2} |
| CostTime |
integer |
API リクエストに要した時間。 |
10 |
| Status |
string |
タスクが完了しているかどうかを示します。有効な値:
|
FINISHED |
| CreateTime |
integer |
タスクが作成された時間。 値は |
1651824913000 |
例
成功レスポンス
JSONJSON
{
"RequestId": "ESDAFWEA",
"Data": [
{
"TestId": 123,
"ApiId": 2343,
"ParamMap": "{\"name\":\"test\"}",
"RetCode": 0,
"RetResult": "{\"id\":2}",
"CostTime": 10,
"Status": "FINISHED",
"CreateTime": 1651824913000
}
]
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 500 | InternalError.System | An internal system error occurred. Try again later. | |
| 500 | InternalError.UserId.Missing | An internal system error occurred. Try again later. | |
| 403 | Forbidden.Access | Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. | |
| 429 | Throttling.Api | The request for this resource has exceeded your available limit. | |
| 429 | Throttling.System | The DataWorks system is busy. Try again later. | |
| 429 | Throttling.User | Your request is too frequent. Try again later. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。