C# Class SageOneApi.Requests.AssetRequest

Inheritance: RequestBase, IAssetRequest
Afficher le fichier Open project: Pietervdw/sageone-api-wrapper

Méthodes publiques

Méthode Description
AssetRequest ( IRestClient client, string apiKey, int companyId ) : System
Delete ( int id ) : bool
Get ( int id ) : Asset
Get ( string filter = "", int skip ) : PagingResponse
Save ( Asset asset ) : Asset

Method Details

AssetRequest() public méthode

public AssetRequest ( IRestClient client, string apiKey, int companyId ) : System
client IRestClient
apiKey string
companyId int
Résultat System

Delete() public méthode

public Delete ( int id ) : bool
id int
Résultat bool

Get() public méthode

public Get ( int id ) : Asset
id int
Résultat SageOneApi.Models.Asset

Get() public méthode

public Get ( string filter = "", int skip ) : PagingResponse
filter string
skip int
Résultat PagingResponse

Save() public méthode

public Save ( Asset asset ) : Asset
asset SageOneApi.Models.Asset
Résultat SageOneApi.Models.Asset