Add Print Classes
post
/config/sim/v1/devices/printerclasses
Add the Print Class object to a specified hierarchy unit of specified organization
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef: string(string)
Detail that Identifies that who made the change
Request Body
Root Schema : PrintClassCUDRequestBody
Type:
object
Model for Print CUD Request
Show Source
-
hierUnitId(required):
integer
Unique reference of the hierarchy unit where the print class is configuredExample:
3599
-
name(required):
object PrintClassNameTranslatedString
A string that contains translations of print class name into multiple languages
-
objectNum(required):
integer
Object Number of the Print Class.Example:
1
-
options:
string
A string value of 0s & 1s of length 8 representing the enablement or disablement of the options associated with the Print ClassExample:
11010101
-
orderDeviceDisabled:
string
A string value of 0s & 1s of length 32 representing the enablement or disablement of the order devices associated with the Print ClassExample:
11010101110101011101010111010101
-
orderDeviceOutput:
string
A string value of 0s & 1s of length 32 representing the enablement or disablement of the order device output associated with the Print ClassExample:
11010101110101011101010111010101
-
routingGroupObjNum:
integer
Select the routing group to use for each print class if Routing Group Printing is enabled.Example:
3
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"
}
Response
Supported Media Types
- application/json
200 Response
Print Class object of the organization.
Root Schema : PrintClasses
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