C# Class IdokladSdk.Clients.PriceListClient

Methods for price list.
Inheritance: BaseClient
Show file Open project: mholec/idoklad-sdk-csharp

Public Methods

Method Description
Create ( PriceList model ) : PriceList

POST api/PriceListItems Insert new price item into the price list.

Default ( ) : PriceList

GET api/PriceListItems/Default Method returns default price list item that is suitable for new item creation.

Delete ( int priceListItemId ) : bool

DELETE api/PriceListItems/{id} Method deletes price list item.

PriceListClient ( ApiContext apiContext ) : IdokladSdk.ApiFilters
PriceListItem ( int priceListItemId ) : PriceList

GET api/PriceListItems/{id} Returns price list item by Id.

PriceListItemExpand ( int priceListItemId ) : PriceListExpand

GET api/PriceListItems/{id}/Expand Method returns price list item by its Id with extended entities.

PriceListItems ( PriceListFilter filter ) : RowsResultWrapper

GET api/PriceListItems Returns price list with pages.

Update ( int priceListItemId, PriceList model ) : PriceList

PUT api/PriceListItems/{id} Method updates price list item.

Method Details

Create() public method

POST api/PriceListItems Insert new price item into the price list.
public Create ( PriceList model ) : PriceList
model IdokladSdk.ApiModels.PriceList
return IdokladSdk.ApiModels.PriceList

Default() public method

GET api/PriceListItems/Default Method returns default price list item that is suitable for new item creation.
public Default ( ) : PriceList
return IdokladSdk.ApiModels.PriceList

Delete() public method

DELETE api/PriceListItems/{id} Method deletes price list item.
public Delete ( int priceListItemId ) : bool
priceListItemId int
return bool

PriceListClient() public method

public PriceListClient ( ApiContext apiContext ) : IdokladSdk.ApiFilters
apiContext ApiContext
return IdokladSdk.ApiFilters

PriceListItem() public method

GET api/PriceListItems/{id} Returns price list item by Id.
public PriceListItem ( int priceListItemId ) : PriceList
priceListItemId int
return IdokladSdk.ApiModels.PriceList

PriceListItemExpand() public method

GET api/PriceListItems/{id}/Expand Method returns price list item by its Id with extended entities.
public PriceListItemExpand ( int priceListItemId ) : PriceListExpand
priceListItemId int
return IdokladSdk.ApiModels.PriceListExpand

PriceListItems() public method

GET api/PriceListItems Returns price list with pages.
public PriceListItems ( PriceListFilter filter ) : RowsResultWrapper
filter IdokladSdk.ApiFilters.PriceListFilter
return RowsResultWrapper

Update() public method

PUT api/PriceListItems/{id} Method updates price list item.
public Update ( int priceListItemId, PriceList model ) : PriceList
priceListItemId int
model IdokladSdk.ApiModels.PriceList
return IdokladSdk.ApiModels.PriceList