(ipos())
Returns the IPOs data
package hello.world;
import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.operations.GetIposV21Request;
import com.benzinga.bzclient.models.operations.GetIposV21Response;
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();
GetIposV21Request req = GetIposV21Request.builder()
.build();
GetIposV21Response res = sdk.ipos().getV21()
.request(req)
.call();
if (res.modelsIPOJSON().isPresent()) {
// handle response
}
}
}
| Parameter |
Type |
Required |
Description |
request |
GetIposV21Request |
✔️ |
The request object to use for the request. |
GetIposV21Response
| Error Type |
Status Code |
Content Type |
| models/errors/APIException |
4XX, 5XX |
*/* |
Returns the IPOs data
package hello.world;
import com.benzinga.bzclient.Bzclient;
import com.benzinga.bzclient.models.operations.GetIposV2Request;
import com.benzinga.bzclient.models.operations.GetIposV2Response;
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();
GetIposV2Request req = GetIposV2Request.builder()
.build();
GetIposV2Response res = sdk.ipos().get()
.request(req)
.call();
if (res.modelsIPOJSON().isPresent()) {
// handle response
}
}
}
| Parameter |
Type |
Required |
Description |
request |
GetIposV2Request |
✔️ |
The request object to use for the request. |
GetIposV2Response
| Error Type |
Status Code |
Content Type |
| models/errors/APIException |
4XX, 5XX |
*/* |