Skip to content

API freeze (IDC Decision)

API for verifying clients against Interdepartmental Commission (IDC) decisions.

The service provides methods for bulk and individual client verification against IDC decisions on freezing (blocking) funds or other property, report generation, and integration with the decision-making system.

All Clients Check Results

MethodURIDescription
GET|HEAD/api/maintenance/freeze/report/makeCreate freeze report
GET|HEAD/api/freeze/all-clients/result/files
/api/freeze/check-all-clients-result/files
Get list of all clients check result files
GET|HEAD/api/freeze/all-clients/result/file/{filename}
/api/freeze/check-all-clients-result/file/{filename}
Download all clients check result file
GET|HEAD/api/freeze/all-clients/result/list
/api/freeze/check-all-clients-result/list
Get list of all clients check results
GET|HEAD/api/freeze/all-clients/result/qty
/api/freeze/check-all-clients-result/qty
Get count of all clients check results

Individual Client Checks

MethodURIDescription
GET|HEAD/api/freeze/check-client/{client_id}Get client check information
POST/api/freeze/check-client/{client_id}Run new client check
GET|HEAD/api/freeze/client-result/{client_id}Get client check result
GET|HEAD/api/freeze/client-status/{client_id}Show current client status by ID
GET|HEAD/api/freeze/client/{client_id}/checkGet client check information
POST/api/freeze/client/{client_id}/checkRun new client check
GET|HEAD/api/freeze/client/{client_id}/resultGet client check result
GET|HEAD/api/freeze/client/{client_id}/statusShow current client status by ID

API Methods Description

All Clients Check Results

Create freeze report

GET|HEAD /api/maintenance/freeze/report/make

Description

Methods are designed to create a report in the RFM system with check results against IDC (Interdepartmental Commission) decisions on counter-terrorism financing. The method is used to generate analytical reports based on check results, monitor system performance, and prepare data for external systems.

Request Examples

GET /api/maintenance/freeze/report/make

Successful Response Example

json
{
  "status": "ok", // Operation execution status ("ok" on success)
  "timestamp": 1755006198000, // Response timestamp in milliseconds
  "data": null // Response data (null, as methods only initiate the report creation process)
}

Get list of all clients check result files

GET|HEAD /api/freeze/all-clients/result/files GET|HEAD /api/freeze/check-all-clients-result/files

Description

The method returns a list of all available files with IDC decision check results. Files contain results of bulk client checks in the IDC decision system.

Request Example

GET /api/freeze/all-clients/result/files

Successful Response Example

json
{
  "status": "ok", // Response status
  "timestamp": 1754181490000, // Response timestamp
  "data": [
    // Array of result file names
    "2023-09-13_010113.xlsx", // File from 13.09.2023 01:01:13
    "2023-09-14_010100.xlsx", // File from 14.09.2023 01:01:00
    "2023-09-15_010045.xlsx", // File from 15.09.2023 01:00:45
    "2023-09-16_010049.xlsx", // File from 16.09.2023 01:00:49
    "2023-09-17_010048.xlsx", // File from 17.09.2023 01:00:48
    "2023-09-18_010054.xlsx" // File from 18.09.2023 01:00:54
  ]
}

Files contain results of client checks against IDC decisions for the period from September 13 to 18, 2023. Each file is created daily in the early morning hours (around 01:00).


Download all clients check result file

GET|HEAD /api/freeze/all-clients/result/file/{filename} GET|HEAD /api/freeze/check-all-clients-result/file/{filename}

Description

The method allows downloading a specific file with IDC decision check results by its name. The file contains detailed information about the bulk client check results. The filename must exactly match the list from the GET /api/freeze/all-clients/result/files method

Request Parameters

{filename} (string, required) — filename to download (e.g., "2023-09-13_010113.xlsx").

Request Example

GET /api/freeze/all-clients/result/file/2023-09-13_010113.xlsx

Successful Response Example

json
{
  "status": "ok", // Response status
  "timestamp": 1754220845000, // Response timestamp
  "data": {
    "redirectTo": "https://rfm-stage-svc-stage.brainysoft.ru/web/report/download?ac-jar=0GzsXoMsSbCCPGe90d1G3MuSRZ82DshI4ZF7Od8fl71IrTY8qU0ANVPehSaqfkif9UMaQdTQACgCXFpXRH9B0SeLQdvycPoeEcTuAXF4fXrKdw3h9I7KVbt0PZsrtv8FOisaFw3IrJUJ8T4WP0FgbAZc4Beup4mKyQJoOk1HrJ0ldwqBI24KD7ef8IIEc3bVJconNpTJ4VTmHMENGW3jLuN8jWP5M6wdFF0jaZvfr1SnHu507qMhcPdBYQT6RxctuR8IaaPOOynjEiyp0JKFHSZjuo3c4l5hX4CS33AxawwDcfFVlWz1foontCbu9a1rZccbkWNUhlENZWUNqpUohPjz42CJDldwlAxDjjIpEbdyZAihxEb7QwuL98XfVhH430SqcSLVnUkN4oej0PLmrIKr0SDlwiHIS75WMDLN944zqBsgASKFu52jKboyP9tzOUtsMBz4Gx9KsS9mM0ApuZPQf8lvS2z0W8aRt3YGzAp7tS3W2BSA0ee52lic0zZO"
  }
}

Get list of all clients check results

GET|HEAD /api/freeze/all-clients/result/list GET|HEAD /api/freeze/check-all-clients-result/list

Description

The method returns a list of all client check results against IDC decisions. Each record contains the client's check history, current status, and identifiers.

Request Example

GET /api/freeze/all-clients/result/list

Successful Response Example

json
{
  "status": "ok", // Response status
  "timestamp": 1754221000000, // Response timestamp
  "data": [
    // Array of check results
    {
      "checkLog": [
        // Client check history
        {
          "found": true, // Check result - found
          "date": "2025-02-25T14:57:27+00:00" // Check date and time
        },
        {
          "found": true, // Check result - found
          "date": "2025-02-25T15:09:17+00:00" // Check date and time
        },
        {
          "found": true, // Check result - found
          "date": "2025-03-24T11:26:09+00:00" // Check date and time
        },
        {
          "found": true, // Check result - found
          "date": "2025-07-14T07:47:02+00:00" // Check date and time
        }
      ],
      "clientId": 1163, // Client ID
      "currentStatus": 1, // Current client status (1 - found, 0 - not found)
      "num": 6908488, // Record number
      "freeze_id": 6908488 // Record ID in the IDC decision system
    }
  ]
}

Get count of all clients check results

GET|HEAD /api/freeze/all-clients/result/qty GET|HEAD /api/freeze/check-all-clients-result/qty

Description

The method returns the total number of clients found in the IDC decision system. Shows statistics on check results for all clients against IDC decisions.

Request Example

GET /api/freeze/all-clients/result/qty

Successful Response Example

json
{
  "status": "ok", // Response status
  "timestamp": 1754222232000, // Response timestamp
  "data": {
    "count": 1 // Number of clients found in the IDC decision system
  }
}

Individual Client Checks

Get client check information

GET|HEAD /api/freeze/check-client/{client_id}

Description

The method returns current information about a client check in the IDC decision system. Shows the client's current status as of the last check.

Request Parameters

{client_id} (integer, required) — unique client identifier.

Request Example

GET /api/freeze/check-client/1162

Successful Response Example

json
{
  "status": "ok", // Response status
  "timestamp": 1754222806000, // Response timestamp
  "data": {
    "found": "not found", // Check result - client not found in the IDC decision system
    "status": "NOT_FOUND" // Client status - not found in the IDC decision system
  }
}

Run new client check

POST /api/freeze/check-client/{client_id}

Description

The method runs a new client check in the IDC decision system and returns the current result. Unlike the GET method, this method forcibly updates the client status.

Request Parameters

{client_id} (integer, required) — unique client identifier.

Request Example

POST /api/freeze/check-client/1162

Successful Response Example

json
{
  "status": "ok", // Response status
  "timestamp": 1754222806000, // Response timestamp
  "data": {
    "found": "not found", // Check result - client not found in the IDC decision system
    "status": "NOT_FOUND" // Client status - not found in the IDC decision system
  }
}

Get client check result

GET|HEAD /api/freeze/client-result/{client_id}

Description

The method returns a detailed check history for a client by their ID. Each record in the history contains information about whether the client was found in the IDC decision system at the time of the check.

Request Parameters

{client_id} (integer, required) — unique client identifier.

Request Example

GET /api/freeze/client-result/1162

Successful Response Example

json
{
  "status": "ok", // Response status
  "timestamp": 1754222999000, // Response timestamp
  "data": [
    // Array of client check results
    {
      "number": 1, // Check number
      "testDate": "03.08.2025", // Test date
      "testResult": "Нет", // Test result (Нет - not found, Да - found)
      "testResultNo": "Да", // Inverse test result
      "listDateYes": "", // List date for positive result
      "listDate": "12.07.2024", // List date
      "listDateCorrect": "25.02.2025", // Corrected list date
      "listName": "Межведомственная комиссия по противодействию легализации _12.07.2024.xml (12.07.2024)", // List name
      "testMessageResults": "Совпадений не выявлено" // Test results message
    },
    {
      "number": 2, // Check number
      "testDate": "03.08.2025", // Test date
      "testResult": "Нет", // Test result
      "testResultNo": "Да", // Inverse test result
      "listDateYes": "", // List date for positive result
      "listDate": "12.07.2024", // List date
      "listDateCorrect": "12.07.2024", // Corrected list date
      "listName": "Межведомственная комиссия по противодействию легализации _12.07.2024.xml (12.07.2024)", // List name
      "testMessageResults": "Совпадений не выявлено" // Test results message
    },
    {
      "number": 3, // Check number
      "testDate": "03.08.2025", // Test date
      "testResult": "Нет", // Test result
      "testResultNo": "Да", // Inverse test result
      "listDateYes": "", // List date for positive result
      "listDate": "12.07.2024", // List date
      "listDateCorrect": "12.07.2024", // Corrected list date
      "listName": "Межведомственная комиссия по противодействию легализации _12.07.2024.xml (12.07.2024)", // List name
      "testMessageResults": "Совпадений не выявлено" // Test results message
    }
  ]
}

Client ID 1162 check results analysis:

  1. Check #1: Test from 03.08.2025 - no matches found
  2. Check #2: Test from 03.08.2025 - no matches found
  3. Check #3: Test from 03.08.2025 - no matches found

Overall result: Client not found in the Interdepartmental Commission on Counter-Legalization lists


Show current client status by ID

GET|HEAD /api/freeze/client-status/{client_id}

Description

The method returns the current client status by their ID. Status can be FOUND (found) or NOT_FOUND (not found).

Request Parameters

{client_id} (integer, required) — unique client identifier.

Request Example

GET /api/freeze/client-status/1162

Successful Response Example

json
{
  "status": "ok", // Response status
  "timestamp": 1754223115000, // Response timestamp
  "data": {
    "clientId": "1162", // Client ID
    "checkLog": [
      // Client check history
      {
        "found": false, // Check result - not found
        "date": "2025-08-03T12:06:46+00:00" // Check date and time
      },
      {
        "found": false, // Check result - not found
        "date": "2025-08-03T12:07:59+00:00" // Check date and time
      },
      {
        "found": false, // Check result - not found
        "date": "2025-08-03T12:08:04+00:00" // Check date and time
      }
    ],
    "currentStatus": false, // Current client status (false - not found, true - found)
    "rfm_id": 0, // Record ID in the IDC decision system (0 if not found)
    "lastCheck": "2025-08-03T12:08:04+00:00" // Last check date and time
  }
}

Client ID 1162 check history analysis:

  1. 03.08.2025 12:06:46: Client not found in the IDC decision system
  2. 03.08.2025 12:07:59: Client not found in the IDC decision system
  3. 03.08.2025 12:08:04: Client not found in the IDC decision system

Get client check information

GET|HEAD /api/freeze/client/{client_id}/check

Description

The method returns current information about a client check in the IDC decision system. Shows the client's current status as of the last check.

Request Parameters

{client_id} (integer, required) — unique client identifier.

Request Example

GET /api/freeze/client/1162/check

Successful Response Example

json
{
  "status": "ok", // Response status
  "timestamp": 1754223301000, // Response timestamp
  "data": {
    "found": "not found", // Check result - client not found in the IDC decision system
    "status": "NOT_FOUND" // Client status - not found in the IDC decision system
  }
}

Run new client check

POST /api/freeze/client/{client_id}/check

Description

The method runs a new client check in the IDC decision system and returns the current result. Unlike the GET method, this method forcibly updates the client status.

Request Parameters

{client_id} (integer, required) — unique client identifier.

Request Example

POST /api/freeze/client/1162/check

Successful Response Example

json
{
  "status": "ok", // Response status
  "timestamp": 1754223420000, // Response timestamp
  "data": {
    "found": "not found", // Check result - client not found in the IDC decision system
    "status": "NOT_FOUND" // Client status - not found in the IDC decision system
  }
}

Get client check result

GET|HEAD /api/freeze/client/{client_id}/result

Description

The method returns a detailed check history for a client by their ID. Each record in the history contains information about whether the client was found in the IDC decision system at the time of the check.

Request Parameters

{client_id} (integer, required) — unique client identifier.

Request Example

GET /api/freeze/client/1162/result

Successful Response Example

json
{
  "status": "ok", // Response status
  "timestamp": 1754223536000, // Response timestamp
  "data": [
    // Array of client check results
    {
      "number": 1, // Check number
      "testDate": "03.08.2025", // Test date
      "testResult": "Нет", // Test result (Нет - not found, Да - found)
      "testResultNo": "Да", // Inverse test result
      "listDateYes": "", // List date for positive result
      "listDate": "12.07.2024", // List date
      "listDateCorrect": "25.02.2025", // Corrected list date
      "listName": "Межведомственная комиссия по противодействию легализации _12.07.2024.xml (12.07.2024)", // List name
      "testMessageResults": "Совпадений не выявлено" // Test results message
    },
    {
      "number": 2, // Check number
      "testDate": "03.08.2025", // Test date
      "testResult": "Нет", // Test result
      "testResultNo": "Да", // Inverse test result
      "listDateYes": "", // List date for positive result
      "listDate": "12.07.2024", // List date
      "listDateCorrect": "12.07.2024", // Corrected list date
      "listName": "Межведомственная комиссия по противодействию легализации _12.07.2024.xml (12.07.2024)", // List name
      "testMessageResults": "Совпадений не выявлено" // Test results message
    },
    {
      "number": 3, // Check number
      "testDate": "03.08.2025", // Test date
      "testResult": "Нет", // Test result
      "testResultNo": "Да", // Inverse test result
      "listDateYes": "", // List date for positive result
      "listDate": "12.07.2024", // List date
      "listDateCorrect": "12.07.2024", // Corrected list date
      "listName": "Межведомственная комиссия по противодействию легализации _12.07.2024.xml (12.07.2024)", // List name
      "testMessageResults": "Совпадений не выявлено" // Test results message
    }
  ]
}

Client ID 1162 check results analysis:

  1. Check #1: Test from 03.08.2025 - no matches found
  2. Check #2: Test from 03.08.2025 - no matches found
  3. Check #3: Test from 03.08.2025 - no matches found

Overall result: Client not found in the Interdepartmental Commission on Counter-Legalization lists


Show current client status by ID

GET|HEAD /api/freeze/client/{client_id}/status

Description

The method returns the current client status by their ID. Includes the complete client check history, current status, and identifiers. Status can be true (found) or false (not found).

Request Parameters

{client_id} (integer, required) — unique client identifier.

Request Example

GET /api/freeze/client/1162/status

Successful Response Example

json
{
  "status": "ok", // Response status
  "timestamp": 1754223822000, // Response timestamp
  "data": {
    "clientId": "1162", // Client ID
    "checkLog": [
      // Client check history
      {
        "found": false, // Check result - not found
        "date": "2025-08-03T12:06:46+00:00" // Check date and time
      },
      {
        "found": false, // Check result - not found
        "date": "2025-08-03T12:07:59+00:00" // Check date and time
      },
      {
        "found": false, // Check result - not found
        "date": "2025-08-03T12:08:04+00:00" // Check date and time
      },
      {
        "found": false, // Check result - not found
        "date": "2025-08-03T12:15:01+00:00" // Check date and time
      },
      {
        "found": false, // Check result - not found
        "date": "2025-08-03T12:17:00+00:00" // Check date and time
      }
    ],
    "currentStatus": false, // Current client status (false - not found, true - found)
    "rfm_id": 0, // Record ID in the IDC decision system (0 if not found)
    "lastCheck": "2025-08-03T12:17:00+00:00" // Last check date and time
  }
}

Client ID 1162 check history analysis:

  1. 03.08.2025 12:06:46: Client not found in the IDC decision system
  2. 03.08.2025 12:07:59: Client not found in the IDC decision system
  3. 03.08.2025 12:08:04: Client not found in the IDC decision system
  4. 03.08.2025 12:15:01: Client not found in the IDC decision system
  5. 03.08.2025 12:17:00: Client not found in the IDC decision system

Overall result: Client not found in the IDC decision system (5 consecutive checks showed negative result)