Add Printers
post
/config/sim/v1/devices/printers
Adds a printer record for the current organization.
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef(optional): string(string)
Detail that Identifies that who made the change
-
Simphony-OrgShortName: string(string)
Org Identifier
Printer Object
Root Schema : Printers
Type:
object
Model for the Printers object
Show Source
-
hierUnitId:
integer
Unique hierarchy unit valueExample:
1
-
hierUnitName(optional):
object HierUnitNameTranslatedString
A string that contains translations of hierarchy unit name into multiple languages
-
hierUnitObjNum(optional):
integer
Hierarchy unit object numberExample:
1
-
name:
object PrintClassNameTranslatedString
A string that contains translations of print class name into multiple languages
-
objectNum:
integer
Object number of the PrinterExample:
1
-
options(optional):
integer
A string value of 0???s & 1???s representing the enablement or disablement of the options associated with the PrinterExample:
1
-
optionsExt(optional):
object PrinterOptionsExt
An object containing the descriptive options list associated with the Print Class
-
printerConfiguration(optional):
object PrinterConfiguration
-
printerType(optional):
integer
The type of the printer.Example:
1
-
trailingLineFeeds(optional):
integer
The number of trailing line feeds, normally used in guest check and customer receipt.Example:
1
-
wsName(optional):
integer
Name of the workstation to function as the print controller.in configured languagesExample:
1
-
wsObjNum(optional):
integer
Object number of the workstation to function as the print controller.Example:
1
Nested Schema : HierUnitNameTranslatedString
Type:
object
A string that contains translations of hierarchy unit name into multiple languages
Example:
{
"en-US":"Property",
"de-DE":"Eigentum",
"ar-AR":"??????????"
}
Nested Schema : PrintClassNameTranslatedString
Type:
object
A string that contains translations of print class name into multiple languages
Example:
{
"en-US":"Hotline PC",
"de-DE":"Hotline-PC"
}
Nested Schema : PrinterOptionsExt
Type:
object
An object containing the descriptive options list associated with the Print Class
Example:
{
"isMultiLingualCardInstalled":false,
"isThermalPrinter":false,
"isQuebecSRMDevice":false,
"printInLowRes":false,
"enableLoopPrinting":false,
"isDestinationPrinter":false
}
Nested Schema : PrinterConfiguration
Type:
Show Source
object
-
address(optional):
string
The IP address or hostname for the printer. If using the printer for banquet checks, enter the hostname. Applicable only if printerType = 2 / 3 / 4 / 11Example:
127.0.0.0
-
baudRate(optional):
integer
The baud rate for the printer. Applicable only if printerType = 1/ 6 / 7 / 8 / 9 / 10 / 12 / 14Example:
1
-
bluetoothSettings(optional):
object BluetoothSettings
text
-
centerLogoUsing(optional):
integer
The appropriate paper size for the printer to center the logo.1 ??? 3 1/8??? (80mm) Paper 2 ??? 2 ????? (58mm) Paper. Applicable only if printerType = 3 / 11Example:
1
-
comPort(optional):
integer
The COM port for the printer. Applicable only if printerType = 1 / 6 / 7 / 8 / 9/ 10 / 12 / 14Example:
1
-
dataBits(optional):
integer
The data bits for the printer. Applicable only if printerType = 1 / 6 / 7 / 8 / 9 / 10 / 12 / 14Example:
8
-
fileName(optional):
string
The directory and file name to store the local disk file. Applicable only if printerType = 13Example:
???/local/config.txt???
-
firstPageMargins(optional):
object FirstPageMargins
text
-
idnId(optional):
integer
The IDN ID for the printer. Applicable only if printerType = 12Example:
1
-
oposPrinterConfig(optional):
object OposPrinterConfig
An object containing the configuration settings for the OPOS Printer. Applicable only if printerType = 15
-
otherPageMargins(optional):
object FirstPageMargins
text
-
parity(optional):
integer
The parity for the printer.0 ??? None 1 ??? Even 2 ??? Odd Applicable only if printerType = 1 / 6 / 7 / 8 / 9 / 10 / 12 / 14Example:
1
-
port(optional):
integer
The port number for the IP printer. Applicable only if printerType = 2 / 3 / 4 / 11Example:
9100
-
serialNumber(optional):
integer
The Serial Number of S1F2 terminal. Applicable only if printerType = 16Example:
1.23456789012345E14
-
stopBits(optional):
integer
The stop bits for this printer. Applicable only if printerType = 1 / 6/ / 7 / 8 / 9 / 10 / 12 / 14Example:
1
Nested Schema : BluetoothSettings
Type:
object
text
Show Source
-
id(optional):
string
The Bluetooth ID of the printer or leave the field blank to allow configuration from a Mobile client when using different printers per event.Example:
11:22:33:44:55:66
-
numberOfColumns(optional):
integer
The column width of the printer.Example:
32
-
pin(optional):
integer
The Bluetooth PIN of the printer.Example:
1
Nested Schema : FirstPageMargins
Type:
object
text
Show Source
-
bottom(optional):
integer
The bottom margin, in inches, for the page.Example:
0
-
left(optional):
integer
The left margin, in inches, for the page.Example:
0
-
top(optional):
integer
The top margin, in inches, for the page.Example:
0
Nested Schema : OposPrinterConfig
Type:
object
An object containing the configuration settings for the OPOS Printer. Applicable only if printerType = 15
Show Source
-
bufferAllDateBeforePrint(optional):
boolean
A Boolean flag indicating to enable fast OPOS printing. Does not work with all printers as it depends on OPOS printing implementation.Example:
false
-
bufferOutput(optional):
boolean
A Boolean flag indicating to enable faster printing for printers other than Epson printers.Example:
false
-
deviceName(optional):
string
The name of the deviceExample:
DeviceName
-
printerColumns(optional):
integer
The number of columns in the printerExample:
1
-
printerId(optional):
integer
The identifier of the printerExample:
1
-
printPlainText(optional):
boolean
A Boolean flag indicating to remove all OPOS commands and send plain text to the printer.Example:
false
-
useNearEmptyAsEmpty(optional):
boolean
A Boolean flag indicating to use near empty as emptyExample:
false
Response
Supported Media Types
- application/json
200 Response
A collection of Printer objects of the organization
Root Schema : PrinterResponse
Type:
Show Source
object
-
hierUnitId:
integer
Unique hierarchy unit valueExample:
1
-
objectNum:
integer
Object number of the printerExample:
1
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