Get Barcodes
post
/config/sim/v1/menuItems/getBarcodes
Gets a list of all the Barcodes for the specified hierarchy
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-OrgShortName: string
The ShortName of the organization
Request body
Root Schema : BarCodesGetRequestBody
Type:
Show Source
object
-
include(optional):
string
Example:
locations
-
languages(optional):
string
If specified, limits translated strings returned.Example:
en-US, es-SS,lt-LT
-
limit(optional):
integer
Number of results returned in this page. Not required if paging parameters are not supported.Example:
10
-
offset(optional):
integer
Starting resource record index. Not required if paging parameters are not supportedExample:
2
-
orderBy(optional):
string
Sorts the response by the specified field name and sort order.Example:
comboMealGroups.objectNum
-
searchCriteria(optional):
string
Search criteria to filter results based on field valueExample:
where equals(active,1)
Response
Supported Media Types
- application/json
200 Response
A collection of Barcodes for the Hierarchy
Root Schema : BarCode
Type:
object
Model for Barcode object
Show Source
-
alteratePrepCost(optional):
number
Prep cost used when ordering with barcodeExample:
0.18
-
alternatePrice(optional):
number
Price used when ordering with barcodeExample:
5.16
-
barcode(optional):
integer
Barcode valueExample:
1
-
defSequenceNum(optional):
integer
Definition sequence number this barcode applies to. If null, all definitions applyExample:
5
-
hierUnitId:
integer
Hierarchy location where the barcode is being addedExample:
1012
-
masterObjNum(optional):
integer
Master object numberExample:
501
-
objectNum:
integer
Barcode record object numberExample:
101
-
priceSequenceNum(optional):
integer
Price sequence this barcode applies to. If null, applies to all price records for the selected master and definitions.Example:
3
400 Response
400 Bad Request
Root Schema : ErrorDetails
Type:
object
Response body when the request returns an error.
Show Source
-
detail(optional):
string
A short, human-readable summary of the problem.Example:
Specified Data is invalid
-
errorDetails(optional):
string
A human-readable explanation specific to this occurrence of the problem.Example:
Entity Does Not Exist
-
o:errorCode(optional):
integer
Error code of the problemExample:
55223
-
status(optional):
integer
HTTP status code.Example:
400
-
title(optional):
string
A short, human-readable summary of the problem type.Example:
VALIDATION ERROR
-
type(optional):
string
A URI reference that identifies the problem type. When this member is not present, its value is assumed to be "about:blank".Example:
http://www.abc.org/xyz.html
404 Response
404 Requested resource not found