Update Workstation Devices
post
/config/sim/v2/devices/workstations/updateDevices
Updates a Workstation Device record for the current organization.
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef: string
Detail that identifies, who made the change.
A request body
Root Schema : schema
Type:
Show Source
object-
baudRate:
integer
Baud Rate of the device. Allowed values - 1200, 2400, 4800, 9600, 19200, 38400. This is a required field for the following device types - 1, 2, 3, 5, 8, 10, 12, 13, 14, 15(progId - Micros.Devices.FingerPrintReader.Opos), 16 and 17.Example:
9600 -
clientCertCommonName:
string
Client certificate common name of the payment interfaceExample:
Certificate -
clientCertEffectiveDt:
string
Client Certificate effective date of the payment interfaceExample:
2020-10-11 -
clientCertExpDt:
string
Expiration date of the client certificate of the payment interfaceExample:
2020-10-11 -
clientCertificate:
string
Client Certificate object. Applicable only for type=20 and SPIExample:
Cert -
clientCertPassword:
string
Client Certificate passwordExample:
password -
comPort:
integer
COM Port of the device. This is a required field for the following device types - 1, 2, 3, 5, 8, 10, 12, 13, 14, 15(progId - Micros.Devices.FingerPrintReader.Opos), 16 and 17.Example:
1 -
configuration:
string
Configuration parameters of the custom peripheral deviceExample:
config -
customDevice:
integer
Device type of the custom peripheral deviceExample:
1 -
customDeviceSettingsConfig:
string
Configuration parameters of the peripheral deviceExample:
Custom Settings -
dataBits:
integer
Data bits of the device. This is a required field for the following device types - 1, 2, 3, 5, 8, 10, 12, 13, 14, 15(progId - Micros.Devices.FingerPrintReader.Opos), 16 and 17.Example:
1 -
deleteCertificate:
boolean
A flag indicating if the certificates need to be deleted. Applicable for type=20 and for SPI only.Example:
false -
deviceNum(required):
integer
Sequence number of the deviceExample:
1 -
deviceType(required):
integer
Type of the peripheral deviceExample:
1 -
hierUnitId(required):
integer
Unique hierarchy unit value of the propertyExample:
1 -
hostTimeoutInSecs:
integer
Timeout in seconds if request is abandoned. This is a required field for device type 20.Example:
180 -
objectNum(required):
integer
Object number of the workstationExample:
1 -
parity:
string
Parity of the device. This is a required field for the following device types - 1, 2, 3, 5, 8, 10, 12, 13, 14, 15(progId - Micros.Devices.FingerPrintReader.Opos), 16 and 17.Example:
N -
primaryHost:
string
URL of the endpoint. Format http(s)://host:port number. This is a required field for device type 20.Example:
http://url.domain.com:443 -
progId(required):
string
Prog Id of the custom peripheral deviceExample:
Micros.Devices.BarCodeReader.RS232 -
securitySettings:
integer
Security settings for the interface. This is a required field for device type 20.Example:
1 -
serverCertCommonName:
string
Common name of the Server CertificateExample:
cert -
serverCertEffectiveDt:
string
Effective date of the server certificateExample:
2020-10-11 -
serverCertExpDt:
string
Expiration date of the server certificateExample:
2020-10-11 -
serverCertificate:
string
Server certificate objectExample:
cert -
stopBits:
integer
Stop Bits of the device. This is a required field for the following device types - 1, 2, 3, 5, 8, 10, 12, 13, 14, 15(progId - Micros.Devices.FingerPrintReader.Opos), 16 and 17.Example:
1 -
validateXMLAgainstSchema:
boolean
A Boolean flag indicating if xml message is validated against schema and log errors. Applicable only for type=20 and SPI.Example:
false
Response
Supported Media Types
- application/json
200 Response
Workstation Device Updated .
Root Schema : schema
Type:
Show Source
object-
deviceNum:
integer
The sequence number of the deviceExample:
1 -
hierUnitId:
integer
Unique hierarchy unit value of the propertyExample:
1 -
objectNum:
integer
Object number of the workstationExample:
1