syntax = "proto3"; package fincleartech.ibroker; option java_package = "io.fincleartech.protobuf.ibroker.corpact"; option java_multiple_files = true; import "google/protobuf/wrappers.proto"; import "fincleartech/ibroker/ibroker-common.proto"; message CreateBidElectionTransactionRequest { google.protobuf.StringValue request_id = 1; google.protobuf.StringValue settlement_account = 2; google.protobuf.StringValue security_code = 3; google.protobuf.StringValue participant = 4; fincleartech.ibroker.NumberValue units = 5; google.protobuf.StringValue corporate_action_id = 6; google.protobuf.StringValue corporate_action_event = 7; google.protobuf.StringValue corporate_action_option_number = 8; google.protobuf.StringValue corporate_action_option_type = 9; google.protobuf.BoolValue distinct_portion = 10; } message CreateBidElectionTransactionResponse { fincleartech.ibroker.ResponseStatus status = 1; google.protobuf.StringValue transaction_id = 2; } message CreateBidElectionWithdrawalTransactionRequest { google.protobuf.StringValue request_id = 1; google.protobuf.StringValue settlement_account = 2; google.protobuf.StringValue security_code = 3; google.protobuf.StringValue participant = 4; fincleartech.ibroker.NumberValue units = 5; google.protobuf.StringValue corporate_action_id = 6; google.protobuf.StringValue corporate_action_event = 7; google.protobuf.StringValue corporate_action_option_number = 8; google.protobuf.StringValue corporate_action_option_type = 9; google.protobuf.StringValue reason = 10; } message CreateBidElectionWithdrawalTransactionResponse { fincleartech.ibroker.ResponseStatus status = 1; google.protobuf.StringValue transaction_id = 2; } service IBrokerCorporateActionsService { rpc CreateBidElectionTransaction(CreateBidElectionTransactionRequest) returns (CreateBidElectionTransactionResponse); rpc CreateBidElectionWithdrawalTransaction(CreateBidElectionWithdrawalTransactionRequest) returns (CreateBidElectionWithdrawalTransactionResponse); }