C# Class SageOneApi.Requests.ItemRequest

Inheritance: RequestBase, IItemRequest
Datei anzeigen Open project: Pietervdw/sageone-api-wrapper

Public Methods

Method 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 method

public Delete ( int id ) : bool
id int
return bool

Get() public method

public Get ( int id ) : Item
id int
return Item

Get() public method

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

GetAsync() public method

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

ItemRequest() public method

public ItemRequest ( IRestClient client, string apiKey, int companyId ) : System
client IRestClient
apiKey string
companyId int
return System

Save() public method

public Save ( Item item ) : Item
item Item
return Item

SaveAsync() public method

public SaveAsync ( Item item ) : Task
item Item
return Task