Add Barcodes
post
/config/sim/v1/menuItems/barcodes
Add a Barcode
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef: string
Detail that identifies, who made the change.
-
Simphony-OrgShortName: string
The ShortName of the organization
Request body
Root Schema : BarCode
Type:
objectModel 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
Response
Supported Media Types
- application/json
200 Response
A response body for the added Barcode
Root Schema : BarCodeResponse
Type:
objectModel for Barcode Response object
Show Source
-
hierUnitId:
integer
Hierarchy location where the barcode is being addedExample:
1012 -
objectNum:
integer
Barcode record object numberExample:
101
400 Response
400 Bad Request
Root Schema : ErrorDetails
Type:
objectResponse 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