Update Currencies
post
/config/sim/v2/setup/updateCurrencies
Updates the currency.
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-AuditTrailRef: string
Detail that identifies, who made the change.
A request body
Root Schema : schema
Type:
object
Model for Currency CUD Request
Show Source
-
abbreviation:
object abbreviation
Abbreviation
-
dataExtensions:
array dataExtensions
An array of data extensions
-
hierUnitId(required):
integer
Unique reference of the hierarchy unit where the Currency is configuredExample:
3599
-
name(required):
object name
Currency Name
-
numberOfDigits:
integer
The number of digits after the decimal point that each currency allows. Default value is 2.Values between 1-3.Example:
2
-
objectNum(required):
integer
Object number of the currency.Example:
1
-
options:
string
A string value of 0s & 1s of length 8 representing the enablement or disablement of the options associated with the currencyExample:
11010101
-
symbol:
string
The record symbol of the currency.Example:
$
Nested Schema : abbreviation
Type:
object
Abbreviation
Example:
{
"1":"USD",
"2":"INR",
"3":"IND"
}
Nested Schema : name
Type:
object
Currency Name
Example:
{
"1":"Enterprise",
"2":"Unternehmen",
"3":"Empresa"
}
Nested Schema : items
Type:
Show Source
object
-
columnName:
string
Name of the extension fieldExample:
extension column 1
-
value:
string
Value of the extension fieldExample:
Value1
Response
Supported Media Types
- application/json
200 Response
Currency Updated.
Root Schema : schema
Type:
Show Source
object
-
hierUnitId:
integer
Unique hierarchy unit valueExample:
1
-
objectNum:
integer
Object number of the CurrencyExample:
1