C# Class Foretagsplatsen.Api.Resources.KeyFigureResource

Rest resource for key figures https://web.foretagsplatsen.se/Api/Company/x/KeyFigures/y where x = business identity code and y is the key figure wanted
Afficher le fichier Open project: foretagsplatsen/Foretagsplatsen-DotNet-API

Private Properties

Свойство Type Description
CreateKeyFigure IKeyFigure

Méthodes publiques

Méthode Description
GetAllKeyFigures ( ) : List

Return a list with all key figures

GetAllKeyFigures ( System.DateTime startDate, System.DateTime endDate ) : List

Return a list with all key figures

GetGrossProfit ( ) : GrossProfit

Return data for Cross margin key figure

GetGrossProfit ( System.DateTime startDate, System.DateTime endDate ) : GrossProfit

Return data for Cross margin key figure with limits for start and end date

GetGrossProfitMargin ( ) : GrossProfitMargin

Return key figures for gross profit margin

GetGrossProfitMargin ( System.DateTime startDate, System.DateTime endDate ) : GrossProfitMargin

Return data for gross profit margin key figure with limits for start and end date

GetNetProfitMargin ( System.DateTime startDate, System.DateTime endDate ) : NetProfitMargin

Return data for net profit margin key figure with limits for start and end date

GetPreliminaryResult ( System.DateTime startDate, System.DateTime endDate ) : PreliminaryResult

Return data for accumulated result key figure with limits for start and end date

GetProfit ( ) : Profit

Return key figures for profit

GetProfit ( System.DateTime startDate, System.DateTime endDate ) : Profit

Return data for profit key figure with limits for start and end date

GetTurnover ( ) : Turnover

Return key figures for turnover

GetTurnover ( System.DateTime startDate, System.DateTime endDate ) : Turnover

Return data for turnover key figure with limits for start and end date

KeyFigureResource ( ApiClient client, string businessIdentityCode ) : System

Private Methods

Méthode Description
CreateKeyFigure ( JToken keyFigureData ) : IKeyFigure

Create and return a key figure from a JToken json data

Method Details

GetAllKeyFigures() public méthode

Return a list with all key figures
public GetAllKeyFigures ( ) : List
Résultat List

GetAllKeyFigures() public méthode

Return a list with all key figures
public GetAllKeyFigures ( System.DateTime startDate, System.DateTime endDate ) : List
startDate System.DateTime Date to start fetch data from
endDate System.DateTime Date to stop fetch data from
Résultat List

GetGrossProfit() public méthode

Return data for Cross margin key figure
public GetGrossProfit ( ) : GrossProfit
Résultat GrossProfit

GetGrossProfit() public méthode

Return data for Cross margin key figure with limits for start and end date
public GetGrossProfit ( System.DateTime startDate, System.DateTime endDate ) : GrossProfit
startDate System.DateTime Date to start fetch data from
endDate System.DateTime Date to stop fetch data from
Résultat GrossProfit

GetGrossProfitMargin() public méthode

Return key figures for gross profit margin
public GetGrossProfitMargin ( ) : GrossProfitMargin
Résultat GrossProfitMargin

GetGrossProfitMargin() public méthode

Return data for gross profit margin key figure with limits for start and end date
public GetGrossProfitMargin ( System.DateTime startDate, System.DateTime endDate ) : GrossProfitMargin
startDate System.DateTime Date to start fetch data from
endDate System.DateTime Date to stop fetch data from
Résultat GrossProfitMargin

GetNetProfitMargin() public méthode

Return data for net profit margin key figure with limits for start and end date
public GetNetProfitMargin ( System.DateTime startDate, System.DateTime endDate ) : NetProfitMargin
startDate System.DateTime Date to start fetch data from
endDate System.DateTime Date to stop fetch data from
Résultat NetProfitMargin

GetPreliminaryResult() public méthode

Return data for accumulated result key figure with limits for start and end date
public GetPreliminaryResult ( System.DateTime startDate, System.DateTime endDate ) : PreliminaryResult
startDate System.DateTime Date to start fetch data from
endDate System.DateTime Date to stop fetch data from
Résultat PreliminaryResult

GetProfit() public méthode

Return key figures for profit
public GetProfit ( ) : Profit
Résultat Profit

GetProfit() public méthode

Return data for profit key figure with limits for start and end date
public GetProfit ( System.DateTime startDate, System.DateTime endDate ) : Profit
startDate System.DateTime Date to start fetch data from
endDate System.DateTime Date to stop fetch data from
Résultat Profit

GetTurnover() public méthode

Return key figures for turnover
public GetTurnover ( ) : Turnover
Résultat Turnover

GetTurnover() public méthode

Return data for turnover key figure with limits for start and end date
public GetTurnover ( System.DateTime startDate, System.DateTime endDate ) : Turnover
startDate System.DateTime Date to start fetch data from
endDate System.DateTime Date to stop fetch data from
Résultat Turnover

KeyFigureResource() public méthode

public KeyFigureResource ( ApiClient client, string businessIdentityCode ) : System
client ApiClient
businessIdentityCode string
Résultat System