Update the currency parameter.
post
/config/sim/v1/setup/updatecurrencyparameters
Updates the currency parameter. If the currency parameter is not found, it creates a new currency parameter.
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(string)
Org Identifier
Currency Parameter Object
Root Schema : CurrencyParameter
Type:
object
Model for Currency Parameter Object
Show Source
-
altCurrObjName(optional):
object CurrencyNameTranslatedString
A group of string objects representing the name of the currency in configured languages.
-
altCurrObjNum(optional):
integer
Object number of the alternate currency.Example:
31
-
baseCurrObjName(optional):
object CurrencyNameTranslatedString
A group of string objects representing the name of the currency in configured languages.
-
baseCurrObjNum:
integer
Object number of the currency.Example:
1
-
hierUnitId:
integer
Unique reference of the hierarchy unit where the print class is configuredExample:
3599
-
hierUnitName(optional):
object HierUnitNameTranslatedString
A string that contains translations of hierarchy unit name into multiple languages
-
hierUnitObjNum(optional):
integer
Object number of the hierarchy unit where the print class is configuredExample:
26
-
name(optional):
object CurrencyNameTranslatedString
A group of string objects representing the name of the currency in configured languages.
-
options(optional):
string
A string value of 0???s & 1???s representing the enablement or disablement of the options associated with the currency parameterExample:
11010101
-
optionsExt(optional):
object CurrencyParameterOptionsExt
An object containing the descriptive options list associated with the currency parameter.
Nested Schema : CurrencyNameTranslatedString
Type:
object
A group of string objects representing the name of the currency in configured languages.
Example:
{
"en-US":"USD Dollar",
"de-DE":"USD-Dollar"
}
Nested Schema : HierUnitNameTranslatedString
Type:
object
A string that contains translations of hierarchy unit name into multiple languages
Example:
{
"en-US":"Property",
"de-DE":"Eigentum",
"ar-AR":"??????????"
}
Nested Schema : CurrencyParameterOptionsExt
Type:
object
An object containing the descriptive options list associated with the currency parameter.
Example:
{
"roundCurrency":false,
"roundToNearestZero":false,
"roundToSecondLeastSignDigit":false
}
Response
Supported Media Types
- application/json
200 Response
Currency Parameter object of the organization.
Root Schema : DeleteRequestBody
Type:
Show Source
object
-
hierUnitId:
integer
Unique hierarchy unit valueExample:
1
-
objectNum:
integer
Object number of the printerExample:
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