Get Order Types
post
/config/sim/v2/setup/getOrderTypeNames
Gets all the Order Types
Request
Supported Media Types
- application/json
- multipart/form-data
The input Body model that needs to be given.
Root Schema : schema
Type:
Show Source
object
-
include:
string
If specified, limits the data returned to these fields.Example:
hierUnitId, objectNum, name
-
includeAll:
string
If this value is specified, the include parameter is ignored.
Value Description basic Forces the response to include all fields except option string details detailed Forces the response to include all fields including option string details 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.Example:
100
-
offset:
integer
Starting resource record index. Not required if paging parameters are not supportedExample:
0
-
orderBy:
string
Sorts the response by the specified field name and sort order.Example:
hierUnitId:asc
-
searchCriteria:
string
If specified, returns records that match the criteria.Example:
where equals(hierUnitId, 7)
Response
Supported Media Types
- application/json
200 Response
A collection of Order Type Names.
Root Schema : schema
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 Order Type 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 Order Type objects of the organization.
Show Source
-
Array of:
object OrderTypev2
Model for Order Type Object
Nested Schema : OrderTypev2
Type:
object
Model for Order Type Object
Show Source
-
dataExtensions:
array dataExtensions
An array of data extensions for the Order Types
-
hierUnitId:
integer
Unique hierarchy unit referenceExample:
2
-
hierUnitObjNum:
integer
Object number of the hierarchy unitExample:
1
-
lineNum:
integer
Line number of the Order TypesExample:
1
-
name:
object name
Order Type Name
Nested Schema : dataExtensions
Type:
array
An array of data extensions for the Order Types
Show Source
Nested Schema : name
Type:
object
Order Type Name
Example:
{
"1":"Coffee",
"2":"Kaffee",
"3":"Cafe"
}
Nested Schema : OrderType_dataExtentions
Type:
Show Source
object
-
columnName:
string
Name of the extention fieldExample:
Extention Column 1
-
value:
string
Value of the extention fieldExample:
Value 1