C# 클래스 Foretagsplatsen.Api.Resources.KeyFigurePresetResource

Key figure data REST resource:
파일 보기 프로젝트 열기: foretagsplatsen/Foretagsplatsen-DotNet-API

공개 메소드들

메소드 설명
Create ( KeyFigurePreset keyFigurePreset ) : void

Creates a new KeyFigurePreset. If the KeyFigurePreset does not contain an id or a list of KeyFigureTypes, an InvalidArguments exception will be thrown If the id of the KeyFigurePreset already exists for the company, an Exists exception will be thrown.

Delete ( string id ) : void

Deletes a KeyFigurePreset. If the id of the KeyFigurePreset doesn't exist for the company, a NotFound exception will be thrown

Get ( string id ) : KeyFigurePreset

Gets a single KeyFigurePreset for a company. If the id of the KeyFigurePreset doesn't exist for the company, a NotFound exception will be thrown

GetUrl ( ) : string

Url for the keyfigure preset data list resource

GetUrlWithPresetId ( string presetId ) : string

Url for the keyfigure preset data list resource

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

Instantiates a new KeyFigurePresetResource object.

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

Instantiates a new KeyFigurePresetResource object.

List ( ) : List

Lists all KeyFigurePreset for a company.

Update ( KeyFigurePreset keyFigurePreset ) : void

Creates or updates a KeyFigurePreset If the KeyFigurePreset does not contain an id or a list of KeyFigureTypes, an InvalidArguments exception will be thrown

메소드 상세

Create() 공개 메소드

Creates a new KeyFigurePreset. If the KeyFigurePreset does not contain an id or a list of KeyFigureTypes, an InvalidArguments exception will be thrown If the id of the KeyFigurePreset already exists for the company, an Exists exception will be thrown.
public Create ( KeyFigurePreset keyFigurePreset ) : void
keyFigurePreset Foretagsplatsen.Api.Entities.KeyFigurePreset The KeyFigurePreset to create
리턴 void

Delete() 공개 메소드

Deletes a KeyFigurePreset. If the id of the KeyFigurePreset doesn't exist for the company, a NotFound exception will be thrown
public Delete ( string id ) : void
id string The id of the KeyFigurePreset to delete
리턴 void

Get() 공개 메소드

Gets a single KeyFigurePreset for a company. If the id of the KeyFigurePreset doesn't exist for the company, a NotFound exception will be thrown
public Get ( string id ) : KeyFigurePreset
id string The id of the KeyFigurePreset to get
리턴 Foretagsplatsen.Api.Entities.KeyFigurePreset

GetUrl() 공개 메소드

Url for the keyfigure preset data list resource
public GetUrl ( ) : string
리턴 string

GetUrlWithPresetId() 공개 메소드

Url for the keyfigure preset data list resource
public GetUrlWithPresetId ( string presetId ) : string
presetId string
리턴 string

KeyFigurePresetResource() 공개 메소드

Instantiates a new KeyFigurePresetResource object.
public KeyFigurePresetResource ( ApiClient client, CompanyInfo company ) : System.Collections.Generic
client ApiClient REST client
company Foretagsplatsen.Api.Entities.CompanyInfo Company
리턴 System.Collections.Generic

KeyFigurePresetResource() 공개 메소드

Instantiates a new KeyFigurePresetResource object.
public KeyFigurePresetResource ( ApiClient client, string businessIdentityCode ) : System.Collections.Generic
client ApiClient REST client
businessIdentityCode string Business identity code for company.
리턴 System.Collections.Generic

List() 공개 메소드

Lists all KeyFigurePreset for a company.
public List ( ) : List
리턴 List

Update() 공개 메소드

Creates or updates a KeyFigurePreset If the KeyFigurePreset does not contain an id or a list of KeyFigureTypes, an InvalidArguments exception will be thrown
public Update ( KeyFigurePreset keyFigurePreset ) : void
keyFigurePreset Foretagsplatsen.Api.Entities.KeyFigurePreset The KeyFigurePreset to create or update
리턴 void