Get Print Classes
post
/config/sim/v2/devices/getPrinterClasses
Gets all the Print Classes configured
Request
Supported Media Types
- application/json
- multipart/form-data
Request Body
Root Schema : PrintClassGetRequestBodyv2
Type:
object
The input Body model that needs to be given.
Show Source
-
include:
string
Objects included in responseExample:
hierUnitId
-
includeAll:
string
This can take 2 values: basic or detailed. If 'basic' is specified, The response contains all the properties of the object except
Ext values. If 'detailed' is specified, The response contains all the properties of the object. Example:detailed
-
langIds:
string
If specified, limits translated strings returned.Example:
1,2,3
-
limit:
integer
If using paging, number of results returned in this page.Example:
10
-
offset:
integer
Starting resource record index. Not required if paging parameters are not supportedExample:
2
-
searchCriteria:
string
Search criteria to filter results based on field valueExample:
where equals(objectNum,1)
Response
Supported Media Types
- application/json
200 Response
A collection of Print Class objects of the organization
Root Schema : PrintClassGetResponsev2
Type:
Show Source
object
-
count:
integer
Current response record count.Example:
9
-
hasMore:
boolean
Flag indicating if there are more objects to fetch.Example:
true
-
items:
array items
Array of Print Class objects of the organization.
-
limit:
integer
Server page sizeExample:
10
-
offset:
integer
Starting resource record indexExample:
0
-
totalResults:
integer
Total number of rows (excluding the paging parameters)Example:
100
Nested Schema : items
Type:
array
Array of Print Class objects of the organization.
Show Source
-
Array of:
object PrintClassv2
Model for Print Class Object
Nested Schema : PrintClassv2
Type:
object
Model for Print Class Object
Show Source
-
hierUnitId:
integer
Unique reference of the hierarchy unit where the print class is configuredExample:
3599
-
hierUnitObjNum:
integer
Object number of the hierarchy unit where the print class is configuredExample:
26
-
name:
object name
Print Class Name
-
objectNum:
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
-
optionsExt:
object OptionsExt
An object containing the descriptive options list associated with the currency.
-
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
-
routingGroupName:
object routingGroupName
Routing Group Name
-
routingGroupObjNum:
integer
Select the routing group to use for each print class if Routing Group Printing is enabled.Example:
3
Nested Schema : name
Type:
object
Print Class Name
Example:
{
"1":"Enterprise",
"2":"Unternehmen",
"3":"Empresa"
}
Nested Schema : OptionsExt
Type:
object
An object containing the descriptive options list associated with the currency.
Example:
{
"printSymbolAfterTotal":false,
"useThousandsSeparator":false
}
Nested Schema : routingGroupName
Type:
object
Routing Group Name
Example:
{
"1":"Enterprise",
"2":"Unternehmen",
"3":"Empresa"
}
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