Skip to content

Latest commit

 

History

History
105 lines (68 loc) · 3.29 KB

InsiderTransactionFilingsApi.md

File metadata and controls

105 lines (68 loc) · 3.29 KB

Intrinio.SDK.Api.InsiderTransactionFilingsApi

All URIs are relative to https://api-v2.intrinio.com

Method HTTP request Description
GetAllInsiderTransactionFilings GET /insider_transaction_filings All Insider Transactions Filings

GetAllInsiderTransactionFilings

View Intrinio API Documentation

ApiResponseOwnerInsiderTransactionFilings GetAllInsiderTransactionFilings (DateTime? startDate = null, DateTime? endDate = null, int? pageSize = null, string sortBy = null, string nextPage = null)

All Insider Transactions Filings

Returns all insider transactions filings fitting the optional supplied start and end date.

Example

using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using Intrinio.SDK.Api;
using Intrinio.SDK.Client;
using Intrinio.SDK.Model;
using Newtonsoft.Json;

namespace Example
{
  public class GetAllInsiderTransactionFilingsExample
  {
    public static void Main()
    {
      Configuration.Default.AddApiKey("api_key", "YOUR_API_KEY");
      Configuration.Default.AllowRetries = true;
      
      var insiderTransactionFilingsApi = new InsiderTransactionFilingsApi();
      
      DateTime? startDate = DateTime.Parse("2015-01-01");
      DateTime? endDate = null;
      int? pageSize = 100;
      string sortBy = "updated_on";
      string nextPage = null;
      
      ApiResponseOwnerInsiderTransactionFilings result = insiderTransactionFilingsApi.GetAllInsiderTransactionFilings(startDate, endDate, pageSize, sortBy, nextPage);
      Console.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented));
    }
  }
}

Parameters

Name Type Description Notes
startDate DateTime? Filed on or after the given date [optional]  
endDate DateTime? Filed before or after the given date [optional]  
pageSize int? The number of results to return [optional] [default to 100]  
sortBy string The field to sort by. Default is 'filing_date'. Valid values are - 'filing_date', 'updated_on'. [optional]  
nextPage string Gets the next page of data from a previous API call [optional]  

Return type

ApiResponseOwnerInsiderTransactionFilings