概要
利用可能な操作
- get - 削除済みデータを取得 (v2)
get
使用例
package hello.world;
import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetRemovedResponse;
import org.benzinga.BZClient.models.operations.Type;
public class Application {
public static void main(String[] args) throws Exception {
Bzclient sdk = Bzclient.builder()
.apiKeyAuth("<YOUR_API_KEY_HERE>")
.build();
GetRemovedResponse res = sdk.removed().get()
.page(700347L)
.pageSize(558834L)
.type(Type.OFFERINGS)
.updated(521235L)
.call();
if (res.modelsRmvdJSON().isPresent()) {
// レスポンスを処理する
}
}
}
パラメーター
| Parameter | Type | Required | Description |
|---|---|---|---|
page | Optional<Long> | :heavy_minus_sign: | ページ番号 |
pageSize | Optional<Long> | :heavy_minus_sign: | ページサイズ |
type | Optional<Type> | :heavy_minus_sign: | 種別 |
updated | Optional<Long> | :heavy_minus_sign: | Unix 形式の更新日時 |
レスポンス
エラー
| エラー種別 | ステータスコード | Content-Type |
|---|---|---|
| models/errors/APIException | 4XX, 5XX | / |