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