Update Order Types
post
/config/sim/v1/setup/updateordertypenames
Updates the Order Type. If Order Type is not found, it creates a new Order Type.
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef(optional): string(string)
Detail that Identifies that who made the change
-
Simphony-OrgShortName: string
The ShortName of the organization
Order Type Resource Object
Root 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
Response
Supported Media Types
- application/json
200 Response
Response object
Root Schema : OrderTypeResponse
Type:
Show Source
object
-
hierUnitId:
integer
Unique hierarchy unit valueExample:
1
-
lineNum:
integer
Unique reference of the Order TypeExample:
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