Get Currencies
post
/config/sim/v2/setup/getCurrencies
Gets all the currencies
Request
Supported Media Types
- application/json
- multipart/form-data
The input Body model that needs to be given.
Root Schema : schema
Type:
Show Source
object
-
include:
string
If specified, limits the data returned to these fields.Example:
hierUnitId, objectNum, name
-
includeAll:
string
If this value is specified, the include parameter is ignored.
Value Description basic Forces the response to include all fields except option string details detailed Forces the response to include all fields including option string details Example:detailed
-
langIds:
string
If specified, limits translated strings returnedExample:
1,2,3
-
limit:
integer
If using paging, number of results returned in this page.Example:
100
-
offset:
integer
Starting resource record index. Not required if paging parameters are not supportedExample:
0
-
orderBy:
string
Sorts the response by the specified field name and sort order.Example:
hierUnitId:asc
-
searchCriteria:
string
If specified, returns records that match the criteria.Example:
where equals(hierUnitId, 7)
Response
Supported Media Types
- application/json
200 Response
A collection of Currencies.
Root Schema : schema
Type:
Show Source
object
-
count:
integer
Current response record count.Example:
9
-
hasMore:
boolean
Flag indicating if there are more objects to fetch.Example:
true
-
items:
array items
Array of Currency objects of the organization.
-
limit:
integer
Server page sizeExample:
10
-
offset:
integer
Starting resource record indexExample:
0
-
totalResults:
integer
Total number of rows (excluding the paging parameters)Example:
100
Nested Schema : items
Type:
array
Array of Currency objects of the organization.
Show Source
-
Array of:
object Currencyv2
Model for Currency Object
Nested Schema : Currencyv2
Type:
object
Model for Currency Object
Show Source
-
abbreviation:
object abbreviation
The abbreviation for the currency record. For a long abbreviation, you may add a space in the end for good print format.
-
dataExtensions:
array dataExtensions
An array of data extensions
-
hierUnitId:
integer
Unique reference of the hierarchy unit where the Currency is configuredExample:
3599
-
hierUnitObjNum:
integer
Object number of the hierarchy unit where the Currency is configuredExample:
26
-
name:
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:
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
-
optionsExt:
object OptionsExt
An object containing the descriptive options list associated with the currency.
-
symbol:
string
The record symbol of the currency.Example:
$
Nested Schema : abbreviation
Type:
object
The abbreviation for the currency record. For a long abbreviation, you may add a space in the end for good print format.
Example:
{
"1":"USD",
"2":"INR",
"3":"DNR"
}
Nested Schema : name
Type:
object
Currency Name
Example:
{
"1":"Enterprise",
"2":"Unternehmen",
"3":"Empresa"
}
Nested Schema : OptionsExt
Type:
object
An object containing the descriptive options list associated with the currency.
Example:
{
"printSymbolAfterTotal":false,
"useThousandsSeparator":false
}
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