SmartAcc DynaMod Web API v2024.4 Build 0000 - Local

<back to all web services

POSModifierGroups

POS Management Module - Enquiry

POS Modifier Group API

Requires Authentication
Required permission:POSModifierGroupList-Enquiry.GET
The following routes are available for this service:
GET/POSModifierGroups
GET/POSModifierGroups/page/{Page}Get records by given a page numberEach page consists of 20 records
GET/POSModifierGroups/AcPOSModifierGroupID/{AcPOSModifierGroupID}Get record for given POS Modifier Group ID
POSModifierGroups Parameters:
NameParameterData TypeRequiredDescription
Pagepathint?NoPage Number. Default 1.
RecordsPerPagequeryint?NoRecords Per Page. Default 20 Records.
AcPOSModifierGroupIDpathstringNoPOS Modifier Group ID
POSModifierGroupsResponse Parameters:
NameParameterData TypeRequiredDescription
POSModifierGroupsformList<POSModifierGroup>No
ResponseStatusformResponseStatusNo
TotalRecordsformintNoTotal records in all pages.
TotalRecordsInPageformintNoTotal records in current page.
POSModifierGroup Parameters:
NameParameterData TypeRequiredDescription
ModifierGroupformAcPOSModifierGroupCompanyNo
ModifierGroupItemformList<AcPOSModifierGroupCompanyItem>No
AcPOSModifierGroupCompany Parameters:
NameParameterData TypeRequiredDescription
AcPOSModifierGroupCompanyIDformNVARCHAR(40)NoPOS Modifier Group Record ID
AcPOSModifierGroupIDformNVARCHAR(20)NoPOS Modifier Group ID
AcPOSModifierGroupDescformNVARCHAR(100)NoPOS Modifier Group Description
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 .jsv suffix or ?format=jsv

HTTP + JSV

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

GET /POSModifierGroups HTTP/1.1 
Host: snr2u.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	POSModifierGroups: 
	[
		{
			ModifierGroup: 
			{
				AcPOSModifierGroupCompanyID: String,
				AcPOSModifierGroupID: String,
				AcPOSModifierGroupDesc: String
			},
			ModifierGroupItem: 
			[
				{
					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: 0001-01-01
				}
			]
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	TotalRecords: 0,
	TotalRecordsInPage: 0
}