CurrencyCtrl
Perform various operations for Symitar parameters.
Operations
Retrieve currency control information.
Authorizations
Body
Responses
200
Successful operation.
application/json
post
POST /nexum/627/2022.01/parameter/getCurrencyCtrl HTTP/1.1
Host: naas.ymcu.libum.io
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 124
{
"Credentials": {
"AdministrativeCredentials": {
"Password": "suwn37834b91&"
}
},
"nxAttributes": {
"customFields": {
"appId": "glaci"
}
}
}
200
Successful operation.
{
"CurrencyCtrl": {
"BuyRate": "text",
"BuyRateDescription": "text",
"CurrencyDecimalPlaces": 1,
"CurrencyMinimumUnits": 1,
"CurrencyName": "text",
"CurrencyShortName": "text",
"FipsCountryCode": "text",
"PrimeRate": "text",
"PrimeRateDescription": "text",
"SellRate": "text",
"SellRateDescription": "text"
}
}
Retrieve select fields for currency control information.
Authorizations
Body
Responses
200
Successful operation.
application/json
post
POST /nexum/627/2022.01/parameter/getCurrencyCtrlSelectFields HTTP/1.1
Host: naas.ymcu.libum.io
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 458
{
"Credentials": {
"AdministrativeCredentials": {
"Password": "suwn37834b91&"
}
},
"SelectableFields": {
"IncludeAllCurrencyCtrlFields": true,
"CurrencyCtrlFields": {
"BuyRate": true,
"BuyRateDescription": true,
"CurrencyDecimalPlaces": true,
"CurrencyMinimumUnits": true,
"CurrencyName": true,
"CurrencyShortName": true,
"FipsCountryCode": true,
"PrimeRate": true,
"PrimeRateDescription": true,
"SellRate": true,
"SellRateDescription": true
}
},
"nxAttributes": {
"customFields": {
"appId": "glaci"
}
}
}
200
Successful operation.
{
"CurrencyCtrl": {
"BuyRate": "text",
"BuyRateDescription": "text",
"CurrencyDecimalPlaces": 1,
"CurrencyMinimumUnits": 1,
"CurrencyName": "text",
"CurrencyShortName": "text",
"FipsCountryCode": "text",
"PrimeRate": "text",
"PrimeRateDescription": "text",
"SellRate": "text",
"SellRateDescription": "text"
}
}
Update Currency Control by ID
Authorizations
Body
Responses
200
Successful operation.
application/json
post
POST /nexum/627/2022.01/parameter/updateCurrencyCtrlByID HTTP/1.1
Host: naas.ymcu.libum.io
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 422
{
"Credentials": {
"AdministrativeCredentials": {
"Password": "suwn37834b91&"
}
},
"CurrencyCtrlUpdatableFields": {
"BuyRate": "text",
"BuyRateDescription": "text",
"CurrencyDecimalPlaces": 1,
"CurrencyMinimumUnits": 1,
"CurrencyName": "text",
"CurrencyShortName": "text",
"FipsCountryCode": "text",
"PrimeRate": "text",
"PrimeRateDescription": "text",
"SellRate": "text",
"SellRateDescription": "text"
},
"nxAttributes": {
"customFields": {
"appId": "glaci"
}
}
}
200
Successful operation.
{
"UpdateStatus": {
"isAllFieldsUpdateSuccess": true,
"FailedUpdateStatus": [
{
"Record": "text",
"ErrorCode": "text",
"ErrorMessage": "text",
"PrimaryKeyField": [
{
"Name": "text",
"Value": "text"
}
]
}
]
}
}
Last updated
Was this helpful?