Currency Rate. Create/update data POST

Create/update Currency Rate data

# ENDPOINT
/model/currencyRate/putDb
# REQUEST arguments
Variable Value Example Usage Description
X-App-Sig
header
0
M Dev Authentication
# REQUEST BODY
# RESPONSE
        						
# REQUEST arguments
Variable Name Type Format Usage Description
X-App-Sig X-App-Sig header string M Dev Authentication
# REQUEST BODY
Schema: currencyRate
Type: object
Variable Name Type Format Usage Description
action Action string
balance_date Balance Date string DATE M Date operation
base_currency base_currency string M Operation currency From
create_date Create Date string DATETIME The date entry was created on
create_user Create User string The username of ABS user who has created an entry
currency currency string M Currency of the account
description description string Description of a given record
document_reference document_reference string The unique payment ID as assigned by the ABS system upon Payment registration in the ABS
external_data External data string Original response data received from external service provider
external_reference External reference string
form_title form_title string Service field
id id integer INT64 Record's sequence number generated in the system.
modify_date Modify Date string DATETIME The date entry was last modified on
modify_user Modify User string The username of ABS user who has made last changes to the entry
rate rate number decimal M Rate of operation

rate_exponenta Rate exponenta integer
rate_num Rate num double
rate_timestamp rate_timestamp string DATETIME Operation Date/time
rate_type rate_type string M Who set the exchange rate
List of allowed values in field (value=>name):
  • 0
    BANK
  • 1
    BANK_CROSS
  • 2
    BUY
  • 3
    DEAL
  • 4
    MARKET
  • 5
    SELL
service_provider Service provider string External service provider that ensures client remote registration
List of allowed values in field (value=>name):
  • 0
    BINANCE
  • 1
    BLOOMBERG
  • 2
    BNM
  • 3
    BOE
  • 4
    CBR
  • 5
    ECB
  • 6
    LMAX
  • 7
    RAILSBANK
  • 8
    TRUEFX
  • 9
    ZEROHASH
state state integer INT64 Record state for replication
uid uid string Unique record identifier which is used to distinguish between existing records
unit Unit number M
version version integer INT64 Record version for replication
without_expiry Without expiry BOOLEAN
List of allowed values in field (value=>name):
  • 0
    false
  • 1
    true
# REQUEST BODY EXAMPLE
													
# POSITIVE RESPONSE

200 - Response successfully when status is OK

<p style="color:green;font-size:16px;">200 - Response successfully when status is OK</p>

Schema: currencyRate
Type: application/json
Variable Name Type Format Description
status status string Request execution status
error_description Error Description string Description of error
error Error Code string Error code
data_type data_type string Type of data
total_records total_records string Total count of records
data data object data of Response
attribute: data
Variable Name Type Format Description
action Action string
balance_date Balance Date string DATE Date operation
base_currency base_currency string Operation currency From
create_date Create Date string DATETIME The date entry was created on
create_user Create User string The username of ABS user who has created an entry
currency currency string Currency of the account
description description string Description of a given record
document_reference document_reference string The unique payment ID as assigned by the ABS system upon Payment registration in the ABS
external_data External data string Original response data received from external service provider
external_reference External reference string
form_title form_title string Service field
id id integer INT64 Record's sequence number generated in the system.
modify_date Modify Date string DATETIME The date entry was last modified on
modify_user Modify User string The username of ABS user who has made last changes to the entry
rate rate number decimal Rate of operation

rate_exponenta Rate exponenta integer
rate_num Rate num double
rate_timestamp rate_timestamp string DATETIME Operation Date/time
rate_type rate_type string Who set the exchange rate
service_provider Service provider string External service provider that ensures client remote registration
state state integer INT64 Record state for replication
uid uid string Unique record identifier which is used to distinguish between existing records
unit Unit number
version version integer INT64 Record version for replication
without_expiry Without expiry BOOLEAN
# NEGATIVE RESPONSE

200 - Response with error when status is ERROR

<p style="color:red;font-size:16px;">200 - Response with error when status is ERROR</p>

Schema: HeaderResponseStatusError
Type: application/json
Variable Name Type Format Description
status status string Request execution status
error_description Error Description string Description of error
error Error Code string Error code
data_type data_type string Type of data
total_records total_records string Total count of records
data data object Empty object