Get Order Types
post
/config/sim/v1/setup/getordertypenames
Gets all the Order Types
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-OrgShortName: string
The ShortName of the organization
Get Request Body
Root Schema : OrderTypeGetRequestBody
Type:
Show Source
object
-
include(optional):
string
Example:
locations
-
languages(optional):
string
If specified, limits translated strings returned.Example:
en-US, es-SS,lt-LT
-
limit(optional):
integer
Number of results returned in this page. Not required if paging parameters are not supported.Example:
10
-
offset(optional):
integer
Starting resource record index. Not required if paging parameters are not supportedExample:
2
-
orderBy(optional):
string
Sorts the response by the specified field name and sort order.Example:
items.objectNum:asc
-
searchCriteria(optional):
string
Search criteria to filter results based on field valueExample:
where equals(active,1)
Response
Supported Media Types
- application/json
200 Response
A collection of Order Type objects of the organization
Root Schema : OrderTypeGetResponse
Type:
Show Source
object
-
count(optional):
integer
Current response recount count.Example:
9
-
hasMore(optional):
boolean
Flag indicating if there are more objects to fetch.Example:
true
-
items(optional):
array items
Array of language objects of the organization.
-
limit(optional):
integer
Server page sizeExample:
10
-
offset(optional):
integer
Starting resource record indexExample:
0
-
totalResults(optional):
integer
Total number of rows (excluding the paging parameters)Example:
100
Nested Schema : items
Type:
array
Array of language objects of the organization.
Show Source
-
Array of:
object OrderTypeResourceObject
Model for Order Type Object
Nested Schema : OrderTypeResourceObject
Type:
object
Model for Order Type Object
Show Source
-
dataExtentions(optional):
array dataExtentions
An array of data extensions for the Order Types
-
hierUnitId:
integer
Unique hierarchy unit referenceExample:
2
-
hierUnitName(optional):
object TranslatedString_HierUnitName
Additional Properties Allowed: additionalPropertiesA group of string objects representing the name of the hierarchy unit configured languages
-
hierUnitObjNum(optional):
integer
Object number of the hierarchy unitExample:
1
-
lineNum:
integer
Line number of the Order TypesExample:
1
-
name:
object TranslatedString
Additional Properties Allowed: additionalPropertiesA string that contains translations into multiple languages **Example** `{ "en-US": "coffee", "de-DE": "kaffee", "ar-AR": "????????" }`
Nested Schema : dataExtentions
Type:
array
An array of data extensions for the Order Types
Show Source
Nested Schema : TranslatedString_HierUnitName
Type:
object
Additional Properties Allowed
Show Source
A group of string objects representing the name of the hierarchy unit configured languages
Example:
{
"en-US":"Enterprise",
"es-SS":"Empresa",
"lt=LT":"??mon??"
}
Nested Schema : TranslatedString
Type:
object
Additional Properties Allowed
Show Source
A string that contains translations into multiple languages
**Example**
`{ "en-US": "coffee", "de-DE": "kaffee", "ar-AR": "????????" }`
Example:
{
"en-US":"Coffee",
"de-DE":"Kaffee",
"ar-AR":"????????"
}
Nested Schema : OrderType_dataExtentions
Type:
Show Source
object
-
columnName(optional):
string
Name of the extention fieldExample:
Extention Column 1
-
value(optional):
string
Value of the extention fieldExample:
Value 1
400 Response
400 Bad Request
Root Schema : ErrorDetails
Type:
object
Response body when the request returns an error.
Show Source
-
detail(optional):
string
A short, human-readable summary of the problem.Example:
Specified Data is invalid
-
errorDetails(optional):
string
A human-readable explanation specific to this occurrence of the problem.Example:
Entity Does Not Exist
-
o:errorCode(optional):
integer
Error code of the problemExample:
55223
-
status(optional):
integer
HTTP status code.Example:
400
-
title(optional):
string
A short, human-readable summary of the problem type.Example:
VALIDATION ERROR
-
type(optional):
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
404 Response
404 Requested resource not found