Fetch Currency Pairs data by ID or UID
Variable | Name | Type | Format | Usage | Description |
---|---|---|---|---|---|
X-App-Sig | X-App-Sig | header | string | M | Dev Authentication |
Example | DEV-SKIP | ||||
id | id | path | integer | M | Record ID or UID |
Example | 103 - by ID
fccf29f5-9bf1-00b3-6e14-21a7247b7dca - by UID |
200 - Response successfully when status is OK
200 - Response successfully when status is OK
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 |
Variable | Name | Type | Format | Description |
---|---|---|---|---|
action | Action | string | ||
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 | |
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 | |
number_days | Days to Value | integer | ||
state | state | integer | INT64 | Record state for replication |
uid | uid | string | Unique record identifier which is used to distinguish between existing records | |
version | version | integer | INT64 | Record version for replication |
{ "status": "ok", "error_description": "", "error": {}, "data_type": "system.api.currencyPairs.currencyPairsModel", "total_records": 1, "data": { "currency": "RUB", "base_currency": "USD", "description": "USDRUB", "number_days": 1, "uid": "fccf29f5-9bf1-00b3-6e14-21a7247b7dca", "id": 103, "version": 450462344, "state": 0, "create_user": "erusbergs", "create_date": "2020-08-11T13:18:55.823", "modify_user": "erusbergs", "modify_date": "2020-08-11T13:18:55.825" } }
200 - Response with error when status is ERROR
200 - Response with error when status is ERROR
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 |
{ "status": "error", "error_description": "[RECORD-NOT-FOUND : Object currencyPairsModel cannot find record currency_pairs.id with value 1000]", "error": {}, "data_type": "system.api.currencyPairs.currencyPairsModel", "total_records": 1, "data": {} }