Update Workstation Classes
post
/config/sim/v1/devices/updateWorkstationClasses
Updates a Workstation Class record for the current organization.
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef: string(string)
Detail that identifies who made the change.
A request body
Root Schema : WorkstationClassCUDRequestBody
Type:
Show Source
object
-
hierUnitId(required):
integer
Unique hierarchy unit value. The hierUnitId should be only of a location or the enterprise.Example:
1
-
name(required):
object HierUnitNameTranslatedString
A string that contains translations of hierarchy unit name into multiple languages
-
objectNum(required):
integer
Object Number of the workstation classExample:
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",
"es-MX":"Propiedad"
}
Response
Supported Media Types
- application/json
200 Response
Workstation Class Response
Root Schema : WorkstationClassMinimalBody
Type:
Show Source
object
-
hierUnitId(required):
integer
Unique hierarchy unit valueExample:
1
-
objectNum(required):
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(required):
string
A short, human-readable summary of the problem.Example:
Specified Data is invalid
-
errorDetails(required):
string
A human-readable explanation specific to this occurrence of the problem.Example:
Entity Does Not Exist
-
o:errorCode(required):
integer
Error code of the problemExample:
55223
-
status(required):
integer
HTTP status code.Example:
400
-
title(required):
string
A short, human-readable summary of the problem type.Example:
VALIDATION ERROR
-
type(required):
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