Get Cashiers
post
/config/sim/v2/employees/getCashiers
Get all the cashiers.
Request
Supported Media Types
- application/json
- multipart/form-data
A request body
Root Schema : GetCashiersRequestv2
Type:
object
The input Body model that needs to be given for get request.
Show Source
-
include:
string
Objects included in response
-
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 returnedExample:
1,2,3
-
limit:
integer
If using paging, number of results returned in this page.
-
offset:
integer
Starting resource record index. Not required if paging parameters are not supported
-
orderBy:
integer
Sorts the response by the specified field name and sort order.Example:
objectNum:asc
-
searchCriteria:
string
Search criteria to filter results based on field value
Response
Supported Media Types
- application/json
200 Response
A collection of Cashiers objects of the organization
Root Schema : CashiersGetResponseV2
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 Cashier objects.
-
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 Cashier objects.
Show Source
-
Array of:
object CashierResponseV2
Model for Cashiers Object
Nested Schema : CashierResponseV2
Type:
object
Model for Cashiers Object
Show Source
-
hierUnitId:
integer
Unique hierarchy unit id of the revenue center.Example:
3599
-
name:
object name
A group of string objects representing the name of the cashiers in configured languages.
-
objectNum:
integer
Object number of the cashiers.Example:
1
Nested Schema : name
Type:
object
A group of string objects representing the name of the cashiers in configured languages.
Example:
{
"1":"Cashier",
"2":"La caissiere",
"3":"Cajero"
}
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