![]() |
Provides a direct HTTP access to perform various tasks such as adding, editing, and removing Stock Masters. More...
Public Member Functions | |
EntityView | GetEntityView () |
Creates meta information of "stock master" entity. More... | |
long | Count () |
Counts the number of stock masters. More... | |
IEnumerable< MixERP.Net.Entities.Transactions.StockMaster > | Get () |
Returns collection of stock master for export. More... | |
MixERP.Net.Entities.Transactions.StockMaster | Get (long stockMasterId) |
Returns an instance of stock master. More... | |
IEnumerable< MixERP.Net.Entities.Transactions.StockMaster > | Get ([FromUri] long[] stockMasterIds) |
IEnumerable< MixERP.Net.Entities.Transactions.StockMaster > | GetPagedResult () |
Creates a paginated collection containing 25 stock masters on each page, sorted by the property StockMasterId. More... | |
IEnumerable< MixERP.Net.Entities.Transactions.StockMaster > | GetPagedResult (long pageNumber) |
Creates a paginated collection containing 25 stock masters on each page, sorted by the property StockMasterId. More... | |
long | CountWhere ([FromBody]dynamic filters) |
Counts the number of stock masters using the supplied filter(s). More... | |
IEnumerable< MixERP.Net.Entities.Transactions.StockMaster > | GetWhere (long pageNumber, [FromBody]dynamic filters) |
Creates a filtered and paginated collection containing 25 stock masters on each page, sorted by the property StockMasterId. More... | |
long | CountFiltered (string filterName) |
Counts the number of stock masters using the supplied filter name. More... | |
IEnumerable< MixERP.Net.Entities.Transactions.StockMaster > | GetFiltered (long pageNumber, string filterName) |
Creates a filtered and paginated collection containing 25 stock masters on each page, sorted by the property StockMasterId. More... | |
IEnumerable< DisplayField > | GetDisplayFields () |
Displayfield is a lightweight key/value collection of stock masters. More... | |
IEnumerable< PetaPoco.CustomField > | GetCustomFields () |
A custom field is a user defined field for stock masters. More... | |
IEnumerable< PetaPoco.CustomField > | GetCustomFields (string resourceId) |
A custom field is a user defined field for stock masters. More... | |
void | AddOrEdit ([FromBody]Newtonsoft.Json.Linq.JArray form) |
Adds or edits your instance of StockMaster class. More... | |
void | Add (MixERP.Net.Entities.Transactions.StockMaster stockMaster) |
Adds your instance of StockMaster class. More... | |
void | Edit (long stockMasterId, [FromBody] MixERP.Net.Entities.Transactions.StockMaster stockMaster) |
Edits existing record with your instance of StockMaster class. More... | |
List< object > | BulkImport ([FromBody]dynamic collection) |
Adds or edits multiple instances of StockMaster class. More... | |
void | Delete (long stockMasterId) |
Deletes an existing instance of StockMaster class via StockMasterId. More... | |
Properties | |
long | LoginId [get] |
int | UserId [get] |
int | OfficeId [get] |
string | Catalog [get] |
Provides a direct HTTP access to perform various tasks such as adding, editing, and removing Stock Masters.
void MixERP.Net.Api.Transactions.StockMasterController.Add | ( | MixERP.Net.Entities.Transactions.StockMaster | stockMaster | ) |
Adds your instance of StockMaster class.
stockMaster | Your instance of stock masters class to add. |
void MixERP.Net.Api.Transactions.StockMasterController.AddOrEdit | ( | [FromBody] Newtonsoft.Json.Linq.JArray | form | ) |
Adds or edits your instance of StockMaster class.
stockMaster | Your instance of stock masters class to add or edit. |
List<object> MixERP.Net.Api.Transactions.StockMasterController.BulkImport | ( | [FromBody] dynamic | collection | ) |
Adds or edits multiple instances of StockMaster class.
collection | Your collection of StockMaster class to bulk import. |
MixERPException | Thrown when your any StockMaster class in the collection is invalid or malformed. |
long MixERP.Net.Api.Transactions.StockMasterController.Count | ( | ) |
Counts the number of stock masters.
long MixERP.Net.Api.Transactions.StockMasterController.CountFiltered | ( | string | filterName | ) |
Counts the number of stock masters using the supplied filter name.
filterName | The named filter. |
long MixERP.Net.Api.Transactions.StockMasterController.CountWhere | ( | [FromBody] dynamic | filters | ) |
Counts the number of stock masters using the supplied filter(s).
filters | The list of filter conditions. |
void MixERP.Net.Api.Transactions.StockMasterController.Delete | ( | long | stockMasterId | ) |
Deletes an existing instance of StockMaster class via StockMasterId.
stockMasterId | Enter the value for StockMasterId in order to find and delete the existing record. |
void MixERP.Net.Api.Transactions.StockMasterController.Edit | ( | long | stockMasterId, |
[FromBody] MixERP.Net.Entities.Transactions.StockMaster | stockMaster | ||
) |
Edits existing record with your instance of StockMaster class.
stockMaster | Your instance of StockMaster class to edit. |
stockMasterId | Enter the value for StockMasterId in order to find and edit the existing record. |
IEnumerable<MixERP.Net.Entities.Transactions.StockMaster> MixERP.Net.Api.Transactions.StockMasterController.Get | ( | ) |
Returns collection of stock master for export.
MixERP.Net.Entities.Transactions.StockMaster MixERP.Net.Api.Transactions.StockMasterController.Get | ( | long | stockMasterId | ) |
Returns an instance of stock master.
stockMasterId | Enter StockMasterId to search for. |
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Transactions.StockMasterController.GetCustomFields | ( | ) |
A custom field is a user defined field for stock masters.
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Transactions.StockMasterController.GetCustomFields | ( | string | resourceId | ) |
A custom field is a user defined field for stock masters.
IEnumerable<DisplayField> MixERP.Net.Api.Transactions.StockMasterController.GetDisplayFields | ( | ) |
Displayfield is a lightweight key/value collection of stock masters.
EntityView MixERP.Net.Api.Transactions.StockMasterController.GetEntityView | ( | ) |
Creates meta information of "stock master" entity.
IEnumerable<MixERP.Net.Entities.Transactions.StockMaster> MixERP.Net.Api.Transactions.StockMasterController.GetFiltered | ( | long | pageNumber, |
string | filterName | ||
) |
Creates a filtered and paginated collection containing 25 stock masters on each page, sorted by the property StockMasterId.
pageNumber | Enter the page number to produce the resultset. |
filterName | The named filter. |
IEnumerable<MixERP.Net.Entities.Transactions.StockMaster> MixERP.Net.Api.Transactions.StockMasterController.GetPagedResult | ( | ) |
Creates a paginated collection containing 25 stock masters on each page, sorted by the property StockMasterId.
IEnumerable<MixERP.Net.Entities.Transactions.StockMaster> MixERP.Net.Api.Transactions.StockMasterController.GetPagedResult | ( | long | pageNumber | ) |
Creates a paginated collection containing 25 stock masters on each page, sorted by the property StockMasterId.
pageNumber | Enter the page number to produce the resultset. |
IEnumerable<MixERP.Net.Entities.Transactions.StockMaster> MixERP.Net.Api.Transactions.StockMasterController.GetWhere | ( | long | pageNumber, |
[FromBody] dynamic | filters | ||
) |
Creates a filtered and paginated collection containing 25 stock masters on each page, sorted by the property StockMasterId.
pageNumber | Enter the page number to produce the resultset. |
filters | The list of filter conditions. |