C# Class SageOneApi.Requests.ItemRequest

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

Méthodes publiques

Méthode Description
Delete ( int id ) : bool
Get ( int id ) : Item
Get ( string filter = "", int skip, bool includeAdditionalItemPrices = false ) : PagingResponse
GetAsync ( string filter = "", int skip, bool includeAdditionalItemPrices = false ) : Task>
ItemRequest ( IRestClient client, string apiKey, int companyId ) : System
Save ( Item item ) : Item
SaveAsync ( Item item ) : Task

Method Details

Delete() public méthode

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

Get() public méthode

public Get ( int id ) : Item
id int
Résultat Item

Get() public méthode

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

GetAsync() public méthode

public GetAsync ( string filter = "", int skip, bool includeAdditionalItemPrices = false ) : Task>
filter string
skip int
includeAdditionalItemPrices bool
Résultat Task>

ItemRequest() public méthode

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

Save() public méthode

public Save ( Item item ) : Item
item Item
Résultat Item

SaveAsync() public méthode

public SaveAsync ( Item item ) : Task
item Item
Résultat Task