Skip to main content
< رجوع

نظرة عامة

العمليات المتاحة

  • getOwner - جلب مالك صفقة تداول المطلعين

getOwner

جلب مالك الصفقة الداخلية

مثال على الاستخدام

package hello.world;

import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.errors.ApiErrorResponse;
import org.benzinga.BZClient.models.operations.GetInsiderTransactionOwnerRequest;
import org.benzinga.BZClient.models.operations.GetInsiderTransactionOwnerResponse;

public class Application {

    public static void main(String[] args) throws ApiErrorResponse, Exception {

        Bzclient sdk = Bzclient.builder()
                .apiKeyAuth("<YOUR_API_KEY_HERE>")
            .build();

        GetInsiderTransactionOwnerRequest req = GetInsiderTransactionOwnerRequest.builder()
                .build();

        GetInsiderTransactionOwnerResponse res = sdk.insiderTransactions().getOwner()
                .request(req)
                .call();

        if (res.modelsInsiderTransactionFilingJSON().isPresent()) {
            // معالجة الرد
        }
    }
}

المعاملات

المعاملالنوعإلزاميالوصف
requestGetInsiderTransactionOwnerRequest:heavy_check_mark:كائن الطلب المستخدم لهذا الطلب.

الاستجابة

GetInsiderTransactionOwnerResponse

الأخطاء

نوع الخطأرمز الحالةنوع المحتوى
models/errors/ApiErrorResponse400, 500application/json
models/errors/APIException4XX, 5XX/