SmartAcc DynaMod Web API v2024.4 Build 0000 - Local

<back to all web services

POSMenus

POS Management Module - Enquiry

POS Menu API

Requires Authentication
Required permission:POSMenuList-Enquiry.GET
The following routes are available for this service:
GET/POSMenus
GET/POSMenus/page/{Page}Get records by given a page numberEach page consists of 20 records
GET/POSMenus/AcPOSMenuID/{AcPOSMenuID}Get record for given POS Menu ID
GET/POSMenus/AcLocationID/{AcLocationID}Get all menus for given Location ID
POSMenus Parameters:
NameParameterData TypeRequiredDescription
Pagepathint?NoPage Number. Default 1.
RecordsPerPagequeryint?NoRecords Per Page. Default 20 Records.
AcPOSMenuIDpathstringNoPOS Menu ID
AcLocationIDpathstringNoLocation ID to retrieve POS Menu. Return all menus included unassigned location menus if not specified.
AcCompanyIDquerystringNoCompany ID to retrieve POS Menu. Return all menus if AcCompanyID is not specified.
IsReturnImagequeryboolNoIndicate whether to return image. Default: False
POSMenusResponse Parameters:
NameParameterData TypeRequiredDescription
POSMenusformList<POSMenu>No
ResponseStatusformResponseStatusNo
TotalRecordsformintNoTotal records in all pages.
TotalRecordsInPageformintNoTotal records in current page.
POSMenu Parameters:
NameParameterData TypeRequiredDescription
MenuformAcPOSMenuNo
MenuCategoryDetailformList<POSMenuCategoryDetail>No
AcPOSMenu Parameters:
NameParameterData TypeRequiredDescription
AcPOSMenuIDformNVARCHAR(20)NoPOS Menu ID
AcPOSMenuDescformNVARCHAR(100)NoPOS Menu Description
POSMenuCategoryDetail Parameters:
NameParameterData TypeRequiredDescription
MenuCategoryAsformAcPOSMenuCategoryAsNo
MenuCategoryItemAsformList<AcPOSMenuCategoryItemAs>No
AcPOSMenuCategoryAs Parameters:
NameParameterData TypeRequiredDescription
AcPOSMenuCategoryAsIDformNVARCHAR(40)NoPOS Menu Category Record ID
AcPOSMenuIDformNVARCHAR(20)NoPOS Menu ID
AcPOSMenuCategoryIDformNVARCHAR(20)NoPOS Menu Category ID
MenuPageNumberformINTEGERNoMenu Page Number. Support up-to 5 pages for menu categories. Each page can consists of up-to 9 categories.
PositionInPageformINTEGERNoCategory position in a Menu Page. Possible possible value from 1 to 9.
AcPOSMenuDescformNVARCHAR(100)NoPOS Menu Description
AcPOSMenuCategoryDescformNVARCHAR(100)NoPOS Menu Category Description
EditDateformDATETIMENoPOS Menu Edit Date
AcPOSMenuCategoryItemAs Parameters:
NameParameterData TypeRequiredDescription
AcPOSMenuCategoryItemAsIDformNVARCHAR(40)NoPOS Menu Category Item Record ID
AcPOSMenuCategoryAsIDformNVARCHAR(40)NoPOS Menu Category Record ID
AcPOSMenuIDformNVARCHAR(20)NoPOS Menu ID
AcPOSMenuDescformNVARCHAR(100)NoPOS Menu Description
AcPOSMenuCategoryIDformNVARCHAR(20)NoPOS Menu Category ID
AcPOSMenuCategoryDescformNVARCHAR(100)NoPOS Menu Category Description
ItemPageNumberformINTEGERNoItem Page Number. Support up-to 3 pages for a category. Each page can consists 3 columns, each column up-to 8 items.
ItemPositionInPageformINTEGERNoItem position in a Menu Category Page. Possible possible value from 1 to 24. 1st Column: 1 to 8; 2nd Column: 9 to 16; 3rd Column: 17 to 24.
StockBarcodeformNVARCHAR(20)NoStock Barcode.
AcStockIDformNVARCHAR(20)NoStock ID.
AcStockUOMIDformNVARCHAR(20)NoStock UOM ID.
StockDescription1formNVARCHAR(100)NoStock Desription 1.
StockDescription2formNVARCHAR(100)NoStock Desription 2.
StockPosPriceformNUMERIC(18,2)NoStock POS Price. (POS Price by AcLocationID. Else it default as StockPrice1).
ImageDisplayBase64formVARCHAR(MAX)NoStock Display Image in Base64 Encoding.
IsModifierItemFlowformNVARCHAR(1)NoIs Modifier Item Flow? Y/N. Indicate whether current selected item should follow steps in Modifier Item Flow. If Y, follow the steps for items selection in List to List. Maximum 10 steps of selection.
AcPOSModifierGroupID01formNVARCHAR(20)NoPOS Modifier Group ID - 01
AcPOSModifierGroupDesc01formNVARCHAR(100)NoPOS Modifier Group Description - 01
ModifierGroupQty01formINTNoQuantity of POS Modifier Group ID - 01. If 0 mean open for selection; If greater than 0 mean Any of [x] quantity from the modifier group items list.
AcPOSModifierGroupID02formNVARCHAR(20)NoPOS Modifier Group ID - 02
AcPOSModifierGroupDesc02formNVARCHAR(100)NoPOS Modifier Group Description - 02
ModifierGroupQty02formINTNoQuantity of POS Modifier Group ID - 02. If 0 mean open for selection; If greater than 0 mean Any of [x] quantity from the modifier group items list.
AcPOSModifierGroupID03formNVARCHAR(20)NoPOS Modifier Group ID - 03
AcPOSModifierGroupDesc03formNVARCHAR(100)NoPOS Modifier Group Description - 03
ModifierGroupQty03formINTNoQuantity of POS Modifier Group ID - 03. If 0 mean open for selection; If greater than 0 mean Any of [x] quantity from the modifier group items list.
AcPOSModifierGroupID04formNVARCHAR(20)NoPOS Modifier Group ID - 04
AcPOSModifierGroupDesc04formNVARCHAR(100)NoPOS Modifier Group Description - 04
ModifierGroupQty04formINTNoQuantity of POS Modifier Group ID - 04. If 0 mean open for selection; If greater than 0 mean Any of [x] quantity from the modifier group items list.
AcPOSModifierGroupID05formNVARCHAR(20)NoPOS Modifier Group ID - 05
AcPOSModifierGroupDesc05formNVARCHAR(100)NoPOS Modifier Group Description - 05
ModifierGroupQty05formINTNoQuantity of POS Modifier Group ID - 05. If 0 mean open for selection; If greater than 0 mean Any of [x] quantity from the modifier group items list.
AcPOSModifierGroupID06formNVARCHAR(20)NoPOS Modifier Group ID - 06
AcPOSModifierGroupDesc06formNVARCHAR(100)NoPOS Modifier Group Description - 06
ModifierGroupQty06formINTNoQuantity of POS Modifier Group ID - 06. If 0 mean open for selection; If greater than 0 mean Any of [x] quantity from the modifier group items list.
AcPOSModifierGroupID07formNVARCHAR(20)NoPOS Modifier Group ID - 07
AcPOSModifierGroupDesc07formNVARCHAR(100)NoPOS Modifier Group Description - 07
ModifierGroupQty07formINTNoQuantity of POS Modifier Group ID - 07. If 0 mean open for selection; If greater than 0 mean Any of [x] quantity from the modifier group items list.
AcPOSModifierGroupID08formNVARCHAR(20)NoPOS Modifier Group ID - 08
AcPOSModifierGroupDesc08formNVARCHAR(100)NoPOS Modifier Group Description - 08
ModifierGroupQty08formINTNoQuantity of POS Modifier Group ID - 08. If 0 mean open for selection; If greater than 0 mean Any of [x] quantity from the modifier group items list.
AcPOSModifierGroupID09formNVARCHAR(20)NoPOS Modifier Group ID - 09
AcPOSModifierGroupDesc09formNVARCHAR(100)NoPOS Modifier Group Description - 09
ModifierGroupQty09formINTNoQuantity of POS Modifier Group ID - 09. If 0 mean open for selection; If greater than 0 mean Any of [x] quantity from the modifier group items list.
AcPOSModifierGroupID10formNVARCHAR(20)NoPOS Modifier Group ID - 10
AcPOSModifierGroupDesc10formNVARCHAR(100)NoPOS Modifier Group Description - 10
ModifierGroupQty10formINTNoQuantity of POS Modifier Group ID - 10. If 0 mean open for selection; If greater than 0 mean Any of [x] quantity from the modifier group items list.
POSModifierGroup01ItemAsformList<AcPOSModifierGroupCompanyItem>NoPOS Modifier Group 01 - Items
POSModifierGroup02ItemAsformList<AcPOSModifierGroupCompanyItem>NoPOS Modifier Group 02 - Items
POSModifierGroup03ItemAsformList<AcPOSModifierGroupCompanyItem>NoPOS Modifier Group 03 - Items
POSModifierGroup04ItemAsformList<AcPOSModifierGroupCompanyItem>NoPOS Modifier Group 04 - Items
POSModifierGroup05ItemAsformList<AcPOSModifierGroupCompanyItem>NoPOS Modifier Group 05 - Items
POSModifierGroup06ItemAsformList<AcPOSModifierGroupCompanyItem>NoPOS Modifier Group 06 - Items
POSModifierGroup07ItemAsformList<AcPOSModifierGroupCompanyItem>NoPOS Modifier Group 07 - Items
POSModifierGroup08ItemAsformList<AcPOSModifierGroupCompanyItem>NoPOS Modifier Group 08 - Items
POSModifierGroup09ItemAsformList<AcPOSModifierGroupCompanyItem>NoPOS Modifier Group 09 - Items
POSModifierGroup10ItemAsformList<AcPOSModifierGroupCompanyItem>NoPOS Modifier Group 10 - Items
AcPOSModifierGroupCompanyItem Parameters:
NameParameterData TypeRequiredDescription
AcPOSModifierGroupCompanyItemIDformNVARCHAR(40)NoPOS Modifier Group Item Record ID
AcPOSModifierGroupIDformNVARCHAR(20)NoPOS Modifier Group ID
StockBarcodeformNVARCHAR(20)NoStock Barcode
ModifierItemIsStockformNVARCHAR(1)NoModifier Item is Stock? Y/N
ModifierItemDescformNVARCHAR(100)NoModifier Item Description
ModifierItemPriceformNUMERIC(18,2)NoModifier Item Price
AcPOSModifierGroupDescformNVARCHAR(100)NoPOS Modifier Group Description
AcStockIDformNVARCHAR(20)NoStock ID.
AcStockUOMIDformNVARCHAR(20)NoStock UOM ID.
StockDescription1formNVARCHAR(100)NoStock Desription 1.
StockDescription2formNVARCHAR(100)NoStock Desription 2.
ImageDisplayBase64formVARCHAR(MAX)NoStock Display Image in Base64 Encoding.
EditDateformDATETIMENoEdit Date Item

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /POSMenus HTTP/1.1 
Host: snr2u.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"POSMenus":[{"Menu":{"AcPOSMenuID":"String","AcPOSMenuDesc":"String"},"MenuCategoryDetail":[{"MenuCategoryAs":{"AcPOSMenuCategoryAsID":"String","AcPOSMenuID":"String","AcPOSMenuCategoryID":"String","MenuPageNumber":0,"PositionInPage":0,"AcPOSMenuDesc":"String","AcPOSMenuCategoryDesc":"String","EditDate":"\/Date(-62135596800000-0000)\/"},"MenuCategoryItemAs":[{"AcPOSMenuCategoryItemAsID":"String","AcPOSMenuCategoryAsID":"String","AcPOSMenuID":"String","AcPOSMenuDesc":"String","AcPOSMenuCategoryID":"String","AcPOSMenuCategoryDesc":"String","ItemPageNumber":0,"ItemPositionInPage":0,"StockBarcode":"String","AcStockID":"String","AcStockUOMID":"String","StockDescription1":"String","StockDescription2":"String","StockPosPrice":0,"ImageDisplayBase64":"String","IsModifierItemFlow":"String","AcPOSModifierGroupID01":"String","AcPOSModifierGroupDesc01":"String","ModifierGroupQty01":"String","AcPOSModifierGroupID02":"String","AcPOSModifierGroupDesc02":"String","ModifierGroupQty02":"String","AcPOSModifierGroupID03":"String","AcPOSModifierGroupDesc03":"String","ModifierGroupQty03":"String","AcPOSModifierGroupID04":"String","AcPOSModifierGroupDesc04":"String","ModifierGroupQty04":"String","AcPOSModifierGroupID05":"String","AcPOSModifierGroupDesc05":"String","ModifierGroupQty05":"String","AcPOSModifierGroupID06":"String","AcPOSModifierGroupDesc06":"String","ModifierGroupQty06":"String","AcPOSModifierGroupID07":"String","AcPOSModifierGroupDesc07":"String","ModifierGroupQty07":"String","AcPOSModifierGroupID08":"String","AcPOSModifierGroupDesc08":"String","ModifierGroupQty08":"String","AcPOSModifierGroupID09":"String","AcPOSModifierGroupDesc09":"String","ModifierGroupQty09":"String","AcPOSModifierGroupID10":"String","AcPOSModifierGroupDesc10":"String","ModifierGroupQty10":"String","POSModifierGroup01ItemAs":[{"AcPOSModifierGroupCompanyItemID":"String","AcPOSModifierGroupID":"String","StockBarcode":"String","ModifierItemIsStock":"String","ModifierItemDesc":"String","ModifierItemPrice":0,"AcPOSModifierGroupDesc":"String","AcStockID":"String","AcStockUOMID":"String","StockDescription1":"String","StockDescription2":"String","ImageDisplayBase64":"String","EditDate":"\/Date(-62135596800000-0000)\/"}],"POSModifierGroup02ItemAs":[{"AcPOSModifierGroupCompanyItemID":"String","AcPOSModifierGroupID":"String","StockBarcode":"String","ModifierItemIsStock":"String","ModifierItemDesc":"String","ModifierItemPrice":0,"AcPOSModifierGroupDesc":"String","AcStockID":"String","AcStockUOMID":"String","StockDescription1":"String","StockDescription2":"String","ImageDisplayBase64":"String","EditDate":"\/Date(-62135596800000-0000)\/"}],"POSModifierGroup03ItemAs":[{"AcPOSModifierGroupCompanyItemID":"String","AcPOSModifierGroupID":"String","StockBarcode":"String","ModifierItemIsStock":"String","ModifierItemDesc":"String","ModifierItemPrice":0,"AcPOSModifierGroupDesc":"String","AcStockID":"String","AcStockUOMID":"String","StockDescription1":"String","StockDescription2":"String","ImageDisplayBase64":"String","EditDate":"\/Date(-62135596800000-0000)\/"}],"POSModifierGroup04ItemAs":[{"AcPOSModifierGroupCompanyItemID":"String","AcPOSModifierGroupID":"String","StockBarcode":"String","ModifierItemIsStock":"String","ModifierItemDesc":"String","ModifierItemPrice":0,"AcPOSModifierGroupDesc":"String","AcStockID":"String","AcStockUOMID":"String","StockDescription1":"String","StockDescription2":"String","ImageDisplayBase64":"String","EditDate":"\/Date(-62135596800000-0000)\/"}],"POSModifierGroup05ItemAs":[{"AcPOSModifierGroupCompanyItemID":"String","AcPOSModifierGroupID":"String","StockBarcode":"String","ModifierItemIsStock":"String","ModifierItemDesc":"String","ModifierItemPrice":0,"AcPOSModifierGroupDesc":"String","AcStockID":"String","AcStockUOMID":"String","StockDescription1":"String","StockDescription2":"String","ImageDisplayBase64":"String","EditDate":"\/Date(-62135596800000-0000)\/"}],"POSModifierGroup06ItemAs":[{"AcPOSModifierGroupCompanyItemID":"String","AcPOSModifierGroupID":"String","StockBarcode":"String","ModifierItemIsStock":"String","ModifierItemDesc":"String","ModifierItemPrice":0,"AcPOSModifierGroupDesc":"String","AcStockID":"String","AcStockUOMID":"String","StockDescription1":"String","StockDescription2":"String","ImageDisplayBase64":"String","EditDate":"\/Date(-62135596800000-0000)\/"}],"POSModifierGroup07ItemAs":[{"AcPOSModifierGroupCompanyItemID":"String","AcPOSModifierGroupID":"String","StockBarcode":"String","ModifierItemIsStock":"String","ModifierItemDesc":"String","ModifierItemPrice":0,"AcPOSModifierGroupDesc":"String","AcStockID":"String","AcStockUOMID":"String","StockDescription1":"String","StockDescription2":"String","ImageDisplayBase64":"String","EditDate":"\/Date(-62135596800000-0000)\/"}],"POSModifierGroup08ItemAs":[{"AcPOSModifierGroupCompanyItemID":"String","AcPOSModifierGroupID":"String","StockBarcode":"String","ModifierItemIsStock":"String","ModifierItemDesc":"String","ModifierItemPrice":0,"AcPOSModifierGroupDesc":"String","AcStockID":"String","AcStockUOMID":"String","StockDescription1":"String","StockDescription2":"String","ImageDisplayBase64":"String","EditDate":"\/Date(-62135596800000-0000)\/"}],"POSModifierGroup09ItemAs":[{"AcPOSModifierGroupCompanyItemID":"String","AcPOSModifierGroupID":"String","StockBarcode":"String","ModifierItemIsStock":"String","ModifierItemDesc":"String","ModifierItemPrice":0,"AcPOSModifierGroupDesc":"String","AcStockID":"String","AcStockUOMID":"String","StockDescription1":"String","StockDescription2":"String","ImageDisplayBase64":"String","EditDate":"\/Date(-62135596800000-0000)\/"}],"POSModifierGroup10ItemAs":[{"AcPOSModifierGroupCompanyItemID":"String","AcPOSModifierGroupID":"String","StockBarcode":"String","ModifierItemIsStock":"String","ModifierItemDesc":"String","ModifierItemPrice":0,"AcPOSModifierGroupDesc":"String","AcStockID":"String","AcStockUOMID":"String","StockDescription1":"String","StockDescription2":"String","ImageDisplayBase64":"String","EditDate":"\/Date(-62135596800000-0000)\/"}]}]}]}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"TotalRecords":0,"TotalRecordsInPage":0}