Add Currencies
post
/config/sim/v1/setup/currencies
Add the Currency to the specified organization.
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 Object
Root Schema : Currency
Type:
objectModel for Currency Object
Show Source
-
abbreviation(optional):
string
The abbreviation for the currency record. For a long abbreviation, you may add a space in the end for good print format.Example:
USD -
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:
object CurrencyNameTranslatedString
A group of string objects representing the name of the currency in configured languages.
-
numberOfDigits(optional):
integer
The number of digits after the decimal point that each currency allows. Default value is 2.Values between 1-3.Example:
2 -
objectNum:
integer
Object number of the currency.Example:
1 -
options(optional):
string
A string value of 0???s & 1???s representing the enablement or disablement of the options associated with the Print ClassExample:
11010101 -
optionsExt(optional):
object OptionsExt
An object containing the descriptive options list associated with the currency.
-
symbol(optional):
string
The record symbol of the currency.Example:
$
Nested Schema : HierUnitNameTranslatedString
Type:
objectA string that contains translations of hierarchy unit name into multiple languages
Example:
{
"en-US":"Property",
"de-DE":"Eigentum",
"ar-AR":"??????????"
}Nested Schema : CurrencyNameTranslatedString
Type:
objectA group of string objects representing the name of the currency in configured languages.
Example:
{
"en-US":"USD Dollar",
"de-DE":"USD-Dollar"
}Nested Schema : OptionsExt
Type:
objectAn object containing the descriptive options list associated with the currency.
Example:
{
"printSymbolAfterTotal":false,
"useThousandsSeparator":false
}Response
Supported Media Types
- application/json
200 Response
Currency 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:
objectResponse 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