Skip to content

Latest commit

 

History

History
63 lines (44 loc) · 2.5 KB

README.md

File metadata and controls

63 lines (44 loc) · 2.5 KB

Removed

(removed())

Overview

Available Operations

  • get - Get Removed (v2)

get

Get Removed from v2 endpoint

Example Usage

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
        }
    }
}

Parameters

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

Response

GetRemovedResponse

Errors

Error Type Status Code Content Type
models/errors/APIException 4XX, 5XX */*