C# Class Foretagsplatsen.Api.Resources.KeyFigureDataResource

Key figure data REST resource: https://web.foretagsplatsen.se/Api/KeyFigureData/{businessIdentityCode}/{fiscalYearId}/
Afficher le fichier Open project: foretagsplatsen/Foretagsplatsen-DotNet-API

Méthodes publiques

Méthode Description
Delete ( string fiscalYearId ) : void

Deletes all key figure data for a company and a fiscal year.

GetUrl ( string fiscalYearId ) : string

Url for the key figure data resource.

KeyFigureDataResource ( ApiClient client, CompanyInfo company ) : System.Collections.Generic

Instantiates a new KeyFigureDataResource object.

KeyFigureDataResource ( ApiClient client, string businessIdentityCode ) : System.Collections.Generic

Instantiates a new KeyFigureDataResource object.

List ( string fiscalYearId ) : List

Lists all key figure data for a company and a fiscal year.

Update ( string fiscalYearId, List keyFigureDatas ) : void

Updates the key figure data for a company and a fiscal year. If no data exists it will be created.

Update ( string fiscalYearId, string keyFigureDataJson ) : void

Updates the key figure data for a company and a fiscal year. If no data exists it will be created.

Method Details

Delete() public méthode

Deletes all key figure data for a company and a fiscal year.
public Delete ( string fiscalYearId ) : void
fiscalYearId string Identifier for fiscal year to delete key figure data for.
Résultat void

GetUrl() public méthode

Url for the key figure data resource.
public GetUrl ( string fiscalYearId ) : string
fiscalYearId string Identifier for fiscal year.
Résultat string

KeyFigureDataResource() public méthode

Instantiates a new KeyFigureDataResource object.
public KeyFigureDataResource ( ApiClient client, CompanyInfo company ) : System.Collections.Generic
client ApiClient REST client
company Foretagsplatsen.Api.Entities.CompanyInfo Company
Résultat System.Collections.Generic

KeyFigureDataResource() public méthode

Instantiates a new KeyFigureDataResource object.
public KeyFigureDataResource ( ApiClient client, string businessIdentityCode ) : System.Collections.Generic
client ApiClient REST client
businessIdentityCode string Business identity code for company.
Résultat System.Collections.Generic

List() public méthode

Lists all key figure data for a company and a fiscal year.
public List ( string fiscalYearId ) : List
fiscalYearId string Identifier for fiscal year.
Résultat List

Update() public méthode

Updates the key figure data for a company and a fiscal year. If no data exists it will be created.
public Update ( string fiscalYearId, List keyFigureDatas ) : void
fiscalYearId string Identifier for fiscal year.
keyFigureDatas List The list of key figure data to upload.
Résultat void

Update() public méthode

Updates the key figure data for a company and a fiscal year. If no data exists it will be created.
public Update ( string fiscalYearId, string keyFigureDataJson ) : void
fiscalYearId string Identifier for fiscal year.
keyFigureDataJson string The JSON list of key figure data to upload.
Résultat void