C# Класс Foretagsplatsen.Api.Resources.KeyFigureDataResource

Key figure data REST resource: https://web.foretagsplatsen.se/Api/KeyFigureData/{businessIdentityCode}/{fiscalYearId}/
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Delete() публичный Метод

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.
Результат void

GetUrl() публичный Метод

Url for the key figure data resource.
public GetUrl ( string fiscalYearId ) : string
fiscalYearId string Identifier for fiscal year.
Результат string

KeyFigureDataResource() публичный Метод

Instantiates a new KeyFigureDataResource object.
public KeyFigureDataResource ( ApiClient client, CompanyInfo company ) : System.Collections.Generic
client ApiClient REST client
company Foretagsplatsen.Api.Entities.CompanyInfo Company
Результат System.Collections.Generic

KeyFigureDataResource() публичный Метод

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.
Результат System.Collections.Generic

List() публичный Метод

Lists all key figure data for a company and a fiscal year.
public List ( string fiscalYearId ) : List
fiscalYearId string Identifier for fiscal year.
Результат List

Update() публичный Метод

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.
Результат void

Update() публичный Метод

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.
Результат void