(removed())
- get - Get Removed (v2)
Get Removed from v2 endpoint
package hello.world;
import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.operations.GetRemovedResponse;
import com.benzinga.bzclient.models.operations.Type;
import java.lang.Exception;
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()) {
// handle response
}
}
}
Parameter | Type | Required | Description |
---|---|---|---|
page |
Optional<Long> | ➖ | Page number |
pageSize |
Optional<Long> | ➖ | Page size |
type |
Optional<Type> | ➖ | Type |
updated |
Optional<Long> | ➖ | Updated time in Unix format |
Error Type | Status Code | Content Type |
---|---|---|
models/errors/APIException | 4XX, 5XX | */* |