< BACK

Overview

Available Operations

  • get - Get Removed (v2)

get

Get Removed from v2 endpoint

Example Usage

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()) {
            // handle response
        }
    }
}

Parameters

ParameterTypeRequiredDescription
pageOptional<Long>:heavy_minus_sign:Page number
pageSizeOptional<Long>:heavy_minus_sign:Page size
typeOptional<Type>:heavy_minus_sign:Type
updatedOptional<Long>:heavy_minus_sign:Updated time in Unix format

Response

GetRemovedResponse

Errors

Error TypeStatus CodeContent Type
models/errors/APIException4XX, 5XX*/*

Was this page helpful?