2026-01-02 07:26:47.5574||DEBUG|AccountManagement.Program|init main function 2026-01-02 07:26:53.2777|30000|WARN|Microsoft.EntityFrameworkCore.Model.Validation|No type was specified for the decimal column 'Amount' on entity type 'WaysMeans'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values using 'HasColumnType()'. 2026-01-02 07:26:53.2909|30000|WARN|Microsoft.EntityFrameworkCore.Model.Validation|No type was specified for the decimal column 'CurrentBalance' on entity type 'SourceAccountManagements'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values using 'HasColumnType()'. 2026-01-02 07:26:53.2909|30000|WARN|Microsoft.EntityFrameworkCore.Model.Validation|No type was specified for the decimal column 'OverdraftLimit' on entity type 'SourceAccountManagements'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values using 'HasColumnType()'. 2026-01-02 07:26:53.3444|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 07:26:54.0562|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2026-01-02 07:26:54.0780|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2026-01-02 07:26:54.0780|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2026-01-02 07:26:54.0780|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2026-01-02 07:26:54.1009|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2026-01-02 07:26:54.1152|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2026-01-02 07:26:55.0881||INFO|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|User profile not available. Using 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys\S-1-5-82-636400548-2315632189-4083574877-3698939047-2307078153\DataProtection' as key repository and Windows DPAPI to encrypt keys at rest. 2026-01-02 07:26:55.2673|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=578 2026-01-02 07:26:55.2673|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 07:26:55.2673|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 07:26:55.2673|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 07:26:56.0784|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 07:26:56.0784|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 07:26:56.0784|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 07:26:56.0784|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 07:26:56.0784|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 820.6095ms 204 2026-01-02 07:26:56.0784|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 820.5816ms 204 2026-01-02 07:26:56.0784|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 820.6262ms 204 2026-01-02 07:26:56.0784|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 821.0473ms 204 2026-01-02 07:26:56.5668|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 07:26:56.5668|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 07:26:56.5668|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=578 2026-01-02 07:26:56.5785|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 07:26:57.0052|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 07:26:57.0052|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 07:26:57.0052|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 07:26:57.0052|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 07:26:57.0052|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 07:26:57.0167|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 07:26:57.0167|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 07:26:57.0167|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 07:26:57.0167|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 07:26:57.0167|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 07:26:57.0167|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 07:26:57.0167|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 07:26:57.0329|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 07:26:57.0329|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 07:26:57.0329|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 07:26:57.0329|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 07:26:57.0680|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 07:26:57.0680|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 07:26:57.0879|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 07:26:57.0879|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 07:26:57.0879|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 07:26:57.1183|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 07:26:57.1183|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 07:26:57.1183||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 07:26:57.3679|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 07:26:57.4347|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 07:26:57.4367|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (40ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 07:26:57.4367|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (36ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 07:26:57.4565|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 07:26:57.4687|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 396.3845ms 2026-01-02 07:26:57.4687|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 376.3958ms 2026-01-02 07:26:57.4687|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 07:26:57.4687|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 07:26:57.4687||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 07:26:57.4687|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 907.9377ms 200 application/json; charset=utf-8 2026-01-02 07:26:57.4687|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 908.7155ms 200 application/json; charset=utf-8 2026-01-02 07:26:57.4687||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 07:26:57.4687||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 07:26:57.4687||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 07:26:57.9611||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 07:26:57.9611||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 07:26:57.9921||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 07:26:57.9921||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 07:26:58.0012||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 07:26:58.0012||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 07:26:59.3408||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 07:26:59.3439||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 07:26:59.3439||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 07:26:59.3439||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 07:26:59.3439||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 07:26:59.3439|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 07:26:59.3609|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 2264.6001ms 2026-01-02 07:26:59.3609|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 07:26:59.3609|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2785.4644ms 200 application/json; charset=utf-8 2026-01-02 07:26:59.3873||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 07:26:59.3924||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 07:26:59.3924||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 07:27:00.4865||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 07:27:00.4865||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 07:27:00.4865||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 07:27:00.5219||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 07:27:00.5219||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 07:27:00.5219||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 07:27:01.6095||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 07:27:01.6095||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 07:27:01.6095||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 07:27:01.6360||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 07:27:01.6360||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 07:27:01.6411||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 07:27:02.7261||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 07:27:02.7261||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 07:27:02.7358||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 07:27:02.7539||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 07:27:02.7539||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 07:27:02.7539||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 07:27:03.8429||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 07:27:03.8429||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 07:27:03.8429||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 07:27:03.8713||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 07:27:03.8754||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 07:27:03.8754||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 07:27:04.9545||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 07:27:04.9545||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 07:27:04.9545||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 07:27:04.9828||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 07:27:05.0738|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@p4='?' (DbType = Int64), @p0='?' (DbType = Decimal), @p1='?' (DbType = DateTime2), @p2='?' (DbType = DateTime2), @p3='?' (DbType = Int64), @p9='?' (DbType = Int64), @p5='?' (DbType = Decimal), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p14='?' (DbType = Int64), @p10='?' (DbType = Decimal), @p11='?' (DbType = DateTime2), @p12='?' (DbType = DateTime2), @p13='?' (DbType = Int64), @p19='?' (DbType = Int64), @p15='?' (DbType = Decimal), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p24='?' (DbType = Int64), @p20='?' (DbType = Decimal), @p21='?' (DbType = DateTime2), @p22='?' (DbType = DateTime2), @p23='?' (DbType = Int64), @p29='?' (DbType = Int64), @p25='?' (DbType = Decimal), @p26='?' (DbType = DateTime2), @p27='?' (DbType = DateTime2), @p28='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalance] = @p0, [CurrentBalanceLastUpdatedTime] = @p1, [DateModified] = @p2, [ModifiedBy] = @p3 WHERE [Id] = @p4; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalance] = @p5, [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7, [ModifiedBy] = @p8 WHERE [Id] = @p9; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalance] = @p10, [CurrentBalanceLastUpdatedTime] = @p11, [DateModified] = @p12, [ModifiedBy] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalance] = @p15, [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalance] = @p20, [CurrentBalanceLastUpdatedTime] = @p21, [DateModified] = @p22, [ModifiedBy] = @p23 WHERE [Id] = @p24; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalance] = @p25, [CurrentBalanceLastUpdatedTime] = @p26, [DateModified] = @p27, [ModifiedBy] = @p28 WHERE [Id] = @p29; SELECT @@ROWCOUNT; 2026-01-02 07:27:05.1070|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 07:27:05.1215|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 07:27:05.1428|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 07:27:05.1428|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 07:27:05.1598|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 07:27:05.1598|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 07:27:05.1598|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 07:27:05.1736|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 07:27:05.1736|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 07:27:05.1736|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 07:27:05.1870|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 07:27:05.1870|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 07:27:05.1870|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 07:27:05.3542|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 07:27:05.3679|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 8274.5154ms 2026-01-02 07:27:05.3679|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 07:27:05.3679|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8805.5655ms 200 application/json; charset=utf-8 2026-01-02 07:35:51.3049|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=578 2026-01-02 07:35:51.3097|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 07:35:51.3097|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.5103ms 204 2026-01-02 07:35:51.3420|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 07:35:51.3420|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 07:35:51.3420|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 07:35:51.3420|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 07:35:51.3420|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 07:35:51.3420|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 07:35:51.3420|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.7543ms 204 2026-01-02 07:35:51.3420|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.2449ms 204 2026-01-02 07:35:51.3549|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.3665ms 204 2026-01-02 07:35:51.3549|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=578 2026-01-02 07:35:51.3549|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 07:35:51.3549|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 07:35:51.3549|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 07:35:51.3549|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 07:35:51.3769|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 07:35:51.3769|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 07:35:51.4017|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 07:35:51.4017|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 07:35:51.4017|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 29.2075ms 2026-01-02 07:35:51.4017|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 07:35:51.4017|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 54.5657ms 200 application/json; charset=utf-8 2026-01-02 07:35:51.4017|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 07:35:51.4017|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 07:35:51.4017|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 07:35:51.4173|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 07:35:51.4173|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 07:35:51.4173|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 07:35:51.4173|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 07:35:51.4173|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 07:35:51.4173|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 07:35:51.4173|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 07:35:51.4173|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 07:35:51.4173|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 07:35:51.4339|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 07:35:51.4339|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 07:35:51.4339|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 07:35:51.4339|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 07:35:51.4339|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 07:35:51.4339|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 07:35:51.4339||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 07:35:51.4339|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 07:35:51.4489|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 07:35:51.4489|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 07:35:51.4489|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 07:35:51.4489||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 07:35:51.4638|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 07:35:51.4638||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 07:35:51.4638|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 19.0951ms 2026-01-02 07:35:51.4638||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 07:35:51.4638|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 07:35:51.4638|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 58.701ms 200 application/json; charset=utf-8 2026-01-02 07:35:51.4638||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 07:35:51.4999||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 07:35:51.4999||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 07:35:51.4999||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 07:35:51.4999||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 07:35:51.5124||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 07:35:51.5124||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 07:35:52.6067||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 07:35:52.6067||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 07:35:52.6067||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 07:35:52.6067||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 07:35:52.6067|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 07:35:52.6199||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 07:35:52.6199|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1175.94ms 2026-01-02 07:35:52.6199|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 07:35:52.6199|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1211.7434ms 200 application/json; charset=utf-8 2026-01-02 07:35:52.6406||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 07:35:52.6406||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 07:35:52.6406||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 07:35:53.7437||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 07:35:53.7489||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 07:35:53.7489||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 07:35:53.7684||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 07:35:53.7684||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 07:35:53.7684||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 07:35:54.8553||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 07:35:54.8553||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 07:35:54.8553||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 07:35:54.8769||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 07:35:54.8769||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 07:35:54.8769||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 07:35:55.9509||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 07:35:55.9509||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 07:35:55.9509||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 07:35:55.9737||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 07:35:55.9737||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 07:35:55.9737||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 07:35:57.0641||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 07:35:57.0641||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 07:35:57.0641||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 07:35:57.0921||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 07:35:57.0921||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 07:35:57.0921||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 07:35:58.1988||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 07:35:58.2019||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 07:35:58.2019||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 07:35:58.2205||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 07:35:58.2355|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 07:35:58.2355|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 07:35:58.2502|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 07:35:58.2502|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 07:35:58.2502|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 07:35:58.2502|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 07:35:58.2635|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 07:35:58.2635|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 07:35:58.2635|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 07:35:58.2791|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 07:35:58.2791|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 07:35:58.2791|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 07:35:58.2791|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 07:35:58.2791|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 07:35:58.3415|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 07:35:58.3415|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6899.2817ms 2026-01-02 07:35:58.3415|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 07:35:58.3415|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6935.636ms 200 application/json; charset=utf-8 2026-01-02 07:56:45.9461|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:33585/ACCOUNTSERVICES/iisintegration 0 2026-01-02 07:56:45.9499|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.8334ms 202 2026-01-02 08:17:56.0179||DEBUG|AccountManagement.Program|init main function 2026-01-02 08:17:58.7094|30000|WARN|Microsoft.EntityFrameworkCore.Model.Validation|No type was specified for the decimal column 'Amount' on entity type 'WaysMeans'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values using 'HasColumnType()'. 2026-01-02 08:17:58.7094|30000|WARN|Microsoft.EntityFrameworkCore.Model.Validation|No type was specified for the decimal column 'CurrentBalance' on entity type 'SourceAccountManagements'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values using 'HasColumnType()'. 2026-01-02 08:17:58.7270|30000|WARN|Microsoft.EntityFrameworkCore.Model.Validation|No type was specified for the decimal column 'OverdraftLimit' on entity type 'SourceAccountManagements'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values using 'HasColumnType()'. 2026-01-02 08:17:58.7552|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 08:17:59.0124|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (16ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2026-01-02 08:17:59.0345|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2026-01-02 08:17:59.0402|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2026-01-02 08:17:59.0402|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2026-01-02 08:17:59.0570|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2026-01-02 08:17:59.0716|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2026-01-02 08:17:59.2265||INFO|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|User profile not available. Using 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys\S-1-5-82-636400548-2315632189-4083574877-3698939047-2307078153\DataProtection' as key repository and Windows DPAPI to encrypt keys at rest. 2026-01-02 08:17:59.6266|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 08:17:59.6266|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 08:17:59.6266|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=578 2026-01-02 08:17:59.6266|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 08:17:59.7109|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 08:17:59.7109|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 08:17:59.7109|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 08:17:59.7109|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 08:17:59.7109|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 95.4861ms 204 2026-01-02 08:17:59.7109|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 95.5115ms 204 2026-01-02 08:17:59.7109|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 95.551ms 204 2026-01-02 08:17:59.7109|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 95.4993ms 204 2026-01-02 08:17:59.8233|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=578 2026-01-02 08:17:59.8233|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 08:17:59.8233|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 08:17:59.8233|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 08:18:00.0215|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 08:18:00.0215|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 08:18:00.0215|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 08:18:00.0215|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 08:18:00.0215|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 08:18:00.0215|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 08:18:00.0215|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 08:18:00.0215|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 08:18:00.0357|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 08:18:00.0357|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 08:18:00.0357|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 08:18:00.0357|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 08:18:00.0357|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 08:18:00.0357|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 08:18:00.0357|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 08:18:00.0357|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 08:18:00.0675|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 08:18:00.0675|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 08:18:00.0675|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 08:18:00.0675|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 08:18:00.0675|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 08:18:00.0881|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 08:18:00.1038|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 08:18:00.1038||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 08:18:00.2693|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 08:18:00.3180||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 08:18:00.3180||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 08:18:00.3180|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (33ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 08:18:00.3180|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (37ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 08:18:00.3399|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 08:18:00.3399|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 08:18:00.3624|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 279.9045ms 2026-01-02 08:18:00.3640|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 08:18:00.3640||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 08:18:00.3640|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 297.2271ms 2026-01-02 08:18:00.3640|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 543.3337ms 200 application/json; charset=utf-8 2026-01-02 08:18:00.3640|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 08:18:00.3640||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 08:18:00.3640|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 544.6828ms 200 application/json; charset=utf-8 2026-01-02 08:18:00.5345||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 08:18:00.5345||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 08:18:00.5631||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 08:18:00.5631||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 08:18:00.5681||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 08:18:00.5681||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 08:18:01.6733||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 08:18:01.6733||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 08:18:01.6785||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 08:18:01.6785||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 08:18:01.6785||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 08:18:01.6785|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 08:18:01.6957|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1613.4664ms 2026-01-02 08:18:01.6957|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 08:18:01.6957|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1874.3498ms 200 application/json; charset=utf-8 2026-01-02 08:18:01.7112||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 08:18:01.7112||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 08:18:01.7112||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 08:18:02.8028||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 08:18:02.8028||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 08:18:02.8028||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 08:18:02.8304||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 08:18:02.8353||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 08:18:02.8353||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 08:18:03.9300||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 08:18:03.9300||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 08:18:03.9300||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 08:18:03.9495||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 08:18:03.9495||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 08:18:03.9495||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 08:18:05.0389||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 08:18:05.0389||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 08:18:05.0389||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 08:18:05.0654||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 08:18:05.0695||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 08:18:05.0695||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 08:18:06.1626||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 08:18:06.1626||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 08:18:06.1626||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 08:18:06.1911||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 08:18:06.1969||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 08:18:06.1969||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 08:18:07.2911||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 08:18:07.2911||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 08:18:07.2911||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 08:18:07.3181||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 08:18:07.4079|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 08:18:07.4347|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 08:18:07.4477|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 08:18:07.4710|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 08:18:07.4770|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 08:18:07.4770|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 08:18:07.4770|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 08:18:07.4770|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 08:18:07.4901|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 08:18:07.4901|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 08:18:07.4901|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 08:18:07.4901|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 08:18:07.4901|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 08:18:07.5058|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 08:18:07.6270|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 08:18:07.6430|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 7559.2739ms 2026-01-02 08:18:07.6451|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 08:18:07.6451|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7821.0166ms 200 application/json; charset=utf-8 2026-01-02 08:38:55.1480|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:20344/ACCOUNTSERVICES/iisintegration 0 2026-01-02 08:38:55.1480|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.97ms 202 2026-01-02 08:52:34.6709||DEBUG|AccountManagement.Program|init main function 2026-01-02 08:52:37.2389|30000|WARN|Microsoft.EntityFrameworkCore.Model.Validation|No type was specified for the decimal column 'Amount' on entity type 'WaysMeans'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values using 'HasColumnType()'. 2026-01-02 08:52:37.2517|30000|WARN|Microsoft.EntityFrameworkCore.Model.Validation|No type was specified for the decimal column 'CurrentBalance' on entity type 'SourceAccountManagements'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values using 'HasColumnType()'. 2026-01-02 08:52:37.2517|30000|WARN|Microsoft.EntityFrameworkCore.Model.Validation|No type was specified for the decimal column 'OverdraftLimit' on entity type 'SourceAccountManagements'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values using 'HasColumnType()'. 2026-01-02 08:52:37.2888|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 08:52:37.5354|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2026-01-02 08:52:37.5569|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2026-01-02 08:52:37.5695|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2026-01-02 08:52:37.5695|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2026-01-02 08:52:37.5887|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2026-01-02 08:52:37.6042|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2026-01-02 08:52:37.7720||INFO|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|User profile not available. Using 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys\S-1-5-82-636400548-2315632189-4083574877-3698939047-2307078153\DataProtection' as key repository and Windows DPAPI to encrypt keys at rest. 2026-01-02 08:52:37.9970|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 08:52:37.9970|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 08:52:37.9969|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 08:52:37.9970|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2026-01-02 08:52:38.0732|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 08:52:38.0732|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 08:52:38.0732|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 08:52:38.0732|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 08:52:38.0840|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 87.2467ms 204 2026-01-02 08:52:38.0840|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 87.2649ms 204 2026-01-02 08:52:38.0840|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 85.7733ms 204 2026-01-02 08:52:38.0840|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 87.2667ms 204 2026-01-02 08:52:38.1209|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2026-01-02 08:52:38.1209|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 08:52:38.1209|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 08:52:38.1209|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 08:52:38.3443|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 08:52:38.3443|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 08:52:38.3443|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 08:52:38.3443|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 08:52:38.3499|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 08:52:38.3499|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 08:52:38.3499|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 08:52:38.3499|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 08:52:38.3499|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 08:52:38.3499|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 08:52:38.3499|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 08:52:38.3602|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 08:52:38.3602|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 08:52:38.3602|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 08:52:38.3602|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 08:52:38.3602|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 08:52:38.3937|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 08:52:38.3937|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 08:52:38.4076|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 08:52:38.4076|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 08:52:38.4076|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 08:52:38.4317||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 08:52:38.4405|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 08:52:38.4405|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 08:52:38.5812|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 08:52:38.6332||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 08:52:38.6332||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 08:52:38.6418|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (36ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 08:52:38.6418|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (30ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 08:52:38.6418|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 08:52:38.6606|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 08:52:38.6745|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 263.1571ms 2026-01-02 08:52:38.6745|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 280.0073ms 2026-01-02 08:52:38.6745|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 08:52:38.6745|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 08:52:38.6745||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 08:52:38.6745|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 560.3277ms 200 application/json; charset=utf-8 2026-01-02 08:52:38.6745|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 560.3321ms 200 application/json; charset=utf-8 2026-01-02 08:52:38.6745||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 08:52:38.8445||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 08:52:38.8445||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 08:52:38.8733||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 08:52:38.8733||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 08:52:38.8793||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 08:52:38.8793||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 08:52:39.3367||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 08:52:39.3466||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 08:52:39.3466|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 08:52:39.3466|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 943.8501ms 2026-01-02 08:52:39.3466|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 08:52:39.3466|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1236.1299ms 200 application/json; charset=utf-8 2026-01-02 08:52:39.3775||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 08:52:39.3959||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 08:52:39.3959||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 08:52:39.4174||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 08:52:39.4174||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 08:52:39.4229||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 08:52:39.9638||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 08:52:39.9638||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 08:52:39.9717||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 08:52:39.9897||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 08:52:39.9897||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 08:52:39.9897||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 08:52:40.5603||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 08:52:40.5603||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 08:52:40.5699||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 08:52:40.5885||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 08:52:40.5885||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 08:52:40.5885||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 08:52:41.2237||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 08:52:41.2302||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 08:52:41.2302||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 08:52:41.2537||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 08:52:41.2576||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 08:52:41.2576||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 08:52:41.7343||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 08:52:41.7343||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 08:52:41.7417||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 08:52:41.7624||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 08:52:41.7624||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 08:52:41.7624||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 08:52:42.1824||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 08:52:42.1824||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 08:52:42.1824||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 08:52:42.2125||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 08:52:42.3099|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (8ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 08:52:42.3395|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 08:52:42.3519|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 08:52:42.3723|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 08:52:42.3723|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 08:52:42.3837|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 08:52:42.3837|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 08:52:42.3837|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 08:52:42.3837|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 08:52:42.4011|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 08:52:42.4011|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 08:52:42.4011|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 08:52:42.4316|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 08:52:42.4316|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 08:52:42.5640|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 08:52:42.5776|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 4165.5651ms 2026-01-02 08:52:42.5776|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 08:52:42.5776|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4460.721ms 200 application/json; charset=utf-8 2026-01-02 08:54:59.8504|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 08:54:59.8504|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 08:54:59.8504|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 08:54:59.8504|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 08:54:59.8504|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 08:54:59.8504|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 08:54:59.8504|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.0593ms 204 2026-01-02 08:54:59.8504|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.834ms 204 2026-01-02 08:54:59.8607|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.6731ms 204 2026-01-02 08:54:59.8607|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 08:54:59.8607|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 08:54:59.8607|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 08:54:59.8607|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 08:54:59.8607|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 08:54:59.8607|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 08:54:59.8607|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 08:54:59.8607|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 08:54:59.8768|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 08:54:59.8768|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 08:54:59.8768|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 08:54:59.8768|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 08:54:59.8768|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 08:54:59.8768|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 08:54:59.8768|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 08:54:59.8768|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 08:54:59.8768|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 08:54:59.8768|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 08:54:59.8768|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 08:54:59.8768||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 08:54:59.8768|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 08:54:59.8940|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 08:54:59.8940|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 08:54:59.8940||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 08:54:59.8940|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 13.7648ms 2026-01-02 08:54:59.8940||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 08:54:59.8940|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 08:54:59.8940|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 08:54:59.8940|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 34.6556ms 200 application/json; charset=utf-8 2026-01-02 08:54:59.8940||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 08:54:59.8940||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 08:54:59.9241||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 08:54:59.9241||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 08:54:59.9241||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 08:54:59.9241||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 08:54:59.9241||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 08:54:59.9241||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 08:55:00.3065||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 08:55:00.3065||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 08:55:00.3172||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 08:55:00.3349||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 08:55:00.3349||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 08:55:00.3349||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 08:55:00.7099||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 08:55:00.7099||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 08:55:00.7099||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 08:55:00.7355||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 08:55:00.7398||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 08:55:00.7398||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 08:55:01.1360||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 08:55:01.1360||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 08:55:01.1462||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 08:55:01.1670||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 08:55:01.1670||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 08:55:01.1758||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 08:55:01.3667||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 08:55:01.3667||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 08:55:01.3667|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 08:55:01.3667|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1485.4416ms 2026-01-02 08:55:01.3764|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 08:55:01.3764|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1510.2326ms 200 application/json; charset=utf-8 2026-01-02 08:55:01.5702||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 08:55:01.5702||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 08:55:01.5702||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 08:55:01.5932||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 08:55:01.5970||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 08:55:01.5970||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 08:55:01.9794||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 08:55:01.9794||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 08:55:01.9891||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 08:55:02.0055||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 08:55:02.0055||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 08:55:02.0055||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 08:55:02.3976||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 08:55:02.3976||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 08:55:02.3976||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 08:55:02.4244||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 08:55:02.4244|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 08:55:02.4426|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 08:55:02.4426|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 08:55:02.4426|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 08:55:02.4426|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 08:55:02.4579|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 08:55:02.4579|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 08:55:02.4579|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 08:55:02.4579|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 08:55:02.4729|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 08:55:02.4729|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 08:55:02.4729|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 08:55:02.4729|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 08:55:02.4858|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 08:55:02.5493|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 08:55:02.5493|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2660.6302ms 2026-01-02 08:55:02.5493|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 08:55:02.5493|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2687.3127ms 200 application/json; charset=utf-8 2026-01-02 09:15:33.8021|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:8013/ACCOUNTSERVICES/iisintegration 0 2026-01-02 09:15:33.8021|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2.9296ms 202 2026-01-02 09:59:23.2461||DEBUG|AccountManagement.Program|init main function 2026-01-02 09:59:26.5589|30000|WARN|Microsoft.EntityFrameworkCore.Model.Validation|No type was specified for the decimal column 'Amount' on entity type 'WaysMeans'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values using 'HasColumnType()'. 2026-01-02 09:59:26.5589|30000|WARN|Microsoft.EntityFrameworkCore.Model.Validation|No type was specified for the decimal column 'CurrentBalance' on entity type 'SourceAccountManagements'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values using 'HasColumnType()'. 2026-01-02 09:59:26.5732|30000|WARN|Microsoft.EntityFrameworkCore.Model.Validation|No type was specified for the decimal column 'OverdraftLimit' on entity type 'SourceAccountManagements'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values using 'HasColumnType()'. 2026-01-02 09:59:26.6079|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 09:59:26.8576|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2026-01-02 09:59:26.8792|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2026-01-02 09:59:26.8854|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2026-01-02 09:59:26.8854|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2026-01-02 09:59:26.9112|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2026-01-02 09:59:26.9312|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2026-01-02 09:59:27.0963||INFO|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|User profile not available. Using 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys\S-1-5-82-636400548-2315632189-4083574877-3698939047-2307078153\DataProtection' as key repository and Windows DPAPI to encrypt keys at rest. 2026-01-02 09:59:27.3451|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 09:59:27.3451|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=533 2026-01-02 09:59:27.3451|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2026-01-02 09:59:27.3451|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 09:59:27.4136|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 09:59:27.4136|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 09:59:27.4136|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 09:59:27.4136|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 09:59:27.4201|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 75.8236ms 204 2026-01-02 09:59:27.4201|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 76.3468ms 204 2026-01-02 09:59:27.4201|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 76.3589ms 204 2026-01-02 09:59:27.4201|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 77.244ms 204 2026-01-02 09:59:27.4675|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2026-01-02 09:59:27.4675|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 09:59:27.4675|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=533 2026-01-02 09:59:27.4675|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 09:59:27.6743|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 09:59:27.6743|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 09:59:27.6743|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 09:59:27.6743|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 09:59:27.6743|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 09:59:27.6743|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 09:59:27.6858|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 09:59:27.6858|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 09:59:27.6858|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 09:59:27.6858|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 09:59:27.6858|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 09:59:27.6858|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 09:59:27.6858|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 09:59:27.6858|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 09:59:27.6858|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 09:59:27.6858|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 09:59:27.7211|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 09:59:27.7211|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 09:59:27.7292|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 09:59:27.7292|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 09:59:27.7292|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 09:59:27.7592|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 09:59:27.7540||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 209 2026-01-02 09:59:27.7592|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 09:59:27.9233|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 09:59:27.9740||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 09:59:27.9740||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2026-01-02 09:59:27.9777|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (29ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 09:59:27.9777|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (34ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 09:59:27.9777|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 09:59:27.9985|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 09:59:28.0119|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 278.119ms 2026-01-02 09:59:28.0119|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 09:59:28.0119||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 09:59:28.0119|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 548.3802ms 200 application/json; charset=utf-8 2026-01-02 09:59:28.0119|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 293.248ms 2026-01-02 09:59:28.0119||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2026-01-02 09:59:28.0119|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 09:59:28.0119|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 554.6641ms 200 application/json; charset=utf-8 2026-01-02 09:59:28.1695||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 09:59:28.1695||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 09:59:28.1971||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 09:59:28.1971||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 09:59:28.1971||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 09:59:28.1971||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0112012335 2026-01-02 09:59:28.6226||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 09:59:28.6507||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 09:59:28.6507||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 09:59:28.6703||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 09:59:28.6703||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 09:59:28.6834|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 09:59:28.6834|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 954.8918ms 2026-01-02 09:59:28.6834||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 09:59:28.6834|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 09:59:28.6834|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1226.122ms 200 application/json; charset=utf-8 2026-01-02 09:59:28.6834||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 09:59:28.7016||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011201233545 2026-01-02 09:59:29.1048||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 09:59:29.1048||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 09:59:29.1048||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 09:59:29.1438||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 09:59:29.2387|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (8ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = Decimal), @p1='?' (DbType = DateTime2), @p2='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalance] = @p0, [CurrentBalanceLastUpdatedTime] = @p1, [DateModified] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; 2026-01-02 09:59:29.2387|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = Decimal), @p1='?' (DbType = DateTime2), @p2='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalance] = @p0, [CurrentBalanceLastUpdatedTime] = @p1, [DateModified] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; 2026-01-02 09:59:29.2719|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 09:59:29.2856|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 09:59:29.3060|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 09:59:29.3244|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 09:59:29.3244|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 09:59:29.4553|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 09:59:29.4692|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 1738.654ms 2026-01-02 09:59:29.4692|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 09:59:29.4692|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2005.5411ms 200 application/json; charset=utf-8 2026-01-02 10:08:14.4950|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=495 2026-01-02 10:08:14.4950|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 10:08:14.5019|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.8163ms 204 2026-01-02 10:08:14.5019|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=495 2026-01-02 10:08:14.5019|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 10:08:14.5162|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 10:08:14.5162|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 10:08:14.5162|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 10:08:14.5162|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 10:08:14.5316|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 10:08:14.5316|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 10:08:14.5316|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 10:08:14.5316|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 10:08:14.5316|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 10:08:14.5316|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 10:08:14.5316|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.8358ms 204 2026-01-02 10:08:14.5316|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.7669ms 204 2026-01-02 10:08:14.5316|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 10:08:14.5517|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.9258ms 204 2026-01-02 10:08:14.5517|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 10:08:14.5517|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 10:08:14.5517|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 10:08:14.5517|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 10:08:14.5517|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 10:08:14.5517|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 10:08:14.5517|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 10:08:14.5517|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 32.1889ms 2026-01-02 10:08:14.5517|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 10:08:14.5628|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 10:08:14.5628|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 10:08:14.5628|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 10:08:14.5628|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 10:08:14.5628|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 10:08:14.5628|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 10:08:14.5628|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 60.0365ms 200 application/json; charset=utf-8 2026-01-02 10:08:14.5628|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 10:08:14.5628|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 10:08:14.5628|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 10:08:14.5628|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 10:08:14.5628|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 10:08:14.5786|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 10:08:14.5786|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 10:08:14.5786|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 10:08:14.5786|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 10:08:14.5786||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 10:08:14.5786|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 10:08:14.5952|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 10:08:14.5952|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 10:08:14.5952|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 17.036ms 2026-01-02 10:08:14.5952||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 10:08:14.5952|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 10:08:14.5952||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 10:08:14.5952||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 10:08:14.5952|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 50.4442ms 200 application/json; charset=utf-8 2026-01-02 10:08:14.5952||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 10:08:14.6328||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 10:08:14.6328||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 10:08:14.6328||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 10:08:14.6328||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 10:08:14.6452||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 10:08:14.6452||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 10:08:15.1117||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 10:08:15.1117||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 10:08:15.1117||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 10:08:15.1411||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 10:08:15.1411||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 10:08:15.1411||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 10:08:15.6083||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 10:08:15.6143||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 10:08:15.6143||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 10:08:15.6343||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 10:08:15.6343||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 10:08:15.6415||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 10:08:15.9989||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 10:08:16.0051||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 10:08:16.0051||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 10:08:16.0268||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 10:08:16.0268||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 10:08:16.0328||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 10:08:16.1405||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 10:08:16.1440||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 10:08:16.1440|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 10:08:16.1440|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1564.9922ms 2026-01-02 10:08:16.1440|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 10:08:16.1569|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1599.0553ms 200 application/json; charset=utf-8 2026-01-02 10:08:16.3882||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 10:08:16.3946||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 10:08:16.3946||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 10:08:16.4145||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 10:08:16.4145||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 10:08:16.4250||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 10:08:16.7790||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 10:08:16.7839||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 10:08:16.7839||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 10:08:16.8053||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 10:08:16.8053||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 10:08:16.8166||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 10:08:17.1845||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 10:08:17.1885||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 10:08:17.1885||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 10:08:17.2106||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 10:08:17.2308|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 10:08:17.2427|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 10:08:17.2427|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 10:08:17.2524|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 10:08:17.2524|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 10:08:17.2524|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 10:08:17.2524|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 10:08:17.2675|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 10:08:17.2675|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 10:08:17.2675|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 10:08:17.2825|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 10:08:17.2825|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 10:08:17.2825|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 10:08:17.2825|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 10:08:17.3522|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 10:08:17.3522|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2773.3978ms 2026-01-02 10:08:17.3522|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 10:08:17.3522|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2805.3373ms 200 application/json; charset=utf-8 2026-01-02 10:28:22.3304|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:23524/ACCOUNTSERVICES/iisintegration 0 2026-01-02 10:28:22.3349|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.6445ms 202 2026-01-02 11:15:43.1530||DEBUG|AccountManagement.Program|init main function 2026-01-02 11:15:45.9164|30000|WARN|Microsoft.EntityFrameworkCore.Model.Validation|No type was specified for the decimal column 'Amount' on entity type 'WaysMeans'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values using 'HasColumnType()'. 2026-01-02 11:15:45.9273|30000|WARN|Microsoft.EntityFrameworkCore.Model.Validation|No type was specified for the decimal column 'CurrentBalance' on entity type 'SourceAccountManagements'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values using 'HasColumnType()'. 2026-01-02 11:15:45.9273|30000|WARN|Microsoft.EntityFrameworkCore.Model.Validation|No type was specified for the decimal column 'OverdraftLimit' on entity type 'SourceAccountManagements'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values using 'HasColumnType()'. 2026-01-02 11:15:45.9552|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:15:46.1956|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2026-01-02 11:15:46.2172|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2026-01-02 11:15:46.2172|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2026-01-02 11:15:46.2172|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2026-01-02 11:15:46.2400|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2026-01-02 11:15:46.2552|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2026-01-02 11:15:46.4182||INFO|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|User profile not available. Using 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys\S-1-5-82-636400548-2315632189-4083574877-3698939047-2307078153\DataProtection' as key repository and Windows DPAPI to encrypt keys at rest. 2026-01-02 11:15:46.7551|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2026-01-02 11:15:46.7551|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:15:46.7551|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:15:46.7551|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:15:46.8411|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:15:46.8411|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:15:46.8411|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:15:46.8411|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:15:46.8411|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 100.0639ms 204 2026-01-02 11:15:46.8411|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 100.0578ms 204 2026-01-02 11:15:46.8411|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 100.062ms 204 2026-01-02 11:15:46.8411|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 100.0308ms 204 2026-01-02 11:15:46.8657|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:15:46.8755|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2026-01-02 11:15:46.8755|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:15:46.8755|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:15:47.0822|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:15:47.0822|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:15:47.0822|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:15:47.0822|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:15:47.0937|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:15:47.0937|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:15:47.0937|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:15:47.0937|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:15:47.0937|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:15:47.0937|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:15:47.0937|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:15:47.0937|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:15:47.1052|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:15:47.1052|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:15:47.1052|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:15:47.1052|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 11:15:47.1327|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 11:15:47.1382|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:15:47.1382|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 11:15:47.1382|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 11:15:47.1382|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 11:15:47.1732|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:15:47.1732|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:15:47.1732||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 11:15:47.3181|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 11:15:47.3800|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (37ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:15:47.3800|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (37ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 11:15:47.3863|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:15:47.3863||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:15:47.4015|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:15:47.4015||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:15:47.4015|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 278.9496ms 2026-01-02 11:15:47.4015|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 262.0866ms 2026-01-02 11:15:47.4015|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:15:47.4015|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 11:15:47.4189|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 543.3736ms 200 application/json; charset=utf-8 2026-01-02 11:15:47.4189|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 553.2048ms 200 application/json; charset=utf-8 2026-01-02 11:15:47.4189||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:15:47.4189||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:15:47.5933||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:15:47.5933||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:15:47.6211||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 11:15:47.6211||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:15:47.6211||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 11:15:47.6211||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 11:15:48.0788||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 11:15:48.0788||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 11:15:48.0947|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 11:15:48.0947|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 945.9572ms 2026-01-02 11:15:48.0947|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:15:48.0947|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1225.0749ms 200 application/json; charset=utf-8 2026-01-02 11:15:49.1073||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:15:49.1238||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:15:49.1238||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:15:49.1479||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:15:49.1479||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:15:49.1479||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 11:15:49.5608||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:15:49.5608||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:15:49.5608||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:15:49.5918||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:15:49.5957||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:15:49.5957||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 11:15:49.9488||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:15:49.9556||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:15:49.9556||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:15:49.9791||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:15:49.9842||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:15:49.9842||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 11:15:50.3546||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:15:50.3597||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:15:50.3597||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:15:50.3829||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:15:50.3829||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:15:50.3903||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 11:15:50.8408||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:15:50.8475||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:15:50.8475||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:15:50.8673||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:15:50.8673||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:15:50.8736||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 11:15:51.2325||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:15:51.2393||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:15:51.2393||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:15:51.2612||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:15:51.3559|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 11:15:51.4312|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (50ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 11:15:51.4460|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:15:51.4660|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:15:51.4726|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:15:51.4726|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:15:51.4726|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:15:51.4871|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:15:51.4871|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:15:51.4871|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:15:51.5001|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:15:51.5001|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:15:51.5001|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:15:51.5001|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:15:51.6380|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:15:51.6517|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 4500.1985ms 2026-01-02 11:15:51.6517|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:15:51.6560|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4779.8972ms 200 application/json; charset=utf-8 2026-01-02 11:16:07.3011|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:16:07.3011|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:16:07.3011|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:16:07.3011|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:16:07.3011|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:16:07.3011|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.4531ms 204 2026-01-02 11:16:07.3011|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:16:07.3011|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.824ms 204 2026-01-02 11:16:07.3011|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:16:07.3011|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:16:07.3011|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.2338ms 204 2026-01-02 11:16:07.3212|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:16:07.3212|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:16:07.3212|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:16:07.3212|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:16:07.3212|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:16:07.3212|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:16:07.3212|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:16:07.3212|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:16:07.3212|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:16:07.3212|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:16:07.3212|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:16:07.3325|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:16:07.3325|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:16:07.3325|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 11:16:07.3325|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 11:16:07.3325|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 11:16:07.3325|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:16:07.3325|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:16:07.3325||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 11:16:07.3486|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:16:07.3486||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:16:07.3486|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 11:16:07.3486||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:16:07.3486||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:16:07.3486|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:16:07.3486||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:16:07.3486|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 18.7802ms 2026-01-02 11:16:07.3486|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:16:07.3486|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 41.0535ms 200 application/json; charset=utf-8 2026-01-02 11:16:07.3745||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:16:07.3745||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:16:07.3745||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 11:16:07.3828||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:16:07.3828||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 11:16:07.3828||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 11:16:07.7714||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:16:07.7714||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:16:07.7802||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:16:07.7993||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:16:07.7993||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:16:07.7993||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 11:16:08.1636||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:16:08.1636||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:16:08.1712||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:16:08.1901||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:16:08.1901||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:16:08.1901||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 11:16:08.5555||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:16:08.5555||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:16:08.5633||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:16:08.5823||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:16:08.5823||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:16:08.5823||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 11:16:08.8348||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 11:16:08.8348||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 11:16:08.8348|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 11:16:08.8458|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1504.8641ms 2026-01-02 11:16:08.8458|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:16:08.8458|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1537.3383ms 200 application/json; charset=utf-8 2026-01-02 11:16:08.9608||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:16:08.9608||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:16:08.9685||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:16:08.9894||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:16:08.9894||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:16:08.9894||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 11:16:09.3674||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:16:09.3674||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:16:09.3674||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:16:09.3877||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:16:09.3927||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:16:09.3927||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 11:16:09.7717||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:16:09.7717||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:16:09.7717||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:16:09.7963||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:16:09.7963|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 11:16:09.8172|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 11:16:09.8172|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:16:09.8297|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:16:09.8297|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:16:09.8297|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:16:09.8297|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:16:09.8440|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:16:09.8440|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:16:09.8440|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:16:09.8440|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:16:09.8608|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:16:09.8608|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:16:09.8608|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:16:09.9388|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:16:09.9388|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2604.5733ms 2026-01-02 11:16:09.9388|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:16:09.9388|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2631.8913ms 200 application/json; charset=utf-8 2026-01-02 11:16:34.3539|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=493 2026-01-02 11:16:34.3576|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:16:34.3576|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.0072ms 204 2026-01-02 11:16:34.5280|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=493 2026-01-02 11:16:34.5280|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:16:34.5280|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:16:34.5280|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:16:34.5280|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 11:16:34.5476|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 11:16:34.5476|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:16:34.5608|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 11:16:34.5608|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:16:34.5608|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 16.9882ms 2026-01-02 11:16:34.5608|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 11:16:34.5608|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:16:34.5608|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:16:34.5608|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:16:34.5608|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 43.1601ms 200 application/json; charset=utf-8 2026-01-02 11:16:34.5608|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:16:34.5608|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:16:34.5751|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:16:34.5751|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.1606ms 204 2026-01-02 11:16:34.5751|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.1398ms 204 2026-01-02 11:16:34.5751|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.8899ms 204 2026-01-02 11:16:34.5914|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:16:34.5914|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:16:34.5914|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:16:34.5914|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:16:34.5914|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:16:34.5914|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:16:34.5914|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:16:34.5914|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:16:34.5914|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:16:34.5914|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:16:34.5914|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:16:34.6061|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:16:34.6061|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:16:34.6061|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:16:34.6061|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:16:34.6061|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 11:16:34.6061|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 11:16:34.6061|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 11:16:34.6061|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:16:34.6061||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 11:16:34.6061|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:16:34.6302||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:16:34.6302|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 11:16:34.6302|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:16:34.6302||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:16:34.6302|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:16:34.6389|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 23.2665ms 2026-01-02 11:16:34.6389|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:16:34.6389||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:16:34.6389|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 50.2515ms 200 application/json; charset=utf-8 2026-01-02 11:16:34.6389||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:16:34.6533||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:16:34.6533||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 11:16:34.6533||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 11:16:34.6533||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:16:34.6533||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:16:34.6533||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 11:16:35.0326||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:16:35.0326||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:16:35.0326||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:16:35.0629||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:16:35.0629||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:16:35.0629||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 11:16:35.4568||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:16:35.4568||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:16:35.4568||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:16:35.4753||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:16:35.4753||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:16:35.4753||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 11:16:35.8135||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:16:35.8135||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:16:35.8135||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:16:35.8370||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:16:35.8370||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:16:35.8423||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 11:16:36.0607||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 11:16:36.0607||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 11:16:36.0715|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 11:16:36.0715|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1460.3278ms 2026-01-02 11:16:36.0715|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:16:36.0715|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1487.0846ms 200 application/json; charset=utf-8 2026-01-02 11:16:36.1878||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:16:36.1878||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:16:36.1964||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:16:36.2095||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:16:36.2095||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:16:36.2095||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 11:16:36.5647||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:16:36.5695||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:16:36.5695||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:16:36.5862||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:16:36.5862||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:16:36.5862||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 11:16:36.8926|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 11:16:36.8926|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 11:16:36.8975|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:16:36.8975|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:16:36.8975|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.7755ms 204 2026-01-02 11:16:36.8975|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.9755ms 204 2026-01-02 11:16:36.8975|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 11:16:36.9131|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:16:36.9131|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:16:36.9131|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:16:36.9131|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 11:16:36.9131|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 11:16:36.9131|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:16:36.9310|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:16:36.9310|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:16:36.9310|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 11:16:36.9310|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 11:16:36.9310|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 11:16:36.9310|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:16:36.9430|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:16:36.9604|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 11:16:36.9604||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:16:36.9604||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:16:36.9604||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:16:36.9604|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (8ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 11:16:36.9784||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:16:36.9784|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 11:16:36.9784|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:16:36.9905|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 11:16:36.9905|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:16:36.9905|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 52.8779ms 2026-01-02 11:16:36.9905|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 11:16:36.9905|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:16:36.9905|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 86.4637ms 200 application/json; charset=utf-8 2026-01-02 11:16:36.9905|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:16:36.9905|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:16:37.0140|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 11:16:37.0239|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 81.2671ms 2026-01-02 11:16:37.0239|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 11:16:37.0239|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:16:37.0239|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 105.7955ms 200 application/json; charset=utf-8 2026-01-02 11:16:37.0239|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:16:37.0239|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:16:37.0386|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:16:37.0386|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:16:37.0386|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:16:37.0386|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:16:37.0525|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:16:37.1139|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:16:37.1175|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2503.9669ms 2026-01-02 11:16:37.1175|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:16:37.1175|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2530.5646ms 200 application/json; charset=utf-8 2026-01-02 11:17:25.2373|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:17:25.2373|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:17:25.2373|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:17:25.2373|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:17:25.2373|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:17:25.2373|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:17:25.2373|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.2258ms 204 2026-01-02 11:17:25.2465|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.8835ms 204 2026-01-02 11:17:25.2465|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.583ms 204 2026-01-02 11:17:25.2465|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:17:25.2465|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:17:25.2465|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:17:25.2465|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:17:25.2465|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:17:25.2465|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:17:25.2465|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:17:25.2465|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:17:25.2622|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:17:25.2622|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:17:25.2622|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:17:25.2622|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:17:25.2622|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:17:25.2622|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:17:25.2622|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:17:25.2622|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 11:17:25.2622|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 11:17:25.2622|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 11:17:25.2781|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:17:25.2781||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 11:17:25.2781|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:17:25.2781|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 11:17:25.2781||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:17:25.2781|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:17:25.2781||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:17:25.2781|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.7676ms 2026-01-02 11:17:25.2781|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:17:25.2938|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 38.6874ms 200 application/json; charset=utf-8 2026-01-02 11:17:25.3098||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:17:25.3098||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 11:17:25.3098||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 11:17:25.3098|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (40ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:17:25.3261||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:17:25.3261||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:17:25.3489||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:17:25.3489||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:17:25.3489||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 11:17:25.8218||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 11:17:25.8261||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 11:17:25.8261|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 11:17:25.8261|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 554.4499ms 2026-01-02 11:17:25.8261|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:17:25.8261|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 581.071ms 200 application/json; charset=utf-8 2026-01-02 11:17:26.9214||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:17:26.9214||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:17:26.9214||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:17:26.9394||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:17:26.9394||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:17:26.9394||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 11:17:27.6607||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:17:27.6607||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:17:27.6607||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:17:27.6746||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:17:27.6746||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:17:27.6746||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 11:17:28.0549||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:17:28.0591||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:17:28.0591||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:17:28.0756||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:17:28.0756||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:17:28.0756||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 11:17:28.4444||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:17:28.4444||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:17:28.4513||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:17:28.4646||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:17:28.4646||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:17:28.4646||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 11:17:28.8363||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:17:28.8417||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:17:28.8417||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:17:28.8590||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:17:28.8590||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:17:28.8590||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 11:17:29.2722||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:17:29.2782||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:17:29.2782||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:17:29.2991||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:17:29.3143|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 11:17:29.3143|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 11:17:29.3266|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:17:29.3266|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:17:29.3266|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:17:29.3266|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:17:29.3266|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:17:29.3404|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:17:29.3404|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:17:29.3404|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:17:29.3552|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:17:29.3552|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:17:29.3552|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:17:29.3552|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:17:29.4198|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:17:29.4198|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 4147.0845ms 2026-01-02 11:17:29.4198|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:17:29.4198|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4175.7916ms 200 application/json; charset=utf-8 2026-01-02 11:18:38.1183|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:18:38.1183|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:18:38.1183|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:18:38.1183|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:18:38.1233|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:18:38.1233|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:18:38.1233|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.0029ms 204 2026-01-02 11:18:38.1233|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.1232ms 204 2026-01-02 11:18:38.1233|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.9392ms 204 2026-01-02 11:18:38.1233|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:18:38.1233|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:18:38.1233|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:18:38.1233|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:18:38.1233|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:18:38.1233|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:18:38.1233|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:18:38.1385|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:18:38.1385|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:18:38.1385|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:18:38.1385|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:18:38.1385|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:18:38.1385|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:18:38.1385|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:18:38.1385|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:18:38.1385|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 11:18:38.1385|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 11:18:38.1385||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 11:18:38.1385|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 11:18:38.1385|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:18:38.1385|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:18:38.1543||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:18:38.1543|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 11:18:38.1543||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:18:38.1543|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:18:38.1543|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.0106ms 2026-01-02 11:18:38.1543|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:18:38.1543|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 32.4822ms 200 application/json; charset=utf-8 2026-01-02 11:18:38.1770||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:18:38.1770||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 11:18:38.1770||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 11:18:38.1900|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (34ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:18:38.1900||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:18:38.1900||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:18:38.2202||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:18:38.2202||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:18:38.2202||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 11:18:38.5588||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 11:18:38.5626||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 11:18:38.5626|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 11:18:38.5626|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 419.5872ms 2026-01-02 11:18:38.5626|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:18:38.5626|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 438.8907ms 200 application/json; charset=utf-8 2026-01-02 11:18:39.5903||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:18:39.5927||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:18:39.5927||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:18:39.5927||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:18:39.6110||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:18:39.6110||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 11:18:39.9990||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:18:39.9990||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:18:39.9990||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:18:40.0218||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:18:40.0218||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:18:40.0218||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 11:18:40.4031||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:18:40.4076||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:18:40.4076||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:18:40.4259||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:18:40.4259||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:18:40.4259||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 11:18:40.7685||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:18:40.7685||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:18:40.7685||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:18:40.7857||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:18:40.7857||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:18:40.7857||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 11:18:41.2004||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:18:41.2043||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:18:41.2043||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:18:41.2203||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:18:41.2203||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:18:41.2203||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 11:18:41.6224||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:18:41.6224||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:18:41.6224||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:18:41.6403||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:18:41.6486|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 11:18:41.6486|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 11:18:41.6486|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:18:41.6683|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:18:41.6683|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:18:41.6801|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:18:41.6801|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:18:41.6801|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:18:41.6971|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:18:41.6971|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:18:41.6971|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:18:41.7154|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:18:41.7154|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:18:41.7154|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:18:41.7859|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:18:41.7908|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3641.6088ms 2026-01-02 11:18:41.7908|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:18:41.7908|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3663.7522ms 200 application/json; charset=utf-8 2026-01-02 11:18:52.8491|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=499 2026-01-02 11:18:52.8491|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:18:52.8491|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.3171ms 204 2026-01-02 11:18:52.8653|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=499 2026-01-02 11:18:52.8653|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:18:52.8653|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:18:52.8653|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:18:52.8653|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 11:18:52.8781|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 11:18:52.8781|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:18:52.8781|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:18:52.8781|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:18:52.8781|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:18:52.8781|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:18:52.8949|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:18:52.8949|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:18:52.8949|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.4624ms 204 2026-01-02 11:18:52.8949|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.8052ms 204 2026-01-02 11:18:52.8949|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.0497ms 204 2026-01-02 11:18:52.8949|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:18:52.8949|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:18:52.8949|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:18:52.8949|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:18:52.8949|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:18:52.8949|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:18:52.9105|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:18:52.9105|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:18:52.9105|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:18:52.9105|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:18:52.9105|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:18:52.9105|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:18:52.9105|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:18:52.9105|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:18:52.9105|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 11:18:52.9105|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:18:52.9105|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 11:18:52.9271|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:18:52.9271|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 11:18:52.9271||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 11:18:52.9271|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:18:52.9271|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 11:18:52.9271|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (50ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 11:18:52.9271|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:18:52.9271||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:18:52.9271|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:18:52.9271|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:18:52.9406|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 14.4403ms 2026-01-02 11:18:52.9406||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:18:52.9406||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:18:52.9406|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:18:52.9406||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:18:52.9406|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 45.719ms 200 application/json; charset=utf-8 2026-01-02 11:18:52.9580|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 78.7522ms 2026-01-02 11:18:52.9580|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 11:18:52.9580|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 95.0399ms 200 application/json; charset=utf-8 2026-01-02 11:18:52.9580||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:18:52.9580||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 11:18:52.9580||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 11:18:52.9580||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:18:52.9580||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:18:52.9736||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 11:18:53.4181||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 11:18:53.4181||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 11:18:53.4277|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 11:18:53.4277|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 500.1538ms 2026-01-02 11:18:53.4277|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:18:53.4277|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 527.3064ms 200 application/json; charset=utf-8 2026-01-02 11:18:54.3726||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:18:54.3726||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:18:54.3792||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:18:54.3950||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:18:54.3950||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:18:54.3950||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 11:18:54.7454||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:18:54.7454||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:18:54.7549||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:18:54.7698||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:18:54.7698||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:18:54.7698||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 11:18:55.1812||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:18:55.1812||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:18:55.1812||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:18:55.2030||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:18:55.2071||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:18:55.2071||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 11:18:55.5699||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:18:55.5699||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:18:55.5699||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:18:55.5907||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:18:55.5907||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:18:55.5981||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 11:18:55.9305||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:18:55.9305||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:18:55.9305||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:18:55.9494||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:18:55.9494||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:18:55.9579||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 11:18:56.3078||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:18:56.3078||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:18:56.3078||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:18:56.3301||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:18:56.3408|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 11:18:56.3408|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 11:18:56.3541|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:18:56.3541|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:18:56.3541|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:18:56.3697|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:18:56.3697|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:18:56.3697|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:18:56.3697|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:18:56.3852|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:18:56.3852|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:18:56.3852|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:18:56.3852|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:18:56.4019|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:18:56.4503|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:18:56.4503|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3521.1505ms 2026-01-02 11:18:56.4503|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:18:56.4503|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3548.8314ms 200 application/json; charset=utf-8 2026-01-02 11:18:56.4737|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 11:18:56.4737|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 11:18:56.4737|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:18:56.4737|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:18:56.4807|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.9634ms 204 2026-01-02 11:18:56.4807|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.845ms 204 2026-01-02 11:18:56.4807|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 11:18:56.4807|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 11:18:56.4807|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:18:56.4807|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:18:56.4807|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:18:56.4807|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:18:56.4955|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:18:56.4955|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:18:56.4955|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 11:18:56.4955|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 11:18:56.4955|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 11:18:56.4955|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 11:18:56.4955|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:18:56.4955|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:18:56.4955|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 11:18:56.4955|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:18:56.5108|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 8.6685ms 2026-01-02 11:18:56.5108|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 11:18:56.5108|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.7053ms 200 application/json; charset=utf-8 2026-01-02 11:18:56.5108|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (10ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 11:18:56.5108|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 11:18:56.5263|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 25.0025ms 2026-01-02 11:18:56.5263|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 11:18:56.5263|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.9495ms 200 application/json; charset=utf-8 2026-01-02 11:24:18.3734|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:24:18.3734|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:24:18.3734|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:24:18.3734|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:24:18.3734|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:24:18.3824|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:24:18.3824|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.2989ms 204 2026-01-02 11:24:18.3824|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.2038ms 204 2026-01-02 11:24:18.3824|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.2561ms 204 2026-01-02 11:24:18.3824|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:24:18.3824|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:24:18.3824|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:24:18.3824|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:24:18.3824|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:24:18.3824|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:24:18.3982|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:24:18.3982|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:24:18.3982|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:24:18.3982|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:24:18.3982|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:24:18.3982|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:24:18.3982|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:24:18.3982|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:24:18.3982|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:24:18.3982|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 11:24:18.3982|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 11:24:18.3982|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 11:24:18.4139|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:24:18.4139||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 11:24:18.4139|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:24:18.4139|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:24:18.4139|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 11:24:18.4139|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:24:18.4139|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 8.8148ms 2026-01-02 11:24:18.4139|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:24:18.4139|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 34.5224ms 200 application/json; charset=utf-8 2026-01-02 11:24:18.4308||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:24:18.4308||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:24:18.4308||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:24:18.4308||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:24:18.4534||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:24:18.4534||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 11:24:18.4618||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 11:24:18.4618||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:24:18.4618||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:24:18.4763||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 11:24:18.8317||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 11:24:18.8317||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 11:24:18.8366|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 11:24:18.8366|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 423.8709ms 2026-01-02 11:24:18.8366|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:24:18.8366|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 448.0394ms 200 application/json; charset=utf-8 2026-01-02 11:24:18.9261||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:24:18.9313||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:24:18.9313||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:24:18.9461||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:24:18.9461||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:24:18.9461||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 11:24:19.3318||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:24:19.3360||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:24:19.3360||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:24:19.3360||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:24:19.3528||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:24:19.3528||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 11:24:19.7379||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:24:19.7429||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:24:19.7429||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:24:19.7584||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:24:19.7584||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:24:19.7584||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 11:24:20.1540||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:24:20.1540||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:24:20.1540||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:24:20.1705||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:24:20.1705||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:24:20.1705||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 11:24:20.5992||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:24:20.6047||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:24:20.6047||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:24:20.6218||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:24:20.6218||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:24:20.6218||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 11:24:21.0383||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:24:21.0383||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:24:21.0383||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:24:21.0524||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:24:21.0602|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 11:24:21.0602|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 11:24:21.0602|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:24:21.0602|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:24:21.0602|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:24:21.0780|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:24:21.0780|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:24:21.0780|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:24:21.0780|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:24:21.0780|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:24:21.0955|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:24:21.1100|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:24:21.1100|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:24:21.1100|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:24:21.1820|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:24:21.1859|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2773.0658ms 2026-01-02 11:24:21.1859|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:24:21.1859|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2797.4277ms 200 application/json; charset=utf-8 2026-01-02 11:24:31.3965|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 11:24:31.3965|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 11:24:31.3996|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:24:31.3996|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:24:31.3996|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.957ms 204 2026-01-02 11:24:31.3996|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.4445ms 204 2026-01-02 11:24:31.4365|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 11:24:31.4365|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 11:24:31.4365|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 11:24:31.4648|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 11:24:31.4648|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:24:31.4648|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 11:24:31.4648|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 11:24:31.4648|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 11:24:31.4648|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:24:31.4775|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 11:24:31.4775|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 11:24:31.4775|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 11:24:31.4775|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 41.8898ms 401 2026-01-02 11:24:31.4775|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 47.8245ms 401 2026-01-02 11:24:48.0619|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=533 2026-01-02 11:24:48.0619|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:24:48.0619|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.1916ms 204 2026-01-02 11:24:48.0830|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 11:24:48.0830|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 11:24:48.0830|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:24:48.0869|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:24:48.0869|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.0643ms 204 2026-01-02 11:24:48.0869|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.2076ms 204 2026-01-02 11:24:48.1036|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=533 2026-01-02 11:24:48.1036|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:24:48.1036|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:24:48.1036|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:24:48.1036|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 11:24:48.1036|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 11:24:48.1036|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:24:48.1206|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 11:24:48.1206|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:24:48.1206|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 13.0621ms 2026-01-02 11:24:48.1206|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 11:24:48.1206|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.6651ms 200 application/json; charset=utf-8 2026-01-02 11:24:48.1734|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 11:24:48.1734|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 11:24:48.1734|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:24:48.1734|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:24:48.1734|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:24:48.1820|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:24:48.1820|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:24:48.1820|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:24:48.1820|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 11:24:48.1820|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 11:24:48.1820|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 11:24:48.1820|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 11:24:48.1964|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:24:48.1964|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:24:48.1964|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 11:24:48.1964|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 11:24:48.1964|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:24:48.1964|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 11.9113ms 2026-01-02 11:24:48.1964|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 11:24:48.1964|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 36.0654ms 200 application/json; charset=utf-8 2026-01-02 11:24:48.2130|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 11:24:48.2130|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 21.8056ms 2026-01-02 11:24:48.2130|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 11:24:48.2130|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.679ms 200 application/json; charset=utf-8 2026-01-02 11:24:53.3430|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2026-01-02 11:24:53.3430|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:24:53.3430|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:24:53.3430|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:24:53.3430|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:24:53.3430|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:24:53.3430|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.0987ms 204 2026-01-02 11:24:53.3430|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.8248ms 204 2026-01-02 11:24:53.3430|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.6033ms 204 2026-01-02 11:24:53.3821|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:24:53.3821|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2026-01-02 11:24:53.3821|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:24:53.3850|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:24:53.3850|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:24:53.3850|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:24:53.3850|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:24:53.3850|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:24:53.3850|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:24:53.3850|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:24:53.3850|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:24:53.3850|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:24:53.3850|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:24:53.4004|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:24:53.4004|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:24:53.4004|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 11:24:53.4004|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 11:24:53.4004|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 11:24:53.4004||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 209 2026-01-02 11:24:53.4004|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:24:53.4004|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:24:53.4004|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:24:53.4004|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 11:24:53.4004||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:24:53.4175|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:24:53.4175||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:24:53.4175|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 10.3978ms 2026-01-02 11:24:53.4175||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2026-01-02 11:24:53.4175||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2026-01-02 11:24:53.4175|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:24:53.4175|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 46.2637ms 200 application/json; charset=utf-8 2026-01-02 11:24:53.4422||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:24:53.4422||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:24:53.4422||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:24:53.4422||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 11:24:53.4474||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0112012335 2026-01-02 11:24:53.4474||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 11:24:53.8255||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:24:53.8255||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:24:53.8255||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:24:53.8473||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:24:53.8473||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:24:53.8543||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011201233545 2026-01-02 11:24:54.2795||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:24:54.2795||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:24:54.2795||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:24:54.3016||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:24:54.3163|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; 2026-01-02 11:24:54.3163|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; 2026-01-02 11:24:54.3246|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 11:24:54.3246|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:24:54.3246|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:24:54.3246|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:24:54.3395|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:24:54.3835|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:24:54.3878|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 979.4343ms 2026-01-02 11:24:54.3878|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:24:54.3878|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1010.1175ms 200 application/json; charset=utf-8 2026-01-02 11:24:54.8641||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 11:24:54.8641||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 11:24:54.8720|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 11:24:54.8720|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1467.522ms 2026-01-02 11:24:54.8720|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:24:54.8720|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1494.3863ms 200 application/json; charset=utf-8 2026-01-02 11:27:51.6013|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:27:51.6013|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:27:51.6013|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:27:51.6013|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:27:51.6013|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:27:51.6013|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:27:51.6087|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.4012ms 204 2026-01-02 11:27:51.6087|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.2291ms 204 2026-01-02 11:27:51.6087|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.1461ms 204 2026-01-02 11:27:51.6087|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:27:51.6087|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:27:51.6087|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:27:51.6087|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:27:51.6087|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:27:51.6087|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:27:51.6087|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:27:51.6240|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:27:51.6240|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:27:51.6240|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:27:51.6240|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:27:51.6240|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:27:51.6240|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:27:51.6240|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:27:51.6240|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:27:51.6240|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 11:27:51.6240|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 11:27:51.6240|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 11:27:51.6240||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 11:27:51.6240|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:27:51.6392|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:27:51.6392|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 11:27:51.6392|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:27:51.6392||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:27:51.6392|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:27:51.6392||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:27:51.6392||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:27:51.6392|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 10.0805ms 2026-01-02 11:27:51.6392|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:27:51.6392||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:27:51.6392|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.9956ms 200 application/json; charset=utf-8 2026-01-02 11:27:51.6686||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:27:51.6686||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:27:51.6727||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 11:27:51.6727||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:27:51.6727||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 11:27:51.6727||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 11:27:52.0370||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:27:52.0370||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:27:52.0370||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:27:52.0555||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:27:52.0555||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:27:52.0627||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 11:27:52.4283||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:27:52.4283||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:27:52.4283||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:27:52.4484||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:27:52.4484||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:27:52.4484||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 11:27:52.7901||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:27:52.7901||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:27:52.7901||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:27:52.8101||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:27:52.8101||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:27:52.8194||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 11:27:53.0842||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 11:27:53.0842||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 11:27:53.0842|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 11:27:53.0842|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1456.7103ms 2026-01-02 11:27:53.0842|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:27:53.0842|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1479.5731ms 200 application/json; charset=utf-8 2026-01-02 11:27:53.1958||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:27:53.1958||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:27:53.1958||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:27:53.2145||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:27:53.2145||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:27:53.2145||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 11:27:53.5840||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:27:53.5840||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:27:53.5840||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:27:53.6112||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:27:53.6149||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:27:53.6149||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 11:27:53.9744||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:27:53.9744||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:27:53.9744||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:27:53.9982||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:27:54.0060|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 11:27:54.0060|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 11:27:54.0060|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:27:54.0060|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:27:54.0217|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:27:54.0217|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:27:54.0217|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:27:54.0217|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:27:54.0217|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:27:54.0364|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:27:54.0364|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:27:54.0364|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:27:54.0364|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:27:54.0364|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:27:54.0928|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:27:54.0928|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2457.7771ms 2026-01-02 11:27:54.0928|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:27:54.0987|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2482.4819ms 200 application/json; charset=utf-8 2026-01-02 11:29:23.7496|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=518 2026-01-02 11:29:23.7496|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:29:23.7496|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.2283ms 204 2026-01-02 11:29:23.7681|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=518 2026-01-02 11:29:23.7681|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:29:23.7681|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:29:23.7681|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:29:23.7681|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 11:29:23.7681|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 11:29:23.7791|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:29:23.7791|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 11:29:23.7791|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:29:23.7791|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 8.7179ms 2026-01-02 11:29:23.7791|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 11:29:23.7791|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 22.7875ms 200 application/json; charset=utf-8 2026-01-02 11:29:23.9053|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:29:23.9053|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:29:23.9053|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:29:23.9053|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:29:23.9053|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:29:23.9053|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:29:23.9053|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.6548ms 204 2026-01-02 11:29:23.9053|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.8206ms 204 2026-01-02 11:29:23.9053|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.4728ms 204 2026-01-02 11:29:23.9188|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:29:23.9188|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:29:23.9188|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:29:23.9188|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:29:23.9188|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:29:23.9188|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:29:23.9188|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:29:23.9188|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:29:23.9188|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:29:23.9188|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:29:23.9188|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:29:23.9188|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:29:23.9340|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:29:23.9340|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:29:23.9340|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:29:23.9340|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 11:29:23.9340|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 11:29:23.9340|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 11:29:23.9340|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:29:23.9340||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 11:29:23.9340|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:29:23.9340|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:29:23.9340|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 11:29:23.9507|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:29:23.9507||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:29:23.9507||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:29:23.9507|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 8.8468ms 2026-01-02 11:29:23.9507||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:29:23.9507||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:29:23.9507|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:29:23.9507|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.5064ms 200 application/json; charset=utf-8 2026-01-02 11:29:23.9736||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:29:23.9736||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:29:23.9736||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 11:29:23.9736||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:29:23.9736||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 11:29:23.9836||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 11:29:24.3698||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:29:24.3749||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:29:24.3749||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:29:24.3934||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:29:24.3934||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:29:24.3934||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 11:29:24.4457||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 11:29:24.4494||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 11:29:24.4494|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 11:29:24.4494|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 513.5676ms 2026-01-02 11:29:24.4494|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:29:24.4494|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 536.7525ms 200 application/json; charset=utf-8 2026-01-02 11:29:24.7939||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:29:24.7939||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:29:24.7939||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:29:24.8227||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:29:24.8262||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:29:24.8262||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 11:29:25.2302||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:29:25.2355||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:29:25.2355||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:29:25.2559||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:29:25.2559||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:29:25.2620||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 11:29:25.6824||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:29:25.6824||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:29:25.6824||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:29:25.7054||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:29:25.7054||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:29:25.7054||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 11:29:26.1502||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:29:26.1502||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:29:26.1502||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:29:26.1760||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:29:26.1816||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:29:26.1816||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 11:29:26.5881||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:29:26.5881||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:29:26.5881||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:29:26.6070|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 11:29:26.6070|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 11:29:26.6070|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:29:26.6070||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:29:26.6070|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:29:26.6070|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.2589ms 204 2026-01-02 11:29:26.6217|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.6428ms 204 2026-01-02 11:29:26.6217|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 11:29:26.6217|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 11:29:26.6340|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:29:26.6340|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:29:26.6340|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:29:26.6340|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:29:26.6340|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:29:26.6340|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:29:26.6502|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:29:26.6502|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:29:26.6502|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:29:26.6502|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:29:26.6502|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:29:26.6502|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:29:26.7187|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 11:29:26.7187|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:29:26.7187|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:29:26.7187|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:29:26.7187|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:29:26.7187|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 11:29:26.7187|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2785.5977ms 2026-01-02 11:29:26.7187|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 11:29:26.7303|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:29:26.7303|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:29:26.7303|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 11:29:26.7303|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:29:26.7303|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2816.7344ms 200 application/json; charset=utf-8 2026-01-02 11:29:26.7303|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:29:26.7303|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:29:26.7435|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 11:29:26.7435|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 11:29:26.7435|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 11:29:26.7435|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:29:26.7435|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:29:26.7435|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 19.0908ms 2026-01-02 11:29:26.7595|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 11:29:26.7595|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.6803ms 200 application/json; charset=utf-8 2026-01-02 11:29:26.8166|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (57ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 11:29:26.8290|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 11:29:26.8290|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 78.4722ms 2026-01-02 11:29:26.8290|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 11:29:26.8290|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 110.4488ms 200 application/json; charset=utf-8 2026-01-02 11:29:54.1215|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:29:54.1215|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:29:54.1215|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:29:54.1215|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:29:54.1215|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:29:54.1215|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:29:54.1215|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.2855ms 204 2026-01-02 11:29:54.1215|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.5513ms 204 2026-01-02 11:29:54.1351|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.9672ms 204 2026-01-02 11:29:54.1351|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:29:54.1351|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:29:54.1351|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:29:54.1351|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:29:54.1351|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:29:54.1351|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:29:54.1351|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:29:54.1502|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:29:54.1502|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:29:54.1502|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:29:54.1502|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:29:54.1502|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:29:54.1502|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:29:54.1502|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:29:54.1502|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:29:54.1502|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 11:29:54.1502|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 11:29:54.1502|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 11:29:54.1651||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 11:29:54.1651|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:29:54.1651|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:29:54.1651||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:29:54.1651|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:29:54.1651|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 11:29:54.1651||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:29:54.1651|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:29:54.1651||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:29:54.1813|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 14.3745ms 2026-01-02 11:29:54.1813||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:29:54.1813|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:29:54.1813|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 46.1924ms 200 application/json; charset=utf-8 2026-01-02 11:29:54.1972||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:29:54.1972||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 11:29:54.1972||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:29:54.1972||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 11:29:54.1972||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:29:54.1972||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 11:29:54.5970||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:29:54.5970||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:29:54.5970||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:29:54.6140||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:29:54.6140||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:29:54.6140||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 11:29:55.0218||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:29:55.0250||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:29:55.0250||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:29:55.0250||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:29:55.0430||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:29:55.0430||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 11:29:55.4097||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:29:55.4097||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:29:55.4171||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:29:55.4171||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:29:55.4327||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:29:55.4327||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 11:29:55.6293||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 11:29:55.6293||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 11:29:55.6364|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 11:29:55.6364|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1473.2535ms 2026-01-02 11:29:55.6364|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:29:55.6364|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1503.3217ms 200 application/json; charset=utf-8 2026-01-02 11:29:55.8171||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:29:55.8171||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:29:55.8222||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:29:55.8222||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:29:55.8403||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:29:55.8403||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 11:29:56.2396||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:29:56.2445||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:29:56.2445||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:29:56.2445||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:29:56.2621||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:29:56.2621||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 11:29:56.6770||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:29:56.6825||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:29:56.6825||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:29:56.7034||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:29:56.7156|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 11:29:56.7156|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 11:29:56.7156|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:29:56.7313|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:29:56.7313|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:29:56.7313|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:29:56.7313|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:29:56.7435|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:29:56.7435|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:29:56.7435|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:29:56.7435|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:29:56.7593|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:29:56.7593|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:29:56.7593|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:29:56.8079|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:29:56.8079|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2644.2763ms 2026-01-02 11:29:56.8079|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:29:56.8079|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2676.5094ms 200 application/json; charset=utf-8 2026-01-02 11:31:44.7899|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2026-01-02 11:31:44.7899|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:31:44.7899|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.1765ms 204 2026-01-02 11:31:44.8039|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2026-01-02 11:31:44.8039|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:31:44.8039|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:31:44.8039|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:31:44.8039|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 11:31:44.8039|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 11:31:44.8039|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:31:44.8197|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 11:31:44.8197|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:31:44.8197|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 8.6236ms 2026-01-02 11:31:44.8197|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 11:31:44.8197|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.5143ms 200 application/json; charset=utf-8 2026-01-02 11:31:44.8197|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:31:44.8354|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:31:44.8354|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:31:44.8354|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:31:44.8354|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:31:44.8354|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:31:44.8354|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.8909ms 204 2026-01-02 11:31:44.8354|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.3297ms 204 2026-01-02 11:31:44.8354|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.818ms 204 2026-01-02 11:31:44.8354|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:31:44.8354|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:31:44.8354|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:31:44.8354|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:31:44.8354|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:31:44.8354|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:31:44.8516|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:31:44.8516|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:31:44.8516|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:31:44.8516|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:31:44.8516|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:31:44.8516|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:31:44.8516|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:31:44.8516|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 11:31:44.8516|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:31:44.8516|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:31:44.8516||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 11:31:44.8516|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 11:31:44.8516|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 11:31:44.8669|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:31:44.8669|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:31:44.8669||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:31:44.8669|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:31:44.8669|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 11:31:44.8669||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:31:44.8669|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:31:44.8669|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 10.9869ms 2026-01-02 11:31:44.8669||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:31:44.8669|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:31:44.8835|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 36.2995ms 200 application/json; charset=utf-8 2026-01-02 11:31:44.8835||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:31:44.8835||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:31:44.8976||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 11:31:44.8976||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 11:31:44.8976||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:31:44.8976||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:31:44.8976||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 11:31:45.2980||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:31:45.2980||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:31:45.3063||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:31:45.3063||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:31:45.3231||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:31:45.3231||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 11:31:45.7053||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:31:45.7053||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:31:45.7142||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:31:45.7298||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:31:45.7298||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:31:45.7298||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 11:31:46.0954||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:31:46.0954||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:31:46.1020||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:31:46.1020||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:31:46.1192||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:31:46.1192||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 11:31:46.3141||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 11:31:46.3141||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 11:31:46.3141|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 11:31:46.3141|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1457.1049ms 2026-01-02 11:31:46.3141|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:31:46.3201|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1473.0423ms 200 application/json; charset=utf-8 2026-01-02 11:31:46.4859||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:31:46.4859||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:31:46.4932||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:31:46.5082||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:31:46.5082||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:31:46.5082||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 11:31:46.8456||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:31:46.8456||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:31:46.8544||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:31:46.8681||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:31:46.8681||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:31:46.8681||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 11:31:47.2364||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:31:47.2416||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:31:47.2416||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:31:47.2579||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:31:47.2579|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 11:31:47.2579|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 11:31:47.2748|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:31:47.2748|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:31:47.2748|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:31:47.2748|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:31:47.2882|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:31:47.2882|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:31:47.2882|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:31:47.2882|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:31:47.2882|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:31:47.3070|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:31:47.3070|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:31:47.3070|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:31:47.3591|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:31:47.3591|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2495.5605ms 2026-01-02 11:31:47.3591|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:31:47.3591|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2518.3466ms 200 application/json; charset=utf-8 2026-01-02 11:33:19.0746|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2026-01-02 11:33:19.0746|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:33:19.0746|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.7416ms 204 2026-01-02 11:33:19.0870|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2026-01-02 11:33:19.0870|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:33:19.0870|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:33:19.0870|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:33:19.0870|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 11:33:19.0870|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 11:33:19.0870|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:33:19.1019|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 11:33:19.1019|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:33:19.1019|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 6.9462ms 2026-01-02 11:33:19.1019|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 11:33:19.1019|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 20.3817ms 200 application/json; charset=utf-8 2026-01-02 11:33:19.1019|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:33:19.1019|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:33:19.1019|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:33:19.1019|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:33:19.1019|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:33:19.1019|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.4037ms 204 2026-01-02 11:33:19.1161|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:33:19.1161|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.7879ms 204 2026-01-02 11:33:19.1161|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.2618ms 204 2026-01-02 11:33:19.1161|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:33:19.1161|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:33:19.1161|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:33:19.1161|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:33:19.1161|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:33:19.1161|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:33:19.1161|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:33:19.1308|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:33:19.1308|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:33:19.1308|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:33:19.1308|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:33:19.1308|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:33:19.1308|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:33:19.1308|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:33:19.1308|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 11:33:19.1308|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 11:33:19.1308|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:33:19.1308|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:33:19.1308|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:33:19.1308|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 11:33:19.1461|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 11:33:19.1461||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 11:33:19.1461|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:33:19.1461|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:33:19.1461||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:33:19.1461|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.8452ms 2026-01-02 11:33:19.1461||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:33:19.1461|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:33:19.1461||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:33:19.1622|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.5769ms 200 application/json; charset=utf-8 2026-01-02 11:33:19.1622||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:33:19.1622||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:33:19.1775||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:33:19.1775||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 11:33:19.1775||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:33:19.1775||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 11:33:19.1775||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 11:33:19.5369||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 11:33:19.5369||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 11:33:19.5369|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 11:33:19.5369|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 401.2081ms 2026-01-02 11:33:19.5519|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:33:19.5519|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 427.8151ms 200 application/json; charset=utf-8 2026-01-02 11:33:19.6000||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:33:19.6000||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:33:19.6000||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:33:19.6181||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:33:19.6181||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:33:19.6181||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 11:33:20.0215||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:33:20.0215||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:33:20.0215||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:33:20.0365||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:33:20.0365||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:33:20.0365||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 11:33:20.4122||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:33:20.4122||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:33:20.4122||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:33:20.4339||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:33:20.4339||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:33:20.4339||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 11:33:20.8500||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:33:20.8500||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:33:20.8500||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:33:20.8726||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:33:20.8726||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:33:20.8726||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 11:33:21.2561||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:33:21.2561||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:33:21.2561||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:33:21.2747||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:33:21.2747||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:33:21.2747||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 11:33:21.6765||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:33:21.6793||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:33:21.6793||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:33:21.6922||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:33:21.6922|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 11:33:21.6922|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 11:33:21.7082|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:33:21.7082|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:33:21.7082|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:33:21.7082|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:33:21.7082|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:33:21.7244|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:33:21.7244|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:33:21.7244|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:33:21.7244|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:33:21.7244|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:33:21.7244|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:33:21.7391|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:33:21.7926|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:33:21.7926|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2652.8502ms 2026-01-02 11:33:21.7926|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:33:21.7926|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2674.6289ms 200 application/json; charset=utf-8 2026-01-02 11:48:33.4837|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 11:48:33.4837|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 11:48:33.4872|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:48:33.4872|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:48:33.4872|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.0635ms 204 2026-01-02 11:48:33.4872|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.7807ms 204 2026-01-02 11:48:33.5308|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 11:48:33.5308|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 11:48:33.5341|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 11:48:33.5341|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 11:48:33.5341|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 11:48:33.5341|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 11:48:33.5341|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:48:33.5341|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:48:33.5341|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 11:48:33.5341|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 11:48:33.5494|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 11:48:33.5494|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 11:48:33.5494|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.0549ms 401 2026-01-02 11:48:33.5494|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.641ms 401 2026-01-02 11:48:33.7705|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 11:48:33.7705|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 11:48:33.7705|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:48:33.7705|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:48:33.7705|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:48:33.7705|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:48:33.7705|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:48:33.7854|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:48:33.7854|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 11:48:33.7854|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 11:48:33.7854|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 11:48:33.7854|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 11:48:33.7854|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:48:33.7854|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:48:33.8079|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 11:48:33.8079|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:48:33.8079|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 18.4474ms 2026-01-02 11:48:33.8079|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 11:48:33.8079|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.6028ms 200 application/json; charset=utf-8 2026-01-02 11:48:33.8241|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (9ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 11:48:33.8437|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 11:48:33.8437|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 51.5066ms 2026-01-02 11:48:33.8466|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 11:48:33.8466|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 75.2093ms 200 application/json; charset=utf-8 2026-01-02 11:48:33.8466|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 11:48:33.8466|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:48:33.8466|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:48:33.8466|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:48:33.8625|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 11:48:33.8625|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 11:48:33.8625|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:48:33.8783|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (10ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 11:48:33.8783|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 11:48:33.8783|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 22.8409ms 2026-01-02 11:48:33.8783|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 11:48:33.8783|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 36.2491ms 200 application/json; charset=utf-8 2026-01-02 11:49:11.9704|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 11:49:11.9704|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 11:49:11.9704|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:49:11.9704|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:49:11.9704|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.3105ms 204 2026-01-02 11:49:11.9704|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.5002ms 204 2026-01-02 11:49:11.9874|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 11:49:11.9874|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 11:49:11.9874|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:49:11.9874|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:49:11.9874|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:49:11.9874|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:49:11.9874|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:49:11.9874|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 11:49:11.9874|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:49:11.9874|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 11:49:11.9998|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 11:49:11.9998|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:49:11.9998|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 11:49:11.9998|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:49:11.9998|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 11:49:11.9998|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:49:11.9998|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 6.0095ms 2026-01-02 11:49:11.9998|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 11:49:11.9998|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (8ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 11:49:11.9998|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.62ms 200 application/json; charset=utf-8 2026-01-02 11:49:12.0219|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 11:49:12.0219|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 22.4327ms 2026-01-02 11:49:12.0219|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 11:49:12.0219|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 38.5054ms 200 application/json; charset=utf-8 2026-01-02 11:57:35.3852|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:57:35.3852|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:57:35.3869|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:57:35.3869|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:57:35.3869|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:57:35.3869|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:57:35.3869|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.0473ms 204 2026-01-02 11:57:35.3869|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.6936ms 204 2026-01-02 11:57:35.3869|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.8729ms 204 2026-01-02 11:57:35.3869|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:57:35.3869|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:57:35.3869|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:57:35.3869|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 11:57:35.4040|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 11:57:35.4040|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 11:57:35.4040|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 11:57:35.4040|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 11:57:35.4040|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 11:57:35.4040|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:57:35.4040|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:57:35.4040|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:57:35.4040|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 11:57:35.4040|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 11:57:35.4040|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 11:57:35.4179|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 11:57:35.4179|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 11:57:35.4179|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 11:57:35.4179|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 20.2092ms 401 2026-01-02 11:57:35.4179|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.955ms 401 2026-01-02 11:57:35.4179|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.7374ms 401 2026-01-02 11:58:45.6130|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2026-01-02 11:58:45.6130|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:58:45.6130|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.2118ms 204 2026-01-02 11:58:45.6130|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2026-01-02 11:58:45.6130|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:58:45.6130|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:58:45.6130|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:58:45.6286|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 11:58:45.6286|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 11:58:45.6286|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:58:45.6286|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:58:45.6286|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:58:45.6286|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:58:45.6286|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:58:45.6286|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:58:45.6286|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:58:45.6286|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.1041ms 204 2026-01-02 11:58:45.6446|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.1427ms 204 2026-01-02 11:58:45.6446|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.9177ms 204 2026-01-02 11:58:45.6446|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 11:58:45.6446|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 11:58:45.6446|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 11:58:45.6446|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 11:58:45.6446|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:58:45.6446|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:58:45.6446|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:58:45.6446|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 11:58:45.6446|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 27.4258ms 2026-01-02 11:58:45.6629|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:58:45.6629|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:58:45.6629|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 11:58:45.6629|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 11:58:45.6629|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:58:45.6629|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:58:45.6629|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 11:58:45.6629|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 49.2076ms 200 application/json; charset=utf-8 2026-01-02 11:58:45.6629|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:58:45.6757|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:58:45.6757|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:58:45.6757|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 11:58:45.6757|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 11:58:45.6757|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 11:58:45.6757|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:58:45.6932||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 11:58:45.6932|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 11:58:45.6932|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:58:45.7148|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 11:58:45.7148||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:58:45.7148|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:58:45.7148||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 11:58:45.7148|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 27.4538ms 2026-01-02 11:58:45.7227||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:58:45.7227||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 11:58:45.7227|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 11:58:45.7227|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 82.6113ms 200 application/json; charset=utf-8 2026-01-02 11:58:45.7523||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:58:45.7555||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:58:45.7555||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 11:58:45.7555||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 11:58:45.7555||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 11:58:45.7555||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 11:58:46.1522||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 11:58:46.1522||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 11:58:46.1522|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 11:58:46.1522|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 465.3517ms 2026-01-02 11:58:46.1522|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 11:58:46.1596|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 509.7519ms 200 application/json; charset=utf-8 2026-01-02 11:58:47.1853||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:58:47.1853||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:58:47.1853||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:58:47.2027||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:58:47.2027||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:58:47.2095||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 11:58:47.5908||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:58:47.5908||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:58:47.6011||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:58:47.6152||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:58:47.6152||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:58:47.6152||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 11:58:48.0120||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:58:48.0120||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:58:48.0206||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:58:48.0206||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:58:48.0361||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:58:48.0361||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 11:58:48.4176||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:58:48.4176||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:58:48.4176||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:58:48.4387||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:58:48.4429||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:58:48.4429||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 11:58:48.8353||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:58:48.8353||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:58:48.8353||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:58:48.8529||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:58:48.8529||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 11:58:48.8529||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 11:58:49.2164||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 11:58:49.2164||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 11:58:49.2237||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 11:58:49.2237||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 11:58:49.2418|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 11:58:49.2418|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 11:58:49.2550|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:58:49.2550|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:58:49.2550|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:58:49.2550|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:58:49.2692|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:58:49.2692|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:58:49.2692|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:58:49.2692|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:58:49.2692|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:58:49.2867|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:58:49.2867|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 11:58:49.2867|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 11:58:49.3605|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 11:58:49.3641|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3674.416ms 2026-01-02 11:58:49.3641|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 11:58:49.3641|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3719.395ms 200 application/json; charset=utf-8 2026-01-02 12:06:48.7080|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:06:48.7080|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:06:48.7080|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2026-01-02 12:06:48.7080|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:06:48.7080|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:06:48.7143|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:06:48.7143|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.8148ms 204 2026-01-02 12:06:48.7143|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.5112ms 204 2026-01-02 12:06:48.7143|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.4954ms 204 2026-01-02 12:06:48.7403|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:06:48.7403|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2026-01-02 12:06:48.7403|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:06:48.7403|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:06:48.7477|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:06:48.7477|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:06:48.7477|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:06:48.7477|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:06:48.7477|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:06:48.7477|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:06:48.7477|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:06:48.7625|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:06:48.7625|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:06:48.7625|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:06:48.7625|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:06:48.7625|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 12:06:48.7625|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:06:48.7625|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:06:48.7625|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:06:48.7625|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 12:06:48.7772||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 209 2026-01-02 12:06:48.7772|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 12:06:48.7772|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:06:48.7772||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:06:48.7772|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.943ms 2026-01-02 12:06:48.7920||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2026-01-02 12:06:48.7920|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:06:48.7920|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:06:48.7920|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 54.9737ms 200 application/json; charset=utf-8 2026-01-02 12:06:48.7920||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:06:48.7920||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2026-01-02 12:06:48.8141||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:06:48.8141||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:06:48.8141||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 12:06:48.8141||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:06:48.8141||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 12:06:48.8240||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0112012335 2026-01-02 12:06:49.2404||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:06:49.2404||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:06:49.2482||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:06:49.2482||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:06:49.2633||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:06:49.2633||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011201233545 2026-01-02 12:06:49.6616||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:06:49.6616||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:06:49.6689||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:06:49.6689||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:06:49.6884|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; 2026-01-02 12:06:49.6884|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; 2026-01-02 12:06:49.6884|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 12:06:49.6884|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:06:49.7005|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:06:49.7005|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:06:49.7005|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:06:49.7505|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:06:49.7505|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 981.0909ms 2026-01-02 12:06:49.7505|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:06:49.7505|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1016.7581ms 200 application/json; charset=utf-8 2026-01-02 12:06:50.3064||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 12:06:50.3120||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 12:06:50.3120|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:06:50.3120|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1541.9376ms 2026-01-02 12:06:50.3120|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:06:50.3120|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1581.0375ms 200 application/json; charset=utf-8 2026-01-02 12:11:35.5657|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:11:35.5657|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:11:35.5657|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:11:35.5657|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:11:35.5657|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:11:35.5657|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:11:35.5657|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.4746ms 204 2026-01-02 12:11:35.5779|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.8853ms 204 2026-01-02 12:11:35.5779|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.3437ms 204 2026-01-02 12:11:35.5779|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:11:35.5779|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:11:35.5779|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:11:35.5779|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:11:35.5779|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:11:35.5779|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:11:35.5779|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:11:35.5951|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:11:35.5951|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:11:35.5951|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:11:35.5951|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:11:35.5951|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:11:35.5951|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:11:35.5951|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:11:35.5951|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:11:35.5951|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:11:35.5951|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 12:11:35.5951|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 12:11:35.5951|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:11:35.6087|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:11:35.6087||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 12:11:35.6087|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:11:35.6087|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 12:11:35.6087|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:11:35.6087||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:11:35.6087|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 9.4263ms 2026-01-02 12:11:35.6087|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:11:35.6087||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:11:35.6087|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.0242ms 200 application/json; charset=utf-8 2026-01-02 12:11:35.6253||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:11:35.6253||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:11:35.6423||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:11:35.6423||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 12:11:35.6423||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 12:11:35.6423||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:11:35.6423||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:11:35.6566||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 12:11:36.0296||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 12:11:36.0350||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 12:11:36.0350|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:11:36.0350|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 431.0657ms 2026-01-02 12:11:36.0350|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:11:36.0350|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 457.9071ms 200 application/json; charset=utf-8 2026-01-02 12:11:37.0577||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:11:37.0625||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:11:37.0625||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:11:37.0830||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:11:37.0830||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:11:37.0830||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 12:11:37.5016||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:11:37.5016||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:11:37.5016||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:11:37.5249||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:11:37.5249||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:11:37.5249||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 12:11:37.8900||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:11:37.8900||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:11:37.8900||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:11:37.9151||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:11:37.9151||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:11:37.9231||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 12:11:37.9852|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 12:11:37.9852|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 12:11:37.9852|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:11:37.9852|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.0548ms 204 2026-01-02 12:11:37.9852|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:11:38.0003|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 12:11:38.0003|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.918ms 204 2026-01-02 12:11:38.0003|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:11:38.0156|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 12:11:38.0156|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:11:38.0156|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:11:38.0156|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:11:38.0308|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:11:38.0308|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 12:11:38.0308|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:11:38.0308|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 12:11:38.0308|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 12:11:38.0308|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:11:38.0308|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 12:11:38.0475|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:11:38.0475|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 12:11:38.0475|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:11:38.0475|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 11.6187ms 2026-01-02 12:11:38.0475|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 12:11:38.0475|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 54.8216ms 200 application/json; charset=utf-8 2026-01-02 12:11:38.0475|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 12:11:38.0713|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:11:38.0713|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 25.97ms 2026-01-02 12:11:38.0713|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 12:11:38.0713|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 59.2482ms 200 application/json; charset=utf-8 2026-01-02 12:11:38.3220||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:11:38.3220||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:11:38.3220||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:11:38.3376||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:11:38.3376||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:11:38.3376||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 12:11:38.7449||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:11:38.7449||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:11:38.7506||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:11:38.7506||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:11:38.7654||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:11:38.7654||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 12:11:39.1206||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:11:39.1250||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:11:39.1250||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:11:39.1417||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:11:39.1417|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 12:11:39.1590|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 12:11:39.1590|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:11:39.1590|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:11:39.1590|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:11:39.1715|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:11:39.1715|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:11:39.1715|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:11:39.1715|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:11:39.1715|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:11:39.1715|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:11:39.1715|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:11:39.1882|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:11:39.1882|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:11:39.2370|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:11:39.2370|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3632.6213ms 2026-01-02 12:11:39.2370|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:11:39.2370|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3661.5097ms 200 application/json; charset=utf-8 2026-01-02 12:11:39.5849|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:11:39.5849|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:11:39.5849|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:11:39.5849|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:11:39.5931|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:11:39.5931|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:11:39.5931|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:11:39.5931|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:11:39.5931|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:11:39.5931|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:11:39.5931|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:11:39.5931|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:11:39.5931|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:11:39.5931|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:11:39.6102|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:11:39.6102|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:11:39.6102|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 12:11:39.6102|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 12:11:39.6102|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:11:39.6102||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 12:11:39.6102|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:11:39.6102|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:11:39.6102||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:11:39.6102|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 12:11:39.6102||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:11:39.6102||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:11:39.6250|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:11:39.6250||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:11:39.6250|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 12.9091ms 2026-01-02 12:11:39.6250|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:11:39.6250|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.7356ms 200 application/json; charset=utf-8 2026-01-02 12:11:39.6406||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:11:39.6406||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 12:11:39.6406||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:11:39.6406||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 12:11:39.6406||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:11:39.6406||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 12:11:40.1023||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:11:40.1023||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:11:40.1023||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:11:40.1191||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:11:40.1191||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:11:40.1254||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 12:11:40.5119||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:11:40.5171||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:11:40.5171||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:11:40.5360||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:11:40.5360||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:11:40.5360||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 12:11:40.8864||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:11:40.8864||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:11:40.8912||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:11:40.8912||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:11:40.8912||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:11:40.9064||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 12:11:41.0527|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 12:11:41.0527|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 12:11:41.0527|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:11:41.0527|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:11:41.0527|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:11:41.0527|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:11:41.0527|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:11:41.0527|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:11:41.0527|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 12:11:41.0527|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 12:11:41.0527|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 12:11:41.0655|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 12:11:41.0655|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:11:41.0655|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:11:41.0655|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 12:11:41.0655|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:11:41.0655|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 12:11:41.0655|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 10.9745ms 2026-01-02 12:11:41.0655|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 12:11:41.0817|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 29.034ms 200 application/json; charset=utf-8 2026-01-02 12:11:41.0817|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:11:41.0817|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 20.0142ms 2026-01-02 12:11:41.0817|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 12:11:41.0817|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 35.9083ms 200 application/json; charset=utf-8 2026-01-02 12:11:41.1183||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 12:11:41.1183||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 12:11:41.1183|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:11:41.1183|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1511.1115ms 2026-01-02 12:11:41.1275|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:11:41.1275|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1543.3123ms 200 application/json; charset=utf-8 2026-01-02 12:11:41.2606||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:11:41.2606||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:11:41.2694||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:11:41.2694||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:11:41.2853||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:11:41.2853||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 12:11:41.6515||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:11:41.6515||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:11:41.6515||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:11:41.6725||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:11:41.6769||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:11:41.6769||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 12:11:42.0555||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:11:42.0555||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:11:42.0555||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:11:42.0711||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:11:42.0711|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 12:11:42.0810|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 12:11:42.0810|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:11:42.0810|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:11:42.0810|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:11:42.0810|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:11:42.0810|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:11:42.0810|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:11:42.0810|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:11:42.0993|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:11:42.0993|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:11:42.0993|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:11:42.0993|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:11:42.0993|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:11:42.1426|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:11:42.1452|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2530.9782ms 2026-01-02 12:11:42.1452|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:11:42.1452|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2562.3699ms 200 application/json; charset=utf-8 2026-01-02 12:28:07.2067|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:28:07.2067|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:28:07.2067|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:28:07.2067|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:28:07.2067|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:28:07.2067|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:28:07.2168|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.1078ms 204 2026-01-02 12:28:07.2168|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.3399ms 204 2026-01-02 12:28:07.2168|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.6615ms 204 2026-01-02 12:28:07.2168|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:28:07.2168|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:28:07.2168|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:28:07.2168|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 12:28:07.2168|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 12:28:07.2168|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 12:28:07.2333|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 12:28:07.2333|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 12:28:07.2333|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 12:28:07.2333|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:28:07.2333|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:28:07.2333|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:28:07.2333|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 12:28:07.2333|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 12:28:07.2333|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 12:28:07.2488|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 12:28:07.2488|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 12:28:07.2488|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 12:28:07.2488|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.1729ms 401 2026-01-02 12:28:07.2488|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 29.4557ms 401 2026-01-02 12:28:07.2488|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 29.5611ms 401 2026-01-02 12:28:25.9310|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=499 2026-01-02 12:28:25.9310|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:28:25.9310|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.9313ms 204 2026-01-02 12:28:25.9442|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=499 2026-01-02 12:28:25.9442|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:28:25.9442|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:28:25.9442|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:28:25.9551|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 12:28:25.9551|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:28:25.9551|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:28:25.9714|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 12:28:25.9714|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:28:25.9714|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 20.1332ms 2026-01-02 12:28:25.9714|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 12:28:25.9714|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.6122ms 200 application/json; charset=utf-8 2026-01-02 12:28:28.6915|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:28:28.6915|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:28:28.6915|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:28:28.6915|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:28:28.6915|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:28:28.6915|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:28:28.6915|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.1252ms 204 2026-01-02 12:28:28.6915|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.4104ms 204 2026-01-02 12:28:28.7049|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.7976ms 204 2026-01-02 12:28:28.7049|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:28:28.7049|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:28:28.7049|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:28:28.7049|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 12:28:28.7049|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 12:28:28.7049|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 12:28:28.7213|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 12:28:28.7213|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 12:28:28.7213|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 12:28:28.7213|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:28:28.7213|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:28:28.7213|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:28:28.7213|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 12:28:28.7213|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 12:28:28.7213|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 12:28:28.7213|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 12:28:28.7373|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 12:28:28.7373|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 12:28:28.7373|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 32.0384ms 401 2026-01-02 12:28:28.7373|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 31.6069ms 401 2026-01-02 12:28:28.7373|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 28.4618ms 401 2026-01-02 12:28:31.1307|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 12:28:31.1307|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:28:31.1307|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:28:31.1307|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:28:31.1491|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:28:31.1491|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:28:31.1725|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 12:28:31.1774|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:28:31.1774|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 30.3539ms 2026-01-02 12:28:31.1774|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:28:31.1774|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 52.1381ms 200 application/json; charset=utf-8 2026-01-02 12:28:40.4209|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 12:28:40.4209|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:28:40.4248|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:28:40.4248|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:28:40.4248|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:28:40.4248|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:28:40.4248|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 12:28:40.4248|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:28:40.4248|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 7.2734ms 2026-01-02 12:28:40.4248|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:28:40.4248|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.4465ms 200 application/json; charset=utf-8 2026-01-02 12:28:41.8484|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 12:28:41.8484|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:28:41.8484|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:28:41.8484|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:28:41.8484|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:28:41.8484|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:28:41.8669|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 12:28:41.8669|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:28:41.8669|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 8.991ms 2026-01-02 12:28:41.8669|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:28:41.8669|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.3806ms 200 application/json; charset=utf-8 2026-01-02 12:29:08.8388|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 12:29:08.8388|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:29:08.8388|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:29:08.8388|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:29:08.8388|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:29:08.8469|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:29:08.8469|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 12:29:08.8469|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:29:08.8469|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 5.8587ms 2026-01-02 12:29:08.8469|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:29:08.8469|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.488ms 200 application/json; charset=utf-8 2026-01-02 12:29:14.9135|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 12:29:14.9135|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:29:14.9135|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:29:14.9135|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:29:14.9135|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:29:14.9135|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:29:14.9251|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 12:29:14.9251|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:29:14.9251|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 7.3748ms 2026-01-02 12:29:14.9251|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:29:14.9251|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.3764ms 200 application/json; charset=utf-8 2026-01-02 12:29:16.4041|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 12:29:16.4041|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:29:16.4105|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:29:16.4105|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:29:16.4105|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:29:16.4105|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:29:16.4105|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 12:29:16.4249|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:29:16.4249|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 9.68ms 2026-01-02 12:29:16.4249|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:29:16.4249|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 28.5211ms 200 application/json; charset=utf-8 2026-01-02 12:29:25.0233|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 12:29:25.0233|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:29:25.0233|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:29:25.0233|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:29:25.0233|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:29:25.0357|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:29:25.0357|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 12:29:25.0357|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:29:25.0357|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 8.9499ms 2026-01-02 12:29:25.0357|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:29:25.0357|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.6353ms 200 application/json; charset=utf-8 2026-01-02 12:29:31.5298|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 12:29:31.5298|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:29:31.5298|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:29:31.5351|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:29:31.5351|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:29:31.5351|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:29:31.5351|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 12:29:31.5351|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:29:31.5351|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 7.2209ms 2026-01-02 12:29:31.5351|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:29:31.5351|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.7285ms 200 application/json; charset=utf-8 2026-01-02 12:29:33.0221|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 12:29:33.0253|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:29:33.0253|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:29:33.0253|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:29:33.0253|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:29:33.0253|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:29:33.0253|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 12:29:33.0253|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:29:33.0253|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 9.1682ms 2026-01-02 12:29:33.0402|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:29:33.0402|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.6201ms 200 application/json; charset=utf-8 2026-01-02 12:29:49.0646|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2026-01-02 12:29:49.0646|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:29:49.0719|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.26ms 204 2026-01-02 12:29:49.0719|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2026-01-02 12:29:49.0719|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:29:49.0719|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:29:49.0719|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:29:49.0719|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:29:49.0719|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:29:49.0719|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:29:49.0869|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:29:49.0869|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:29:49.0869|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.6836ms 204 2026-01-02 12:29:49.0869|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.3461ms 204 2026-01-02 12:29:49.0869|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:29:49.0869|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.4518ms 204 2026-01-02 12:29:49.0869|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:29:49.0869|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:29:49.0869|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 12:29:49.1021|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:29:49.1021|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:29:49.1021|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:29:49.1021|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:29:49.1021|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:29:49.1021|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:29:49.1021|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:29:49.1021|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:29:49.1021|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:29:49.1021|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:29:49.1021|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:29:49.1183|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:29:49.1183|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:29:49.1183|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 12:29:49.1183|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:29:49.1183|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:29:49.1183|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:29:49.1183|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:29:49.1183|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 12:29:49.1183|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 12:29:49.1183|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:29:49.1183|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 15.3147ms 2026-01-02 12:29:49.1183|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:29:49.1183||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 12:29:49.1334|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 12:29:49.1334|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:29:49.1334|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 64.5699ms 200 application/json; charset=utf-8 2026-01-02 12:29:49.1334|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 12:29:49.1496|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:29:49.1496|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 21.8902ms 2026-01-02 12:29:49.1496|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:29:49.1496||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:29:49.1496|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 57.9705ms 200 application/json; charset=utf-8 2026-01-02 12:29:49.1496||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:29:49.1496||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:29:49.1496||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:29:49.1844||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:29:49.1844||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 12:29:49.1844||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 12:29:49.1844||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:29:49.1965||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:29:49.1965||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 12:29:49.6098||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:29:49.6098||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:29:49.6180||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:29:49.6180||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:29:49.6362||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:29:49.6362||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 12:29:49.9932||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:29:49.9932||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:29:49.9932||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:29:50.0168||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:29:50.0168||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:29:50.0265||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 12:29:50.4010||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:29:50.4010||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:29:50.4010||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:29:50.4198||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:29:50.4198||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:29:50.4198||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 12:29:50.6150||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 12:29:50.6189||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 12:29:50.6189|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:29:50.6189|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1492.8794ms 2026-01-02 12:29:50.6189|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:29:50.6189|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1525.0423ms 200 application/json; charset=utf-8 2026-01-02 12:29:50.7853||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:29:50.7853||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:29:50.7916||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:29:50.7916||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:29:50.8084||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:29:50.8084||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 12:29:51.1937||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:29:51.1981||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:29:51.1981||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:29:51.2130||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:29:51.2130||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:29:51.2130||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 12:29:51.5991||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:29:51.5991||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:29:51.5991||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:29:51.6175||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:29:51.6452|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 12:29:51.6584|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 12:29:51.6584|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:29:51.6584|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:29:51.6721|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:29:51.6721|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:29:51.6894|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:29:51.6894|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:29:51.7030|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:29:51.7196|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:29:51.7196|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:29:51.7313|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:29:51.7313|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:29:51.7611|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (21ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:29:51.8313|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:29:51.8313|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2707.6343ms 2026-01-02 12:29:51.8313|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:29:51.8313|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2743.0521ms 200 application/json; charset=utf-8 2026-01-02 12:30:03.5618|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:30:03.5618|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:30:03.5618|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:30:03.5618|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:30:03.5618|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:30:03.5618|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:30:03.5618|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.5726ms 204 2026-01-02 12:30:03.5757|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.8071ms 204 2026-01-02 12:30:03.5757|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:30:03.5757|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.4433ms 204 2026-01-02 12:30:03.5757|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:30:03.5757|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:30:03.5757|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:30:03.5757|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:30:03.5915|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:30:03.5915|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:30:03.5915|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:30:03.5915|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:30:03.5915|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:30:03.5915|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:30:03.5915|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:30:03.5915|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:30:03.5915|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:30:03.6065|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:30:03.6065|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 12:30:03.6065|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:30:03.6065|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 12:30:03.6065|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:30:03.6065|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:30:03.6065||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 12:30:03.6230|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 12:30:03.6230|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:30:03.6230|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:30:03.6230||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:30:03.6230||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:30:03.6230|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 18.4745ms 2026-01-02 12:30:03.6230||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:30:03.6389|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:30:03.6389||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:30:03.6389|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 64.7786ms 200 application/json; charset=utf-8 2026-01-02 12:30:03.6556||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:30:03.6556||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:30:03.6556||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 12:30:03.6556||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:30:03.6556||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 12:30:03.6556||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 12:30:04.0557||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 12:30:04.0557||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 12:30:04.0619|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:30:04.0619|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 444.3075ms 2026-01-02 12:30:04.0619|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:30:04.0619|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 483.3369ms 200 application/json; charset=utf-8 2026-01-02 12:30:05.0888||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:30:05.0939||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:30:05.0939||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:30:05.1137||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:30:05.1137||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:30:05.1137||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 12:30:05.5060||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:30:05.5060||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:30:05.5130||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:30:05.5130||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:30:05.5130||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:30:05.5304||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 12:30:05.9124||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:30:05.9124||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:30:05.9204||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:30:05.9204||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:30:05.9358||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:30:05.9358||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 12:30:06.3334||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:30:06.3334||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:30:06.3408||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:30:06.3408||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:30:06.3591||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:30:06.3591||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 12:30:06.7730||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:30:06.7730||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:30:06.7802||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:30:06.7947||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:30:06.7947||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:30:06.7947||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 12:30:07.1790||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:30:07.1790||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:30:07.1857||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:30:07.2006||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:30:07.2006|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 12:30:07.2006|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 12:30:07.2006|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:30:07.2178|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:30:07.2178|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:30:07.2178|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:30:07.2178|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:30:07.2319|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:30:07.2319|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:30:07.2319|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:30:07.2319|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:30:07.2319|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:30:07.2493|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:30:07.2493|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:30:07.2975|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:30:07.2975|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3684.0868ms 2026-01-02 12:30:07.2975|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:30:07.2975|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3724.6549ms 200 application/json; charset=utf-8 2026-01-02 12:39:10.9724|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:39:10.9724|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:39:10.9724|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:39:10.9724|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:39:10.9724|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:39:10.9724|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:39:10.9724|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.6757ms 204 2026-01-02 12:39:10.9724|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.7601ms 204 2026-01-02 12:39:10.9724|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.8588ms 204 2026-01-02 12:39:10.9856|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:39:10.9856|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:39:10.9856|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:39:10.9856|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:39:10.9856|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:39:10.9856|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:39:10.9856|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:39:10.9856|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:39:10.9856|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:39:11.0020|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:39:11.0020|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:39:11.0020|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:39:11.0020|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:39:11.0020|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:39:11.0020|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:39:11.0020|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:39:11.0020|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 12:39:11.0020|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 12:39:11.0020|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:39:11.0020||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 12:39:11.0020|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:39:11.0311|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:39:11.0324||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:39:11.0324||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:39:11.0324|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 12:39:11.0324||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:39:11.0324|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:39:11.0324||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:39:11.0324|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 28.2557ms 2026-01-02 12:39:11.0481|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:39:11.0481|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 60.8554ms 200 application/json; charset=utf-8 2026-01-02 12:39:11.0481||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:39:11.0481||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 12:39:11.0655||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 12:39:11.0655||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:39:11.0655||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:39:11.0802||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 12:39:11.4676||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 12:39:11.4732||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 12:39:11.4732|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:39:11.4732|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 464.0316ms 2026-01-02 12:39:11.4732|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:39:11.4732|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 495.8941ms 200 application/json; charset=utf-8 2026-01-02 12:39:11.5260||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:39:11.5260||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:39:11.5364||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:39:11.5530||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:39:11.5530||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:39:11.5530||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 12:39:11.9346||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:39:11.9397||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:39:11.9397||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:39:11.9567||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:39:11.9567||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:39:11.9567||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 12:39:12.3705||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:39:12.3705||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:39:12.3792||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:39:12.3929||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:39:12.3929||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:39:12.3929||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 12:39:12.7768||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:39:12.7768||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:39:12.7837||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:39:12.7837||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:39:12.7991||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:39:12.7991||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 12:39:13.1819||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:39:13.1819||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:39:13.1819||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:39:13.1997||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:39:13.1997||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:39:13.2065||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 12:39:13.5903||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:39:13.5952||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:39:13.5952||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:39:13.6142||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:39:13.6142|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 12:39:13.6289|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 12:39:13.6289|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:39:13.6289|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:39:13.6289|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:39:13.6289|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:39:13.6454|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:39:13.6454|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:39:13.6454|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:39:13.6583|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:39:13.6583|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:39:13.6583|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:39:13.6583|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:39:13.6749|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:39:13.7124|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:39:13.7124|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2700.8456ms 2026-01-02 12:39:13.7124|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:39:13.7124|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2731.4061ms 200 application/json; charset=utf-8 2026-01-02 12:43:32.5973|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:43:32.5973|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:43:32.5973|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:43:32.5973|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:43:32.5973|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:43:32.5973|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:43:32.6115|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.1882ms 204 2026-01-02 12:43:32.6115|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.1343ms 204 2026-01-02 12:43:32.6115|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.2849ms 204 2026-01-02 12:43:32.6115|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:43:32.6115|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:43:32.6115|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:43:32.6115|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:43:32.6115|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:43:32.6265|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:43:32.6265|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:43:32.6265|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:43:32.6265|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:43:32.6265|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:43:32.6265|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:43:32.6265|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:43:32.6265|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:43:32.6265|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:43:32.6265|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:43:32.6265|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 12:43:32.6265|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 12:43:32.6265|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:43:32.6265|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:43:32.6265||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 12:43:32.6423|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:43:32.6423|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 12:43:32.6423|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:43:32.6423||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:43:32.6423|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.7002ms 2026-01-02 12:43:32.6580||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:43:32.6580|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:43:32.6580|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 41.2338ms 200 application/json; charset=utf-8 2026-01-02 12:43:32.6580|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:43:32.6580||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:43:32.6580||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:43:32.6778||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:43:32.6778||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 12:43:32.6778||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 12:43:32.6778||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:43:32.6778||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:43:32.6886||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 12:43:33.0575||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 12:43:33.0575||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 12:43:33.0666|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:43:33.0666|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 427.3654ms 2026-01-02 12:43:33.0666|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:43:33.0666|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 450.3651ms 200 application/json; charset=utf-8 2026-01-02 12:43:34.1043||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:43:34.1043||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:43:34.1139||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:43:34.1139||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:43:34.1295||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:43:34.1295||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 12:43:34.5430||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:43:34.5430||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:43:34.5501||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:43:34.5501||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:43:34.5668||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:43:34.5668||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 12:43:34.9323||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:43:34.9323||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:43:34.9423||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:43:34.9561||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:43:34.9561||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:43:34.9561||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 12:43:35.3542||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:43:35.3542||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:43:35.3650||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:43:35.3803||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:43:35.3803||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:43:35.3803||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 12:43:35.7734||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:43:35.7734||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:43:35.7734||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:43:35.7930||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:43:35.7930||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:43:35.7981||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 12:43:36.1798||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:43:36.1798||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:43:36.1798||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:43:36.1985||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:43:36.2081|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 12:43:36.2081|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 12:43:36.2081|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:43:36.2226|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:43:36.2226|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:43:36.2226|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:43:36.2226|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:43:36.2353|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:43:36.2353|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:43:36.2353|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:43:36.2353|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:43:36.2353|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:43:36.2353|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:43:36.2353|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:43:36.2882|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:43:36.2882|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3648.3394ms 2026-01-02 12:43:36.2882|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:43:36.2882|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3671.0722ms 200 application/json; charset=utf-8 2026-01-02 12:43:43.3318|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:43:43.3318|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:43:43.3318|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:43:43.3318|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:43:43.3318|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:43:43.3318|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:43:43.3451|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.3111ms 204 2026-01-02 12:43:43.3451|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.1223ms 204 2026-01-02 12:43:43.3451|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.3519ms 204 2026-01-02 12:43:43.3451|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:43:43.3451|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:43:43.3606|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:43:43.3606|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:43:43.3606|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:43:43.3606|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:43:43.3606|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:43:43.3606|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:43:43.3606|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:43:43.3762|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:43:43.3762|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:43:43.3762|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:43:43.3762|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:43:43.3762|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:43:43.3762|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:43:43.3762|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:43:43.3762|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 12:43:43.3762|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 12:43:43.3762|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:43:43.3762||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 12:43:43.3762|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:43:43.3949|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 12:43:43.3949||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:43:43.3949|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:43:43.3949|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.4951ms 2026-01-02 12:43:43.3949||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:43:43.3949|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:43:43.3949|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.972ms 200 application/json; charset=utf-8 2026-01-02 12:43:43.4199||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:43:43.4252||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 12:43:43.4252||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 12:43:43.4252|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (41ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:43:43.4252||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:43:43.4393||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:43:43.4572||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:43:43.4572||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:43:43.4572||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 12:43:43.7899||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 12:43:43.7899||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 12:43:43.7899|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:43:43.7899|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 408.4553ms 2026-01-02 12:43:43.7983|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:43:43.7983|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 442.9689ms 200 application/json; charset=utf-8 2026-01-02 12:43:43.8328||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:43:43.8328||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:43:43.8328||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:43:43.8500||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:43:43.8500||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:43:43.8500||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 12:43:44.1937||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:43:44.1937||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:43:44.1937||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:43:44.2095||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:43:44.2095||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:43:44.2095||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 12:43:44.5528||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:43:44.5528||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:43:44.5528||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:43:44.5717||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:43:44.5717||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:43:44.5717||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 12:43:44.9299||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:43:44.9299||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:43:44.9299||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:43:44.9482||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:43:44.9482||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:43:44.9482||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 12:43:45.3051||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:43:45.3051||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:43:45.3141||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:43:45.3141||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:43:45.3315||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:43:45.3315||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 12:43:45.6638||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:43:45.6638||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:43:45.6638||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:43:45.6840||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:43:45.6907|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 12:43:45.6907|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 12:43:45.6907|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:43:45.6907|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:43:45.7065|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:43:45.7065|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:43:45.7065|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:43:45.7201|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:43:45.7201|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:43:45.7201|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:43:45.7201|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:43:45.7384|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:43:45.7384|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:43:45.7384|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:43:45.7864|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:43:45.7864|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2403.608ms 2026-01-02 12:43:45.7864|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:43:45.7864|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2440.4567ms 200 application/json; charset=utf-8 2026-01-02 12:45:02.1385|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:45:02.1385|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:45:02.1385|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:45:02.1414|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:02.1414|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:02.1414|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:02.1414|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.7555ms 204 2026-01-02 12:45:02.1414|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.6837ms 204 2026-01-02 12:45:02.1414|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.6795ms 204 2026-01-02 12:45:02.1414|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:45:02.1414|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:45:02.1414|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:45:02.1414|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:45:02.1568|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:45:02.1568|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:45:02.1568|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:02.1568|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:02.1568|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:02.1568|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:45:02.1568|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:45:02.1568|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:45:02.1568|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:45:02.1568|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:45:02.1568|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:45:02.1568|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 12:45:02.1568|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:45:02.1568|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 12:45:02.1568|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:45:02.1568|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:45:02.1719||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 12:45:02.1719|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 12:45:02.1719||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:45:02.1719|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:45:02.1719||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:45:02.1719|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 9.1072ms 2026-01-02 12:45:02.1719|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:45:02.1719|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.2279ms 200 application/json; charset=utf-8 2026-01-02 12:45:02.1874|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:45:02.1874||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:45:02.1874||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:45:02.1874||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:45:02.1874||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 12:45:02.1874||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 12:45:02.2079||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:45:02.2079||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:45:02.2079||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 12:45:02.5712||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 12:45:02.5712||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 12:45:02.5712|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:45:02.5712|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 405.1022ms 2026-01-02 12:45:02.5776|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:45:02.5776|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 425.3037ms 200 application/json; charset=utf-8 2026-01-02 12:45:03.5943||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:45:03.5943||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:45:03.5943||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:45:03.6116||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:45:03.6116||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:45:03.6116||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 12:45:03.9948||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:45:04.0006||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:45:04.0006||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:45:04.0181||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:45:04.0181||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:45:04.0181||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 12:45:04.3980||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:45:04.3980||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:45:04.3980||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:45:04.4119||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:45:04.4119||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:45:04.4119||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 12:45:04.5410|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 12:45:04.5410|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 12:45:04.5410|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:04.5467|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:04.5467|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.8043ms 204 2026-01-02 12:45:04.5467|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.4286ms 204 2026-01-02 12:45:04.5467|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 12:45:04.5467|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 12:45:04.5467|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:45:04.5467|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:45:04.5634|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:04.5634|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:04.5634|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:45:04.5634|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 12:45:04.5634|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:45:04.5775|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 12:45:04.5775|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 12:45:04.5775|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 12:45:04.5775|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:45:04.5775|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:45:04.5775|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 12:45:04.5934|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:45:04.5934|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 11.4228ms 2026-01-02 12:45:04.5934|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 12:45:04.5934|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.0965ms 200 application/json; charset=utf-8 2026-01-02 12:45:04.6414|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (51ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 12:45:04.6558|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:45:04.6558|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 72.6653ms 2026-01-02 12:45:04.6558|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 12:45:04.6558|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 106.5792ms 200 application/json; charset=utf-8 2026-01-02 12:45:04.7590||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:45:04.7590||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:45:04.7665||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:45:04.7816||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:45:04.7816||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:45:04.7816||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 12:45:05.1356||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:45:05.1409||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:45:05.1409||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:45:05.1564||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:45:05.1564||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:45:05.1564||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 12:45:05.5255||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:45:05.5255||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:45:05.5338||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:45:05.5338||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:45:05.5495|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 12:45:05.5495|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 12:45:05.5495|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:45:05.5495|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:45:05.5495|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:45:05.5630|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:45:05.5630|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:45:05.5630|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:45:05.5630|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:45:05.5630|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:45:05.5630|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:45:05.5775|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:45:05.5775|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:45:05.5775|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:45:05.6289|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:45:05.6289|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3460.3119ms 2026-01-02 12:45:05.6289|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:45:05.6289|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3482.2714ms 200 application/json; charset=utf-8 2026-01-02 12:45:11.2822|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:45:11.2822|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:45:11.2822|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:45:11.2822|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:11.2822|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:11.2822|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:11.2822|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.7603ms 204 2026-01-02 12:45:11.2822|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.6024ms 204 2026-01-02 12:45:11.2822|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.3781ms 204 2026-01-02 12:45:11.2979|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:45:11.2979|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:45:11.2979|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:45:11.2979|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:45:11.2979|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:45:11.2979|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:45:11.3118|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:11.3118|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:11.3118|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:11.3118|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:45:11.3118|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:45:11.3118|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:45:11.3118|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:45:11.3118|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:45:11.3118|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:45:11.3118|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 12:45:11.3280|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 12:45:11.3280|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:45:11.3280|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:45:11.3280||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 12:45:11.3280|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:45:11.3280|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 12:45:11.3434||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:45:11.3434|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:45:11.3434|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:45:11.3434|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.7786ms 2026-01-02 12:45:11.3434||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:45:11.3434||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:45:11.3434|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:45:11.3434||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:45:11.3592|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 61.2221ms 200 application/json; charset=utf-8 2026-01-02 12:45:11.3592||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:45:11.3772||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 12:45:11.3772||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 12:45:11.3772||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:45:11.3772||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:45:11.3772||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 12:45:11.7593||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 12:45:11.7683||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 12:45:11.7683|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:45:11.7683|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 441.7691ms 2026-01-02 12:45:11.7683|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:45:11.7683|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 477.703ms 200 application/json; charset=utf-8 2026-01-02 12:45:11.8212||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:45:11.8212||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:45:11.8334||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:45:11.8500||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:45:11.8500||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:45:11.8629||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 12:45:12.2760||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:45:12.2760||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:45:12.2825||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:45:12.2964||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:45:12.2964||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:45:12.2964||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 12:45:12.6795||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:45:12.6795||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:45:12.6795||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:45:12.6986||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:45:12.7027||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:45:12.7027||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 12:45:13.0690||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:45:13.0690||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:45:13.0690||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:45:13.0899||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:45:13.0937||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:45:13.0937||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 12:45:13.4597||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:45:13.4597||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:45:13.4597||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:45:13.4795||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:45:13.4795||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:45:13.4860||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 12:45:13.9159||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:45:13.9159||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:45:13.9213||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:45:13.9213||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:45:13.9399|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 12:45:13.9399|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 12:45:13.9399|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:45:13.9537|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:45:13.9537|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:45:13.9537|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:45:13.9537|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:45:13.9537|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:45:13.9713|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:45:13.9713|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:45:13.9713|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:45:13.9713|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:45:13.9850|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:45:13.9850|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:45:14.0336|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:45:14.0336|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2700.9442ms 2026-01-02 12:45:14.0336|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:45:14.0336|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2736.2424ms 200 application/json; charset=utf-8 2026-01-02 12:45:27.4016|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 12:45:27.4016|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 12:45:27.4016|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:27.4055|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:27.4055|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.8826ms 204 2026-01-02 12:45:27.4055|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.2393ms 204 2026-01-02 12:45:27.4055|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 12:45:27.4055|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 12:45:27.4055|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:45:27.4055|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:45:27.4055|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:27.4055|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:27.4055|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:45:27.4055|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:45:27.4212|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 12:45:27.4212|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 12:45:27.4212|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 12:45:27.4212|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 12:45:27.4212|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:45:27.4212|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:45:27.4212|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 12:45:27.4367|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:45:27.4367|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 10.4083ms 2026-01-02 12:45:27.4367|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 12:45:27.4367|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.2831ms 200 application/json; charset=utf-8 2026-01-02 12:45:27.4855|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (53ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 12:45:27.5044|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:45:27.5044|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 78.3508ms 2026-01-02 12:45:27.5044|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 12:45:27.5044|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 99.0416ms 200 application/json; charset=utf-8 2026-01-02 12:45:34.1926|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 12:45:34.1926|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 12:45:34.1926|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:34.1926|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:34.1926|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.1858ms 204 2026-01-02 12:45:34.2024|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.7877ms 204 2026-01-02 12:45:34.2024|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 12:45:34.2024|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 12:45:34.2024|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:45:34.2024|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:45:34.2024|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:34.2024|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:34.2024|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:45:34.2024|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:45:34.2189|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 12:45:34.2189|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 12:45:34.2189|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 12:45:34.2189|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 12:45:34.2189|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:45:34.2189|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:45:34.2189|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 12:45:34.2351|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:45:34.2351|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 11.2248ms 2026-01-02 12:45:34.2351|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 12:45:34.2351|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 34.6583ms 200 application/json; charset=utf-8 2026-01-02 12:45:34.2351|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (9ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 12:45:34.2515|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:45:34.2515|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 26.1295ms 2026-01-02 12:45:34.2515|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 12:45:34.2515|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.4587ms 200 application/json; charset=utf-8 2026-01-02 12:45:48.9170|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:45:48.9170|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:45:48.9170|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:45:48.9170|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:48.9234|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:48.9234|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:48.9234|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.941ms 204 2026-01-02 12:45:48.9234|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.3349ms 204 2026-01-02 12:45:48.9234|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.954ms 204 2026-01-02 12:45:48.9234|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:45:48.9234|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:45:48.9369|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:45:48.9369|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:45:48.9369|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:45:48.9369|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:45:48.9369|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:48.9369|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:48.9369|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:45:48.9369|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:45:48.9369|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:45:48.9369|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:45:48.9369|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:45:48.9369|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:45:48.9369|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:45:48.9369|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 12:45:48.9528|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 12:45:48.9528|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:45:48.9528|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:45:48.9528||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 12:45:48.9528|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:45:48.9528|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 12:45:48.9528|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:45:48.9528|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 10.1455ms 2026-01-02 12:45:48.9528||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:45:48.9528|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:45:48.9693|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 36.3716ms 200 application/json; charset=utf-8 2026-01-02 12:45:48.9693||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:45:48.9845|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (21ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:45:48.9845||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:45:48.9845||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:45:48.9845||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:45:48.9845||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 12:45:48.9845||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 12:45:49.0143||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:45:49.0212||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:45:49.0212||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 12:45:49.3763||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 12:45:49.3763||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 12:45:49.3763|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:45:49.3763|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 425.3105ms 2026-01-02 12:45:49.3763|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:45:49.3763|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 447.8902ms 200 application/json; charset=utf-8 2026-01-02 12:45:50.3943||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:45:50.3943||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:45:50.3943||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:45:50.4148||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:45:50.4148||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:45:50.4213||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 12:45:50.8145||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:45:50.8145||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:45:50.8145||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:45:50.8337||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:45:50.8337||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:45:50.8337||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 12:45:51.2069||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:45:51.2069||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:45:51.2147||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:45:51.2147||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:45:51.2311||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:45:51.2311||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 12:45:51.5800||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:45:51.5800||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:45:51.5896||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:45:51.5896||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:45:51.6096||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:45:51.6096||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 12:45:51.9868||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:45:51.9868||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:45:51.9868||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:45:52.0089||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:45:52.0118||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:45:52.0118||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 12:45:52.4099||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:45:52.4099||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:45:52.4099||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:45:52.4298||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:45:52.4369|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 12:45:52.4369|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 12:45:52.4369|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:45:52.4495|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:45:52.4495|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:45:52.4495|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:45:52.4495|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:45:52.4495|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:45:52.4663|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:45:52.4663|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:45:52.4663|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:45:52.4663|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:45:52.4837|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:45:52.4837|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:45:52.5226|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:45:52.5226|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3566.208ms 2026-01-02 12:45:52.5226|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:45:52.5226|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3589.0271ms 200 application/json; charset=utf-8 2026-01-02 12:46:06.7284|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:46:06.7284|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:46:06.7284|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:46:06.7284|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:46:06.7284|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:46:06.7284|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:46:06.7284|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.9718ms 204 2026-01-02 12:46:06.7404|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.708ms 204 2026-01-02 12:46:06.7404|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.3717ms 204 2026-01-02 12:46:06.7404|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:46:06.7404|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:46:06.7404|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:46:06.7404|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:46:06.7554|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:46:06.7554|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:46:06.7554|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:46:06.7554|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:46:06.7554|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:46:06.7554|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:46:06.7554|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:46:06.7554|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:46:06.7554|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:46:06.7554|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:46:06.7554|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:46:06.7709|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:46:06.7709|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 12:46:06.7709|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 12:46:06.7709|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:46:06.7709||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 12:46:06.7709|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:46:06.7709||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:46:06.7709|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 12:46:06.7868||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:46:06.7868|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:46:06.7868|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.7625ms 2026-01-02 12:46:06.7868|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:46:06.7868|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.2111ms 200 application/json; charset=utf-8 2026-01-02 12:46:06.8017||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:46:06.8017|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (21ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:46:06.8017||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 12:46:06.8017||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:46:06.8017||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 12:46:06.8017||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:46:06.8310||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:46:06.8358||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:46:06.8358||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 12:46:07.1702||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 12:46:07.1702||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 12:46:07.1807|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:46:07.1807|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 406.1635ms 2026-01-02 12:46:07.1807|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:46:07.1807|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 438.6521ms 200 application/json; charset=utf-8 2026-01-02 12:46:08.2161||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:46:08.2161||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:46:08.2238||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:46:08.2238||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:46:08.2403||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:46:08.2403||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 12:46:08.6073||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:46:08.6073||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:46:08.6073||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:46:08.6266||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:46:08.6308||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:46:08.6308||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 12:46:09.0454||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:46:09.0454||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:46:09.0536||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:46:09.0536||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:46:09.0716||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:46:09.0716||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 12:46:09.4518||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:46:09.4518||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:46:09.4612||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:46:09.4751||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:46:09.4751||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:46:09.4751||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 12:46:09.8719||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:46:09.8719||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:46:09.8719||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:46:09.8889||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:46:09.8889||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:46:09.8889||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 12:46:10.2781||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:46:10.2781||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:46:10.2781||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:46:10.2993||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:46:10.3073|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 12:46:10.3073|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 12:46:10.3073|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:46:10.3185|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:46:10.3185|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:46:10.3185|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:46:10.3185|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:46:10.3185|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:46:10.3337|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:46:10.3337|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:46:10.3337|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:46:10.3337|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:46:10.3337|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:46:10.3491|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:46:10.3876|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:46:10.3876|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3613.5344ms 2026-01-02 12:46:10.3876|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:46:10.3876|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3648.1739ms 200 application/json; charset=utf-8 2026-01-02 12:50:10.9977|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=518 2026-01-02 12:50:10.9977|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:50:10.9977|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.8842ms 204 2026-01-02 12:50:10.9977|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=518 2026-01-02 12:50:11.0102|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:50:11.0102|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 12:50:11.0102|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 12:50:11.0102|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:50:11.0102|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:50:11.0102|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:50:11.0102|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:50:11.0102|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.7577ms 204 2026-01-02 12:50:11.0102|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.4387ms 204 2026-01-02 12:50:11.0253|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 12:50:11.0253|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 12:50:11.0253|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 12:50:11.0253|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:50:11.0253|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:50:11.0253|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:50:11.0406|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:50:11.0406|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:50:11.0406|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:50:11.0406|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:50:11.0406|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:50:11.0406|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 12:50:11.0406|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 12:50:11.0406|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 12:50:11.0406|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:50:11.0406|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 12:50:11.0406|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 12:50:11.0406|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 14.0644ms 2026-01-02 12:50:11.0406|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:50:11.0565|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:50:11.0565|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 12:50:11.0565|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 12:50:11.0565|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 53.7634ms 200 application/json; charset=utf-8 2026-01-02 12:50:11.0565|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:50:11.0565|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 11.4124ms 2026-01-02 12:50:11.0565|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 12:50:11.0565|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 41.4289ms 200 application/json; charset=utf-8 2026-01-02 12:50:11.1002|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (40ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 12:50:11.1147|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:50:11.1147|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 61.603ms 2026-01-02 12:50:11.1194|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 12:50:11.1194|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 88.9228ms 200 application/json; charset=utf-8 2026-01-02 12:50:13.3912|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:50:13.3912|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:50:13.3912|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:50:13.3912|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:50:13.3912|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:50:13.4016|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:50:13.4016|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.1407ms 204 2026-01-02 12:50:13.4016|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.4594ms 204 2026-01-02 12:50:13.4016|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.5603ms 204 2026-01-02 12:50:13.4016|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:50:13.4165|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:50:13.4165|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:50:13.4165|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:50:13.4165|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:50:13.4317|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:50:13.4317|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:50:13.4317|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:50:13.4317|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:50:13.4317|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:50:13.4317|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:50:13.4317|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:50:13.4317|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:50:13.4317|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:50:13.4317|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:50:13.4317|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 12:50:13.4317|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:50:13.4317|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 12:50:13.4471||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 12:50:13.4471|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:50:13.4471|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:50:13.4471||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:50:13.4471|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:50:13.4471|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 12:50:13.4471||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:50:13.4471||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:50:13.4471|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:50:13.4662||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:50:13.4662|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 17.2699ms 2026-01-02 12:50:13.4662|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:50:13.4662|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.0529ms 200 application/json; charset=utf-8 2026-01-02 12:50:13.4841||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:50:13.4841||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:50:13.4952||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 12:50:13.4952||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:50:13.5109||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 12:50:13.5109||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 12:50:13.9181||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 12:50:13.9181||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 12:50:13.9181|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:50:13.9321|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 485.3956ms 2026-01-02 12:50:13.9321|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:50:13.9321|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 522.6515ms 200 application/json; charset=utf-8 2026-01-02 12:50:14.9301||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:50:14.9333||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:50:14.9333||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:50:14.9333||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:50:14.9487||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:50:14.9487||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 12:50:15.2733||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:50:15.2776||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:50:15.2776||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:50:15.2949||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:50:15.2949||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:50:15.2949||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 12:50:15.6472||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:50:15.6502||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:50:15.6502||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:50:15.6502||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:50:15.6655||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:50:15.6655||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 12:50:16.0684||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:50:16.0714||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:50:16.0714||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:50:16.0714||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:50:16.0873||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:50:16.0873||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 12:50:16.4622||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:50:16.4622||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:50:16.4622||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:50:16.4871||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:50:16.4871||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:50:16.4968||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 12:50:16.8499||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:50:16.8550||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:50:16.8550||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:50:16.8752||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:50:16.8901|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 12:50:16.8901|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 12:50:16.8999|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:50:16.8999|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:50:16.8999|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:50:16.8999|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:50:16.8999|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:50:16.9161|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:50:16.9161|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:50:16.9161|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:50:16.9161|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:50:16.9161|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:50:16.9161|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:50:16.9313|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:50:16.9763|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:50:16.9784|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3529.8751ms 2026-01-02 12:50:16.9784|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:50:16.9784|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3566.2938ms 200 application/json; charset=utf-8 2026-01-02 12:50:18.8843|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 12:50:18.8843|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:50:18.8843|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:50:18.8843|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:50:18.8843|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:50:18.8843|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:50:18.8843|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 12:50:18.9005|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:50:18.9005|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 9.2229ms 2026-01-02 12:50:18.9005|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:50:18.9005|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 20.157ms 200 application/json; charset=utf-8 2026-01-02 12:50:33.0890|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 12:50:33.0890|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:50:33.0890|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:50:33.0890|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:50:33.0890|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:50:33.0890|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:50:33.1043|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 12:50:33.1043|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:50:33.1043|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 9.483ms 2026-01-02 12:50:33.1043|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:50:33.1043|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.1774ms 200 application/json; charset=utf-8 2026-01-02 12:50:34.6077|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 12:50:34.6077|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:50:34.6077|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:50:34.6077|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:50:34.6183|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:50:34.6183|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:50:34.6183|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 12:50:34.6183|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:50:34.6183|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 8.7348ms 2026-01-02 12:50:34.6183|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:50:34.6183|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.6312ms 200 application/json; charset=utf-8 2026-01-02 12:50:36.5461|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:50:36.5461|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:50:36.5461|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:50:36.5461|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:50:36.5461|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:50:36.5461|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:50:36.5574|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.2797ms 204 2026-01-02 12:50:36.5574|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.8741ms 204 2026-01-02 12:50:36.5574|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.3645ms 204 2026-01-02 12:50:36.5574|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:50:36.5574|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:50:36.5574|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:50:36.5718|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:50:36.5718|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:50:36.5718|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:50:36.5718|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:50:36.5718|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:50:36.5718|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:50:36.5718|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:50:36.5877|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:50:36.5877|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:50:36.5877|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:50:36.5877|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:50:36.5877|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:50:36.5877|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 12:50:36.5877|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 12:50:36.5877|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:50:36.6030||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 12:50:36.6030|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:50:36.6030|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:50:36.6030||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:50:36.6030|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 12:50:36.6030|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:50:36.6030||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:50:36.6185|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:50:36.6185||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:50:36.6185|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 19.4735ms 2026-01-02 12:50:36.6185||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:50:36.6185|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:50:36.6185|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 65.4106ms 200 application/json; charset=utf-8 2026-01-02 12:50:36.6413||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:50:36.6413||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:50:36.6413||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 12:50:36.6413||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:50:36.6413||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 12:50:36.6491||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 12:50:37.0358||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:50:37.0415||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:50:37.0415||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:50:37.0599||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:50:37.0599||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:50:37.0599||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 12:50:37.4664||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:50:37.4664||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:50:37.4664||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:50:37.4964||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:50:37.4964||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:50:37.4964||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 12:50:37.8954||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:50:37.9007||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:50:37.9007||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:50:37.9224||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:50:37.9224||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:50:37.9308||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 12:50:38.0689||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 12:50:38.0744||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 12:50:38.0744|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:50:38.0744|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1478.0192ms 2026-01-02 12:50:38.0744|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:50:38.0744|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1520.6807ms 200 application/json; charset=utf-8 2026-01-02 12:50:38.3013||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:50:38.3057||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:50:38.3057||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:50:38.3057||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:50:38.3238||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:50:38.3238||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 12:50:38.7071||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:50:38.7121||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:50:38.7121||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:50:38.7281||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:50:38.7281||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:50:38.7281||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 12:50:39.0986||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:50:39.1034||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:50:39.1034||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:50:39.1201||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:50:39.1201|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 12:50:39.1352|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 12:50:39.1352|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:50:39.1352|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:50:39.1352|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:50:39.1499|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:50:39.1499|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:50:39.1499|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:50:39.1499|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:50:39.1651|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:50:39.1651|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:50:39.1651|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:50:39.1651|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:50:39.1651|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:50:39.2142|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:50:39.2142|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2610.0134ms 2026-01-02 12:50:39.2142|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:50:39.2142|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2651.6579ms 200 application/json; charset=utf-8 2026-01-02 12:50:42.9489|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 12:50:42.9489|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:50:42.9489|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:50:42.9489|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:50:42.9489|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:50:42.9489|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:50:42.9618|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 12:50:42.9618|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:50:42.9618|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 6.7851ms 2026-01-02 12:50:42.9618|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:50:42.9618|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.9722ms 200 application/json; charset=utf-8 2026-01-02 12:50:51.3717|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 12:50:51.3717|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:50:51.3717|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:50:51.3717|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:50:51.3717|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:50:51.3717|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:50:51.3857|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 12:50:51.3857|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:50:51.3857|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 9.7164ms 2026-01-02 12:50:51.3857|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:50:51.3857|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.2802ms 200 application/json; charset=utf-8 2026-01-02 12:50:52.8519|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 12:50:52.8545|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:50:52.8545|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:50:52.8545|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:50:52.8545|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:50:52.8545|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:50:52.8545|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 12:50:52.8686|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:50:52.8686|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 8.5723ms 2026-01-02 12:50:52.8686|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:50:52.8686|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 20.9217ms 200 application/json; charset=utf-8 2026-01-02 12:51:16.2943|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 12:51:16.2943|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:51:16.2943|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:51:16.2943|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:51:16.2943|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:51:16.2943|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:51:16.3074|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 12:51:16.3074|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:51:16.3074|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 9.074ms 2026-01-02 12:51:16.3074|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:51:16.3074|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.371ms 200 application/json; charset=utf-8 2026-01-02 12:51:17.7798|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 12:51:17.7798|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:51:17.7798|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:51:17.7798|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:51:17.7798|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:51:17.7898|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:51:17.7898|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 12:51:17.7898|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:51:17.7898|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 10.0072ms 2026-01-02 12:51:17.7898|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:51:17.7898|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.5763ms 200 application/json; charset=utf-8 2026-01-02 12:51:24.5979|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:51:24.5979|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:51:24.6091|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.2198ms 204 2026-01-02 12:51:24.5979|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:51:24.5979|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:51:24.6091|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:51:24.6091|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:51:24.6091|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:51:24.6251|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:51:24.6251|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.1763ms 204 2026-01-02 12:51:24.6418|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 43.864ms 204 2026-01-02 12:51:24.6418|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:51:24.6554|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:51:24.6554|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:51:24.6554|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:51:24.6554|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:51:24.6554|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:51:24.6554|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:51:24.6679|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:51:24.6679|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:51:24.6679|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 12:51:24.6679|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:51:24.6679|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:51:24.6679||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 12:51:24.6679|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:51:24.6679|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:51:24.6860|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:51:24.6860||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:51:24.6860|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 12:51:24.6860|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:51:24.6860||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:51:24.6860|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:51:24.6860|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:51:24.6860|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 12:51:24.7000|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:51:24.7000||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:51:24.7000|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.3403ms 2026-01-02 12:51:24.7000|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:51:24.7000|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 47.3623ms 200 application/json; charset=utf-8 2026-01-02 12:51:24.7000||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:51:24.7000||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:51:24.7000||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 12:51:24.7158||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 12:51:24.7158||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:51:24.7158||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:51:24.7331||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 12:51:25.0783||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 12:51:25.0783||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 12:51:25.0783|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:51:25.0903|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 411.5495ms 2026-01-02 12:51:25.0903|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:51:25.0903|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 481.2427ms 200 application/json; charset=utf-8 2026-01-02 12:51:26.2181||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:51:26.2181||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:51:26.2181||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:51:26.2390||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:51:26.2390||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:51:26.2390||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 12:51:26.5925||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:51:26.5925||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:51:26.5925||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:51:26.6138||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:51:26.6138||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:51:26.6138||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 12:51:26.9978||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:51:26.9978||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:51:26.9978||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:51:27.0176||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:51:27.0176||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:51:27.0176||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 12:51:27.3896||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:51:27.3896||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:51:27.3896||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:51:27.4085||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:51:27.4085||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:51:27.4085||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 12:51:27.7493||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:51:27.7493||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:51:27.7493||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:51:27.7683||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:51:27.7683||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:51:27.7683||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 12:51:28.1104||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:51:28.1104||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:51:28.1157||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:51:28.1157||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:51:28.1359|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 12:51:28.1752|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (34ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 12:51:28.1808|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:51:28.1808|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:51:28.1808|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:51:28.1942|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:51:28.1942|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:51:28.1942|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:51:28.1942|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:51:28.2102|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:51:28.2102|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:51:28.2102|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:51:28.2102|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:51:28.2102|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:51:28.2539|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:51:28.2571|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3568.8414ms 2026-01-02 12:51:28.2571|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:51:28.2571|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3604.5688ms 200 application/json; charset=utf-8 2026-01-02 12:51:29.7248|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:51:29.7248|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:51:29.7248|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:51:29.7278|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:51:29.7278|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:51:29.7278|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:51:29.7278|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.4752ms 204 2026-01-02 12:51:29.7278|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.4787ms 204 2026-01-02 12:51:29.7415|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.6727ms 204 2026-01-02 12:51:29.7415|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:51:29.7415|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:51:29.7415|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:51:29.7415|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 12:51:29.7415|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 12:51:29.7563|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 12:51:29.7563|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 12:51:29.7563|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 12:51:29.7563|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:51:29.7563|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:51:29.7563|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 12:51:29.7563|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 12:51:29.7563|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 12:51:29.7563|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:51:29.7720|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 12:51:29.7720|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 12:51:29.7720|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 12:51:29.7720|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 32.2268ms 401 2026-01-02 12:51:29.7720|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.4391ms 401 2026-01-02 12:51:29.7720|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 12:51:29.7884|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.3105ms 401 2026-01-02 12:51:29.9183|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:51:29.9183|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:51:29.9183|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:51:29.9183|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:51:29.9183|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:51:29.9183|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 12:51:29.9305|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:51:29.9305|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 12:51:29.9305|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:51:29.9305|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 8.109ms 2026-01-02 12:51:29.9305|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:51:29.9305|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:51:29.9305|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 22.8038ms 200 application/json; charset=utf-8 2026-01-02 12:51:29.9305|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:51:29.9458|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:51:29.9458|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:51:29.9458|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:51:29.9458|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:51:29.9458|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:51:29.9458|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:51:29.9458|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 12:51:29.9458|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:51:29.9458||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 12:51:29.9458|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:51:29.9599|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:51:29.9599|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:51:29.9599||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:51:29.9599||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:51:29.9866||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:51:29.9866|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (24ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:51:29.9924||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 12:51:29.9924||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:51:29.9924||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 12:51:29.9924||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:51:30.0136||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:51:30.0136||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:51:30.0136||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 12:51:30.4052||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:51:30.4052||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:51:30.4143||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:51:30.4143||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:51:30.4303||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:51:30.4303||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 12:51:30.7804||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:51:30.7804||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:51:30.7804||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:51:30.7966||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:51:30.7966||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:51:30.8030||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 12:51:31.1394||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:51:31.1394||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:51:31.1394||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:51:31.1539||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:51:31.1539||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:51:31.1539||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 12:51:31.4218||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 12:51:31.4218||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 12:51:31.4298|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:51:31.4298|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1475.5303ms 2026-01-02 12:51:31.4298|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:51:31.4298|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1493.5485ms 200 application/json; charset=utf-8 2026-01-02 12:51:31.4971||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:51:31.4971||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:51:31.5069||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:51:31.5069||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:51:31.5257||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:51:31.5257||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 12:51:31.9050||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:51:31.9050||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:51:31.9140||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:51:31.9140||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:51:31.9299||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:51:31.9299||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 12:51:32.2802||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:51:32.2802||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:51:32.2802||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:51:32.2973||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:51:32.3063|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 12:51:32.3063|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 12:51:32.3063|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:51:32.3200|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:51:32.3200|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:51:32.3200|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:51:32.3200|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:51:32.3200|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:51:32.3353|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:51:32.3353|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:51:32.3353|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:51:32.3353|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:51:32.3353|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:51:32.3509|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:51:32.3945|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:51:32.3974|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2436.4528ms 2026-01-02 12:51:32.3974|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:51:32.3974|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2454.1804ms 200 application/json; charset=utf-8 2026-01-02 12:51:50.7967|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 12:51:50.7967|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:51:50.7967|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:51:50.7967|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:51:50.7967|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:51:50.8034|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:51:50.8034|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 12:51:50.8034|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:51:50.8034|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 5.937ms 2026-01-02 12:51:50.8034|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 12:51:50.8034|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.9015ms 200 application/json; charset=utf-8 2026-01-02 12:52:15.2639|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:52:15.2639|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:52:15.2639|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:52:15.2639|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:52:15.2639|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:52:15.2743|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:52:15.2743|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.3121ms 204 2026-01-02 12:52:15.2743|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.6083ms 204 2026-01-02 12:52:15.2743|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.7674ms 204 2026-01-02 12:52:15.2743|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:52:15.2912|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:52:15.2912|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:52:15.2912|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:52:15.2912|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:52:15.2912|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:52:15.3059|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:52:15.3059|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:52:15.3059|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:52:15.3059|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:52:15.3059|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:52:15.3059|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:52:15.3059|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:52:15.3059|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:52:15.3059|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:52:15.3059|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 12:52:15.3214|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 12:52:15.3214|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:52:15.3214|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:52:15.3214||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 12:52:15.3214|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:52:15.3214|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 12:52:15.3367|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:52:15.3367||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:52:15.3367|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:52:15.3367||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:52:15.3367|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 19.3423ms 2026-01-02 12:52:15.3367||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:52:15.3367||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:52:15.3367|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:52:15.3527|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 65.1492ms 200 application/json; charset=utf-8 2026-01-02 12:52:15.3678||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:52:15.3678||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:52:15.3678||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 12:52:15.3678||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:52:15.3678||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 12:52:15.3678||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 12:52:15.7537||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 12:52:15.7598||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 12:52:15.7598|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:52:15.7598|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 440.9248ms 2026-01-02 12:52:15.7598|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:52:15.7598|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 478.7418ms 200 application/json; charset=utf-8 2026-01-02 12:52:16.7718||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:52:16.7774||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:52:16.7774||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:52:16.7938||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:52:16.7938||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:52:16.7938||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 12:52:17.1295||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:52:17.1295||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:52:17.1346||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:52:17.1346||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:52:17.1513||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:52:17.1513||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 12:52:17.5075||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:52:17.5124||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:52:17.5124||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:52:17.5315||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:52:17.5315||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:52:17.5315||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 12:52:17.8680||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:52:17.8680||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:52:17.8680||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:52:17.8891||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:52:17.8891||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:52:17.8891||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 12:52:18.2731||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:52:18.2782||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:52:18.2782||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:52:18.2987||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:52:18.2987||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:52:18.3060||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 12:52:18.6325||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:52:18.6375||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:52:18.6375||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:52:18.6533||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:52:18.6533|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 12:52:18.6672|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 12:52:18.6672|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:52:18.6672|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:52:18.6799|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:52:18.6799|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:52:18.6799|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:52:18.6799|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:52:18.6988|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:52:18.6988|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:52:18.6988|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:52:18.7115|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:52:18.7115|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:52:18.7115|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:52:18.7526|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:52:18.7526|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3428.8652ms 2026-01-02 12:52:18.7588|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:52:18.7588|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3466.8872ms 200 application/json; charset=utf-8 2026-01-02 12:56:03.9705|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:56:03.9705|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:56:03.9705|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:56:03.9705|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:56:03.9705|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:56:03.9705|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:56:03.9705|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.1861ms 204 2026-01-02 12:56:03.9705|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.3626ms 204 2026-01-02 12:56:03.9705|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.4539ms 204 2026-01-02 12:56:03.9845|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:56:03.9845|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:56:03.9845|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:56:03.9845|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:56:03.9999|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:56:03.9845|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:56:03.9845|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:56:03.9999|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:56:03.9999|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:56:03.9999|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:56:03.9999|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:56:03.9999|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:56:03.9999|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:56:03.9999|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 12:56:03.9999|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:56:04.0146|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:56:04.0146||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 12:56:04.0146|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 12:56:04.0146|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:56:04.0146|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:56:04.0146||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:56:04.0146|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:56:04.0345||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:56:04.0345|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 12:56:04.0345|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:56:04.0345|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:56:04.0345||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:56:04.0345|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.8803ms 2026-01-02 12:56:04.0345|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:56:04.0345||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:56:04.0345|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 56.5985ms 200 application/json; charset=utf-8 2026-01-02 12:56:04.0551||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:56:04.0551||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 12:56:04.0551||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 12:56:04.0551||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:56:04.0648||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:56:04.0648||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 12:56:04.4451||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:56:04.4451||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:56:04.4451||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:56:04.4641||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:56:04.4678||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:56:04.4678||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 12:56:04.8528||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:56:04.8528||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:56:04.8594||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:56:04.8594||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:56:04.8783||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:56:04.8783||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 12:56:05.2401||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:56:05.2401||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:56:05.2401||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:56:05.2630||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:56:05.2669||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:56:05.2669||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 12:56:05.4579||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 12:56:05.4579||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 12:56:05.4579|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:56:05.4695|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1452.6429ms 2026-01-02 12:56:05.4695|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:56:05.4695|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1488.047ms 200 application/json; charset=utf-8 2026-01-02 12:56:05.6291||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:56:05.6291||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:56:05.6291||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:56:05.6522||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:56:05.6567||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:56:05.6567||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 12:56:06.0390||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:56:06.0390||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:56:06.0390||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:56:06.0620||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:56:06.0671||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:56:06.0671||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 12:56:06.4739||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:56:06.4739||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:56:06.4739||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:56:06.4975||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:56:06.5072|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 12:56:06.5072|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 12:56:06.5200|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:56:06.5200|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:56:06.5200|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:56:06.5200|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:56:06.5351|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:56:06.5351|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:56:06.5351|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:56:06.5351|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:56:06.5526|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:56:06.5526|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:56:06.5526|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:56:06.5526|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:56:06.6082|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:56:06.6082|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2581.8947ms 2026-01-02 12:56:06.6082|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:56:06.6138|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2627.9906ms 200 application/json; charset=utf-8 2026-01-02 12:56:07.2736|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 12:56:07.2736|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 12:56:07.2736|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:56:07.2736|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:56:07.2736|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.645ms 204 2026-01-02 12:56:07.2736|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.495ms 204 2026-01-02 12:56:07.2886|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 12:56:07.2886|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 12:56:07.2886|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:56:07.2886|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:56:07.2886|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:56:07.2886|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:56:07.2886|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:56:07.3002|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:56:07.3002|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 12:56:07.3002|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 12:56:07.3002|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 12:56:07.3002|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 12:56:07.3002|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:56:07.3002|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:56:07.3002|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 12:56:07.3164|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:56:07.3164|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 8.4973ms 2026-01-02 12:56:07.3164|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 12:56:07.3164|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 31.656ms 200 application/json; charset=utf-8 2026-01-02 12:56:07.3529|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (38ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 12:56:07.3723|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:56:07.3723|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 64.3038ms 2026-01-02 12:56:07.3723|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 12:56:07.3723|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 89.3524ms 200 application/json; charset=utf-8 2026-01-02 12:56:14.9582|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:56:14.9582|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:56:14.9582|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:56:14.9628|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:56:14.9628|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:56:14.9628|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:56:14.9628|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.7097ms 204 2026-01-02 12:56:14.9628|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.0171ms 204 2026-01-02 12:56:14.9768|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.1021ms 204 2026-01-02 12:56:14.9768|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 12:56:14.9768|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 12:56:14.9768|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 12:56:14.9768|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:56:14.9768|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:56:14.9768|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:56:14.9768|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:56:14.9935|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:56:14.9935|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:56:14.9935|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:56:14.9935|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:56:14.9935|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:56:14.9935|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:56:14.9935|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:56:14.9935|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:56:14.9935|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 12:56:14.9935|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 12:56:14.9935|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 12:56:15.0086|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:56:15.0086|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:56:15.0086||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 12:56:15.0086|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:56:15.0086|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 12:56:15.0086|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:56:15.0086||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:56:15.0086|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.3895ms 2026-01-02 12:56:15.0246||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:56:15.0246|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 12:56:15.0246|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 46.2023ms 200 application/json; charset=utf-8 2026-01-02 12:56:15.0246||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 12:56:15.0246||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 12:56:15.0428||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:56:15.0428||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:56:15.0428||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 12:56:15.0428||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 12:56:15.0428||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 12:56:15.0569||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 12:56:15.4270||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:56:15.4322||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:56:15.4322||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:56:15.4488||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:56:15.4488||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:56:15.4488||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 12:56:15.8163||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:56:15.8204||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:56:15.8204||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:56:15.8360||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:56:15.8360||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:56:15.8360||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 12:56:16.2231||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:56:16.2272||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:56:16.2272||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:56:16.2272||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:56:16.2451||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:56:16.2451||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 12:56:16.4759||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 12:56:16.4837||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 12:56:16.4837|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:56:16.4837|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1480.4058ms 2026-01-02 12:56:16.4837|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 12:56:16.4958|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1512.4337ms 200 application/json; charset=utf-8 2026-01-02 12:56:16.6256|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 12:56:16.6256|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 12:56:16.6256||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:56:16.6256|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:56:16.6256|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:56:16.6434||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:56:16.6434|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.5021ms 204 2026-01-02 12:56:16.6434|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.7492ms 204 2026-01-02 12:56:16.6545|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 12:56:16.6545||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:56:16.6545|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 12:56:16.6545|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:56:16.6545|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 12:56:16.6545|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:56:16.6696|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 12:56:16.6696|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:56:16.6696||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:56:16.6696|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 12:56:16.6696|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 12:56:16.6696||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:56:16.6696|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 12:56:16.6696|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 12:56:16.6696||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 12:56:16.6696|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 12:56:16.6696|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:56:16.6834|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 12:56:16.6834|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 12:56:16.6834|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:56:16.6834|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 8.85ms 2026-01-02 12:56:16.6834|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 12:56:16.6834|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.3447ms 200 application/json; charset=utf-8 2026-01-02 12:56:16.6834|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (10ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 12:56:16.7053|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 12:56:16.7053|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 23.7353ms 2026-01-02 12:56:16.7053|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 12:56:16.7053|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 52.6247ms 200 application/json; charset=utf-8 2026-01-02 12:56:17.0662||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:56:17.0662||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:56:17.0662||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:56:17.0852||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:56:17.0852||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 12:56:17.0916||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 12:56:17.4416||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 12:56:17.4416||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 12:56:17.4416||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 12:56:17.4623||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 12:56:17.4728|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 12:56:17.4728|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 12:56:17.4819|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:56:17.4819|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:56:17.4819|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:56:17.4819|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:56:17.4974|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:56:17.4974|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:56:17.4974|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:56:17.4974|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:56:17.5142|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:56:17.5142|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:56:17.5142|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 12:56:17.5266|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 12:56:17.5641|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 12:56:17.5641|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2559.0127ms 2026-01-02 12:56:17.5641|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 12:56:17.5641|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2592.2417ms 200 application/json; charset=utf-8 2026-01-02 13:00:11.7745|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:00:11.7745|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:00:11.7745|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:00:11.7745|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:00:11.7745|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:00:11.7745|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:00:11.7846|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.1543ms 204 2026-01-02 13:00:11.7846|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.9116ms 204 2026-01-02 13:00:11.7846|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.7289ms 204 2026-01-02 13:00:11.7846|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:00:11.7846|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:00:11.7846|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:00:11.7846|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:00:11.7846|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:00:11.7846|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:00:11.7846|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:00:11.7846|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:00:11.8000|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:00:11.8000|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:00:11.8000|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:00:11.8000|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:00:11.8000|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:00:11.8000|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:00:11.8000|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:00:11.8000|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 13:00:11.8000|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:00:11.8000|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 13:00:11.8169|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:00:11.8169|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:00:11.8169||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 13:00:11.8169|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 13:00:11.8169|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:00:11.8323||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:00:11.8323|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.2439ms 2026-01-02 13:00:11.8323||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:00:11.8323|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:00:11.8323|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 50.9973ms 200 application/json; charset=utf-8 2026-01-02 13:00:11.8605|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (34ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:00:11.8642||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:00:11.8642||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:00:11.8642||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:00:11.8642||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 13:00:11.8642||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 13:00:11.8800||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:00:11.8800||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:00:11.8800||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 13:00:12.2733||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:00:12.2733||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:00:12.2733||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:00:12.2949||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:00:12.2949||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:00:12.3019||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 13:00:12.3371||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 13:00:12.3371||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 13:00:12.3371|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:00:12.3371|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 525.4898ms 2026-01-02 13:00:12.3471|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:00:12.3471|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 556.3197ms 200 application/json; charset=utf-8 2026-01-02 13:00:12.6829||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:00:12.6829||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:00:12.6829||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:00:12.7018||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:00:12.7018||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:00:12.7093||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 13:00:13.0862||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:00:13.0862||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:00:13.0862||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:00:13.1083||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:00:13.1083||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:00:13.1136||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 13:00:13.5076||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:00:13.5076||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:00:13.5076||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:00:13.5224||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:00:13.5224||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:00:13.5224||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 13:00:13.8674||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:00:13.8674||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:00:13.8674||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:00:13.8941||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:00:13.8941||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:00:13.8941||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 13:00:14.2898||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:00:14.2898||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:00:14.2898||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:00:14.3075||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:00:14.3161|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 13:00:14.3161|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 13:00:14.3161|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:00:14.3161|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:00:14.3326|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:00:14.3326|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:00:14.3326|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:00:14.3326|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:00:14.3326|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:00:14.3326|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:00:14.3487|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:00:14.3487|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:00:14.3487|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:00:14.3487|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:00:14.4006|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:00:14.4006|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2586.0766ms 2026-01-02 13:00:14.4006|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:00:14.4006|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2617.9122ms 200 application/json; charset=utf-8 2026-01-02 13:00:43.7073|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 13:00:43.7089|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:00:43.7089|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:00:43.7089|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:00:43.7089|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:00:43.7089|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:00:43.7089|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:00:43.7089|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:00:43.7089|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 6.4219ms 2026-01-02 13:00:43.7089|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:00:43.7089|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.0126ms 200 application/json; charset=utf-8 2026-01-02 13:00:45.2096|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 13:00:45.2096|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:00:45.2096|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:00:45.2096|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:00:45.2096|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:00:45.2096|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:00:45.2296|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:00:45.2296|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:00:45.2296|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 13.5026ms 2026-01-02 13:00:45.2296|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:00:45.2398|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.2645ms 200 application/json; charset=utf-8 2026-01-02 13:00:46.7685|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:00:46.7685|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:00:46.7685|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:00:46.7709|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:00:46.7709|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:00:46.7709|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:00:46.7709|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.4874ms 204 2026-01-02 13:00:46.7709|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.3773ms 204 2026-01-02 13:00:46.7709|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.9541ms 204 2026-01-02 13:00:46.7709|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:00:46.7709|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:00:46.7709|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:00:46.7882|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:00:46.7882|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:00:46.7882|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:00:46.7882|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:00:46.7882|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:00:46.7882|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:00:46.7882|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:00:46.7882|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:00:46.8026|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:00:46.8026|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:00:46.8026|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:00:46.8026|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:00:46.8026|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 13:00:46.8026|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:00:46.8026|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 13:00:46.8026|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:00:46.8026|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:00:46.8026||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 13:00:46.8195|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 13:00:46.8195|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:00:46.8195|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:00:46.8195||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:00:46.8195|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 14.1626ms 2026-01-02 13:00:46.8195||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:00:46.8195|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:00:46.8195||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:00:46.8195||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:00:46.8195|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 49.4707ms 200 application/json; charset=utf-8 2026-01-02 13:00:46.8470||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:00:46.8504||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 13:00:46.8504||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:00:46.8504||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 13:00:46.8504||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:00:46.8504||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 13:00:47.2106||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:00:47.2106||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:00:47.2106||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:00:47.2300||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:00:47.2300||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:00:47.2300||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 13:00:47.5810||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:00:47.5868||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:00:47.5868||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:00:47.6025||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:00:47.6025||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:00:47.6025||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 13:00:47.9569||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:00:47.9621||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:00:47.9621||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:00:47.9803||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:00:47.9803||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:00:47.9889||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 13:00:48.2530||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 13:00:48.2586||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 13:00:48.2586|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:00:48.2586|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1447.4874ms 2026-01-02 13:00:48.2586|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:00:48.2586|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1481.1229ms 200 application/json; charset=utf-8 2026-01-02 13:00:48.3974||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:00:48.3974||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:00:48.3974||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:00:48.4183||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:00:48.4183||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:00:48.4183||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 13:00:48.7996||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:00:48.8048||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:00:48.8048||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:00:48.8223||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:00:48.8223||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:00:48.8223||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 13:00:49.2207||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:00:49.2252||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:00:49.2252||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:00:49.2408||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:00:49.2751|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (19ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 13:00:49.2914|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (8ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 13:00:49.3050|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (10ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:00:49.3050|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:00:49.3050|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:00:49.3050|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:00:49.3050|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:00:49.3195|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:00:49.3195|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:00:49.3195|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:00:49.3195|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:00:49.3195|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:00:49.3328|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:00:49.3328|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:00:49.3827|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:00:49.3827|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2571.4988ms 2026-01-02 13:00:49.3827|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:00:49.3827|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2605.745ms 200 application/json; charset=utf-8 2026-01-02 13:00:57.9224|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 13:00:57.9224|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:00:57.9224|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:00:57.9224|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:00:57.9301|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:00:57.9301|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:00:57.9301|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:00:57.9301|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:00:57.9301|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 4.6175ms 2026-01-02 13:00:57.9301|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:00:57.9301|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.2247ms 200 application/json; charset=utf-8 2026-01-02 13:01:03.0730|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 13:01:03.0730|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:01:03.0730|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:01:03.0730|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:01:03.0730|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:01:03.0730|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:01:03.0730|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:01:03.0879|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:01:03.0879|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 8.0709ms 2026-01-02 13:01:03.0879|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:01:03.0879|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.3427ms 200 application/json; charset=utf-8 2026-01-02 13:01:04.3522|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 13:01:04.3551|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:01:04.3551|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:01:04.3551|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:01:04.3551|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:01:04.3551|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:01:04.3551|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:01:04.3551|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:01:04.3551|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 5.5491ms 2026-01-02 13:01:04.3686|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:01:04.3686|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.4025ms 200 application/json; charset=utf-8 2026-01-02 13:01:25.4730|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:01:25.4730|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:01:25.4730|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:01:25.4730|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:01:25.4779|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:01:25.4779|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:01:25.4779|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.7063ms 204 2026-01-02 13:01:25.4779|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.893ms 204 2026-01-02 13:01:25.4779|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.0258ms 204 2026-01-02 13:01:25.4779|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:01:25.4779|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:01:25.4779|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:01:25.4779|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:01:25.4779|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:01:25.4931|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:01:25.4931|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:01:25.4931|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:01:25.4931|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:01:25.4931|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:01:25.4931|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:01:25.4931|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:01:25.4931|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:01:25.5099|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:01:25.5099|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:01:25.5099|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:01:25.5099|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 13:01:25.5099|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 13:01:25.5099|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:01:25.5099||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 13:01:25.5099|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:01:25.5279|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:01:25.5279|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 13:01:25.5279||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:01:25.5279||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:01:25.5279|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:01:25.5279||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:01:25.5279|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.8927ms 2026-01-02 13:01:25.5279||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:01:25.5421|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:01:25.5421|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 58.4556ms 200 application/json; charset=utf-8 2026-01-02 13:01:25.5571||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:01:25.5571||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:01:25.5571||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:01:25.5571||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 13:01:25.5571||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 13:01:25.5571||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 13:01:25.9321||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:01:25.9321||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:01:25.9321||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:01:25.9486||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:01:25.9486||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:01:25.9486||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 13:01:26.3240||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:01:26.3240||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:01:26.3240||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:01:26.3381||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:01:26.3381||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:01:26.3381||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 13:01:26.7137||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:01:26.7137||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:01:26.7137||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:01:26.7306||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:01:26.7306||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:01:26.7306||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 13:01:26.9597||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 13:01:26.9619||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 13:01:26.9619|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:01:26.9619|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1447.168ms 2026-01-02 13:01:26.9619|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:01:26.9619|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1484.1754ms 200 application/json; charset=utf-8 2026-01-02 13:01:27.1013||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:01:27.1039||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:01:27.1039||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:01:27.1039||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:01:27.1039||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:01:27.1203||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 13:01:27.5149||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:01:27.5149||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:01:27.5149||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:01:27.5302||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:01:27.5302||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:01:27.5302||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 13:01:27.9129||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:01:27.9150||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:01:27.9150||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:01:27.9150||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:01:27.9150|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 13:01:27.9559|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (27ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 13:01:27.9559|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:01:27.9559|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:01:27.9630|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:01:27.9630|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:01:27.9630|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:01:27.9630|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:01:27.9630|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:01:27.9630|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:01:27.9630|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:01:27.9630|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:01:27.9630|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:01:27.9630|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:01:28.0088|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:01:28.0088|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2491.1882ms 2026-01-02 13:01:28.0088|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:01:28.0088|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2524.8971ms 200 application/json; charset=utf-8 2026-01-02 13:01:32.9042|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 13:01:32.9042|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:01:32.9042|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:01:32.9042|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:01:32.9042|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:01:32.9042|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:01:32.9152|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:01:32.9152|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:01:32.9152|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 7.2798ms 2026-01-02 13:01:32.9152|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:01:32.9152|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.8418ms 200 application/json; charset=utf-8 2026-01-02 13:01:37.3971|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 13:01:37.3997|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:01:37.3997|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:01:37.3997|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:01:37.3997|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:01:37.3997|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:01:37.3997|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:01:37.3997|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:01:37.3997|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 7.67ms 2026-01-02 13:01:37.4154|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:01:37.4154|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.781ms 200 application/json; charset=utf-8 2026-01-02 13:01:38.6304|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 13:01:38.6304|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:01:38.6304|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:01:38.6304|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:01:38.6304|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:01:38.6343|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:01:38.6343|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:01:38.6343|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:01:38.6343|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 7.3576ms 2026-01-02 13:01:38.6343|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:01:38.6343|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.605ms 200 application/json; charset=utf-8 2026-01-02 13:01:57.8938|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 13:01:57.8938|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 13:01:57.8938|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:01:57.8938|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:01:57.9001|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.3248ms 204 2026-01-02 13:01:57.9001|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.2125ms 204 2026-01-02 13:01:57.9001|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 13:01:57.9001|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 13:01:57.9001|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:01:57.9001|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:01:57.9159|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:01:57.9159|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:01:57.9159|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:01:57.9159|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:01:57.9159|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 13:01:57.9159|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 13:01:57.9159|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 13:01:57.9159|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 13:01:57.9159|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:01:57.9159|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:01:57.9159|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 13:01:57.9159|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:01:57.9305|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 5.1427ms 2026-01-02 13:01:57.9305|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 13:01:57.9305|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 22.202ms 200 application/json; charset=utf-8 2026-01-02 13:01:57.9637|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (36ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 13:01:57.9637|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:01:57.9637|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 49.4043ms 2026-01-02 13:01:57.9637|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 13:01:57.9637|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 66.8807ms 200 application/json; charset=utf-8 2026-01-02 13:06:09.6624|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 13:06:09.6624|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 13:06:09.6624|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:09.6624|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:09.6703|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.8665ms 204 2026-01-02 13:06:09.6703|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.0133ms 204 2026-01-02 13:06:09.6943|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 13:06:09.6943|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 13:06:09.6943|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 13:06:09.6943|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 13:06:09.6943|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 13:06:09.7022|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 13:06:09.7022|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:09.7022|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:09.7022|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 13:06:09.7022|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 13:06:09.7022|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 13:06:09.7181|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 13:06:09.7181|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 27.9735ms 401 2026-01-02 13:06:09.7181|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.6177ms 401 2026-01-02 13:06:14.4476|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:06:14.4476|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:06:14.4476|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:06:14.4514|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:14.4514|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:14.4514|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:14.4514|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.1614ms 204 2026-01-02 13:06:14.4514|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.5849ms 204 2026-01-02 13:06:14.4514|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.6361ms 204 2026-01-02 13:06:14.4514|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:06:14.4514|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:06:14.4681|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:06:14.4681|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:06:14.4681|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:06:14.4681|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:06:14.4681|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:14.4681|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:14.4681|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:14.4825|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:06:14.4825|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:06:14.4825|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:06:14.4825|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:06:14.4825|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:06:14.4825|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:06:14.4825|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:06:14.4825|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:06:14.4825|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 13:06:14.4825|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 13:06:14.4998||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 13:06:14.4998|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:06:14.4998|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:06:14.4998|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 13:06:14.4998|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:06:14.4998|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 9.9094ms 2026-01-02 13:06:14.4998|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:06:14.5138|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 47.9597ms 200 application/json; charset=utf-8 2026-01-02 13:06:14.5138||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:06:14.5138||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:06:14.5138||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:06:14.5138||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:06:14.5432||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:06:14.5489||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:06:14.5489||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 13:06:14.5489||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:06:14.5489||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 13:06:14.5489||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 13:06:14.9537||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 13:06:14.9537||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 13:06:14.9537|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:06:14.9537|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 462.3778ms 2026-01-02 13:06:14.9537|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:06:14.9537|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 496.0982ms 200 application/json; charset=utf-8 2026-01-02 13:06:15.0321||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:06:15.0321||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:06:15.0321||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:06:15.0504||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:06:15.0504||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:06:15.0504||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 13:06:15.4528||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:06:15.4528||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:06:15.4528||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:06:15.4695||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:06:15.4695||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:06:15.4695||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 13:06:15.8773||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:06:15.8773||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:06:15.8773||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:06:15.9002||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:06:15.9002||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:06:15.9069||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 13:06:16.3000||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:06:16.3000||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:06:16.3000||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:06:16.3242||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:06:16.3281||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:06:16.3281||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 13:06:16.7501||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:06:16.7501||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:06:16.7501||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:06:16.7708||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:06:16.7708||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:06:16.7708||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 13:06:17.1423||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:06:17.1423||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:06:17.1519||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:06:17.1519||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:06:17.1699|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 13:06:17.1699|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 13:06:17.1699|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:06:17.1812|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:06:17.1812|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:06:17.1812|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:06:17.1812|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:06:17.1812|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:06:17.1971|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:06:17.1971|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:06:17.1971|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:06:17.1971|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:06:17.2115|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:06:17.2115|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:06:17.2623|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:06:17.2623|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2771.1416ms 2026-01-02 13:06:17.2623|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:06:17.2623|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2801.6616ms 200 application/json; charset=utf-8 2026-01-02 13:06:17.8202|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:06:17.8212|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:06:17.8212|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:06:17.8212|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:06:17.8212|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:06:17.8212|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:06:17.8212|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:17.8212|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:17.8212|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:17.8382|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:06:17.8382|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:06:17.8382|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:06:17.8382|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:06:17.8382|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:06:17.8382|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:06:17.8382|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:06:17.8382|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 13:06:17.8382|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 13:06:17.8532|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:06:17.8532|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:06:17.8532||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 13:06:17.8532|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:06:17.8532|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 13:06:17.8532||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:06:17.8532||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:06:17.8532|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:06:17.8688||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:06:17.8688|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.9756ms 2026-01-02 13:06:17.8688||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:06:17.8688|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:06:17.8688|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 60.2754ms 200 application/json; charset=utf-8 2026-01-02 13:06:17.8911||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:06:17.8911||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:06:17.8911||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:06:17.8988||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 13:06:17.8988||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 13:06:17.8988||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 13:06:18.2802||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:06:18.2802||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:06:18.2802||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:06:18.2990||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:06:18.2990||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:06:18.3071||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 13:06:18.7218||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:06:18.7218||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:06:18.7296||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:06:18.7422||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:06:18.7422||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:06:18.7422||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 13:06:19.1513||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:06:19.1513||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:06:19.1513||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:06:19.1714||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:06:19.1714||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:06:19.1714||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 13:06:19.3096||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 13:06:19.3096||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 13:06:19.3096|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:06:19.3096|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1460.4796ms 2026-01-02 13:06:19.3096|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:06:19.3096|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1497.3127ms 200 application/json; charset=utf-8 2026-01-02 13:06:19.5474||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:06:19.5474||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:06:19.5574||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:06:19.5574||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:06:19.5730||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:06:19.5730||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 13:06:19.9210||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:06:19.9210||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:06:19.9303||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:06:19.9303||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:06:19.9476||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:06:19.9476||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 13:06:20.3275||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:06:20.3275||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:06:20.3275||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:06:20.3508||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:06:20.3592|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 13:06:20.3969|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (34ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 13:06:20.4019|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:06:20.4019|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:06:20.4019|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:06:20.4019|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:06:20.4019|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:06:20.4019|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:06:20.4168|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:06:20.4168|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:06:20.4168|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:06:20.4168|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:06:20.4301|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:06:20.4301|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:06:20.4680|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:06:20.4680|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2617.8565ms 2026-01-02 13:06:20.4680|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:06:20.4680|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2654.3082ms 200 application/json; charset=utf-8 2026-01-02 13:06:26.2670|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=533 2026-01-02 13:06:26.2670|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:26.2670|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.517ms 204 2026-01-02 13:06:26.2883|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 13:06:26.2883|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=533 2026-01-02 13:06:26.2897|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 13:06:26.2897|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:26.2897|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:06:26.2897|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:26.2897|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.5385ms 204 2026-01-02 13:06:26.3099|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:26.3099|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.2585ms 204 2026-01-02 13:06:26.3099|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 13:06:26.3099|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:06:26.3246|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:06:26.3246|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 13:06:26.3246|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 13:06:26.3246|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:26.3246|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:06:26.3246|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:06:26.3246|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:06:26.3246|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:26.3246|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:06:26.3365|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 13:06:26.3365|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:06:26.3365|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 13:06:26.3365|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 13:06:26.3365|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:06:26.3365|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:06:26.3365|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 13:06:26.3365|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:06:26.3365|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:06:26.3365|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 13.3223ms 2026-01-02 13:06:26.3365|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 13:06:26.3365|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 13:06:26.3520|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:06:26.3520|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 64.1069ms 200 application/json; charset=utf-8 2026-01-02 13:06:26.3520|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 10.5108ms 2026-01-02 13:06:26.3520|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 13:06:26.3520|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (10ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 13:06:26.3520|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 43.082ms 200 application/json; charset=utf-8 2026-01-02 13:06:26.3763|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:06:26.3763|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 30.7948ms 2026-01-02 13:06:26.3763|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 13:06:26.3763|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 55.8128ms 200 application/json; charset=utf-8 2026-01-02 13:06:28.7061|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:06:28.7061|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2026-01-02 13:06:28.7061|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:06:28.7061|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:28.7131|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:28.7131|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:28.7131|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.6041ms 204 2026-01-02 13:06:28.7131|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.0185ms 204 2026-01-02 13:06:28.7268|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 20.6925ms 204 2026-01-02 13:06:28.7268|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:06:28.7268|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2026-01-02 13:06:28.7268|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:06:28.7444|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:06:28.7444|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:06:28.7444|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:06:28.7444|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:28.7444|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:28.7444|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:06:28.7444|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:06:28.7444|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:06:28.7444|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:06:28.7444|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:06:28.7584|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:06:28.7584|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:06:28.7584|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 13:06:28.7584|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:06:28.7584|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 13:06:28.7584||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 209 2026-01-02 13:06:28.7584|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:06:28.7584|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:06:28.7584||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:06:28.7584|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:06:28.7584|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 13:06:28.7735||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2026-01-02 13:06:28.7735|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:06:28.7735||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:06:28.7735|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 14.0449ms 2026-01-02 13:06:28.7735||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2026-01-02 13:06:28.7735|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:06:28.7735|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 43.0369ms 200 application/json; charset=utf-8 2026-01-02 13:06:28.7941||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:06:28.7941||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:06:28.7941||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 13:06:28.7941||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:06:28.7941||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 13:06:28.7941||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0112012335 2026-01-02 13:06:29.2029||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 13:06:29.2029||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 13:06:29.2115|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:06:29.2115|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 449.8068ms 2026-01-02 13:06:29.2115|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:06:29.2115|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 485.0619ms 200 application/json; charset=utf-8 2026-01-02 13:06:30.2650||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:06:30.2650||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:06:30.2650||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:06:30.2849||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:06:30.2849||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:06:30.2915||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011201233545 2026-01-02 13:06:30.6703||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:06:30.6703||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:06:30.6703||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:06:30.6915||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:06:30.7001|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; 2026-01-02 13:06:30.7001|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; 2026-01-02 13:06:30.7001|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 13:06:30.7141|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:06:30.7141|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:06:30.7141|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:06:30.7141|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:06:30.7641|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:06:30.7641|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2002.4543ms 2026-01-02 13:06:30.7641|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:06:30.7641|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2031.8085ms 200 application/json; charset=utf-8 2026-01-02 13:11:42.7040|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 13:11:42.7040|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 13:11:42.7040|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:11:42.7040|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:11:42.7040|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.0958ms 204 2026-01-02 13:11:42.7127|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.8645ms 204 2026-01-02 13:11:42.7127|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 13:11:42.7127|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 13:11:42.7127|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 13:11:42.7127|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 13:11:42.7127|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 13:11:42.7127|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 13:11:42.7127|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:11:42.7127|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:11:42.7293|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 13:11:42.7293|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 13:11:42.7293|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 13:11:42.7293|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 13:11:42.7293|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.4253ms 401 2026-01-02 13:11:42.7293|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.2185ms 401 2026-01-02 13:11:42.8323|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 13:11:42.8323|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:11:42.8323|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:11:42.8383|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:11:42.8383|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 13:11:42.8383|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 13:11:42.8383|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:11:42.8383|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 13:11:42.8383|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:11:42.8383|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:11:42.8383|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:11:42.8383|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 13:11:42.8383|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 13:11:42.8383|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:11:42.8383|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 13:11:42.8592|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:11:42.8592|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 11.1492ms 2026-01-02 13:11:42.8592|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 13:11:42.8592|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.8066ms 200 application/json; charset=utf-8 2026-01-02 13:11:42.8697|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (25ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 13:11:42.8697|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:11:42.8697|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 37.3265ms 2026-01-02 13:11:42.8697|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 13:11:42.8697|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 48.9358ms 200 application/json; charset=utf-8 2026-01-02 13:11:42.8849|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 13:11:42.8849|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:11:42.8849|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:11:42.8849|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:11:42.8849|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 13:11:42.8849|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 13:11:42.8849|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:11:42.8849|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 13:11:42.9026|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:11:42.9026|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 12.5409ms 2026-01-02 13:11:42.9026|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 13:11:42.9026|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 20.5536ms 200 application/json; charset=utf-8 2026-01-02 13:11:53.2511|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:11:53.2511|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:11:53.2511|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:11:53.2511|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:11:53.2511|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:11:53.2615|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:11:53.2615|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.4595ms 204 2026-01-02 13:11:53.2615|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.8558ms 204 2026-01-02 13:11:53.2615|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.7842ms 204 2026-01-02 13:11:53.2615|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:11:53.2615|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:11:53.2615|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:11:53.2615|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:11:53.2747|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:11:53.2747|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:11:53.2747|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:11:53.2747|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:11:53.2747|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:11:53.2747|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:11:53.2747|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:11:53.2747|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:11:53.2747|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:11:53.2747|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:11:53.2747|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:11:53.2747|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 13:11:53.2747|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 13:11:53.2747|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:11:53.2913||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 13:11:53.2913|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:11:53.2913|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:11:53.2913|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 13:11:53.2913||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:11:53.2913|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:11:53.2913||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:11:53.2913|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 10.1291ms 2026-01-02 13:11:53.2913|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:11:53.3062|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 36.4783ms 200 application/json; charset=utf-8 2026-01-02 13:11:53.3241||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:11:53.3241||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 13:11:53.3241||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 13:11:53.3241|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (33ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:11:53.3241||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:11:53.3391||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:11:53.3586||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:11:53.3586||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:11:53.3693||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 13:11:53.7427||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 13:11:53.7479||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 13:11:53.7479|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:11:53.7479|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 463.7324ms 2026-01-02 13:11:53.7479|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:11:53.7479|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 489.9335ms 200 application/json; charset=utf-8 2026-01-02 13:11:53.7703||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:11:53.7747||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:11:53.7747||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:11:53.7938||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:11:53.7938||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:11:53.7938||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 13:11:54.1538||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:11:54.1538||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:11:54.1538||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:11:54.1728||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:11:54.1728||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:11:54.1728||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 13:11:54.5402||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:11:54.5402||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:11:54.5402||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:11:54.5619||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:11:54.5619||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:11:54.5744||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 13:11:54.9645||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:11:54.9645||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:11:54.9645||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:11:54.9851||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:11:54.9851||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:11:54.9939||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 13:11:55.6163||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:11:55.6210||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:11:55.6210||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:11:55.6397||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:11:55.6397||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:11:55.6397||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 13:11:56.0214||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:11:56.0214||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:11:56.0257||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:11:56.0257||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:11:56.0440|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 13:11:56.0440|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 13:11:56.0440|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:11:56.0585|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:11:56.0585|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:11:56.0585|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:11:56.0585|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:11:56.0720|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:11:56.0720|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:11:56.0720|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:11:56.0720|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:11:56.0720|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:11:56.0870|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:11:56.0870|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:11:56.1387|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:11:56.1387|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2847.0319ms 2026-01-02 13:11:56.1387|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:11:56.1387|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2872.2408ms 200 application/json; charset=utf-8 2026-01-02 13:13:41.0963|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:13:41.0974|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:13:41.0974|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:13:41.0974|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:13:41.0974|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:13:41.0974|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:13:41.0974|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.3899ms 204 2026-01-02 13:13:41.0974|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.1451ms 204 2026-01-02 13:13:41.0974|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.1075ms 204 2026-01-02 13:13:41.1128|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:13:41.1128|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:13:41.1128|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:13:41.1128|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:13:41.1128|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:13:41.1128|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:13:41.1128|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:13:41.1128|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:13:41.1128|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:13:41.1315|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:13:41.1315|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:13:41.1315|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:13:41.1315|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:13:41.1315|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:13:41.1315|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:13:41.1315|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 13:13:41.1315|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:13:41.1438|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 13:13:41.1438|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:13:41.1438|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:13:41.1438||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 13:13:41.1438|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 13:13:41.1438|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:13:41.1438|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.2621ms 2026-01-02 13:13:41.1438|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:13:41.1438||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:13:41.1438|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 45.481ms 200 application/json; charset=utf-8 2026-01-02 13:13:41.1613||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:13:41.1834||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:13:41.1834|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (32ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:13:41.1834||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 13:13:41.1908||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:13:41.1908||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 13:13:41.1908||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:13:41.2166||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:13:41.2239||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:13:41.2239||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 13:13:41.5556||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 13:13:41.5556||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 13:13:41.5703|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:13:41.5703|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 425.9238ms 2026-01-02 13:13:41.5703|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:13:41.5703|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 466.6968ms 200 application/json; charset=utf-8 2026-01-02 13:13:41.6154||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:13:41.6154||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:13:41.6154||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:13:41.6423||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:13:41.6495||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:13:41.6495||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 13:13:42.0059||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:13:42.0059||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:13:42.0059||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:13:42.0273||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:13:42.0273||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:13:42.0349||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 13:13:42.4117||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:13:42.4117||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:13:42.4117||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:13:42.4290||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:13:42.4290||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:13:42.4290||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 13:13:42.7854||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:13:42.7854||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:13:42.7854||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:13:42.8079||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:13:42.8079||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:13:42.8166||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 13:13:43.1764||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:13:43.1764||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:13:43.1764||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:13:43.1966||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:13:43.1966||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:13:43.1966||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 13:13:43.5520||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:13:43.5520||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:13:43.5520||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:13:43.5759||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:13:43.5845|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 13:13:43.5845|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 13:13:43.5955|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:13:43.5955|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:13:43.5955|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:13:43.5955|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:13:43.6140|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:13:43.6140|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:13:43.6140|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:13:43.6278|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:13:43.6278|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:13:43.6278|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:13:43.6278|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:13:43.6278|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:13:43.6823|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:13:43.6823|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2539.2497ms 2026-01-02 13:13:43.6823|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:13:43.6898|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2576.9397ms 200 application/json; charset=utf-8 2026-01-02 13:13:49.9662|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:13:49.9662|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:13:49.9662|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:13:49.9662|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:13:49.9742|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:13:49.9742|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.8943ms 204 2026-01-02 13:13:49.9742|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.3766ms 204 2026-01-02 13:13:49.9742|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:13:49.9742|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:13:49.9742|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:13:49.9742|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.752ms 204 2026-01-02 13:13:49.9742|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 13:13:49.9869|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 13:13:49.9869|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:13:49.9869|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 13:13:49.9869|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 13:13:49.9869|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 13:13:49.9869|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:13:49.9869|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:13:49.9869|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 13:13:49.9869|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 13:13:49.9869|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 13:13:49.9869|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:13:50.0025|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 13:13:50.0025|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 13:13:50.0025|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 13:13:50.0025|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.6983ms 401 2026-01-02 13:13:50.0025|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 27.4159ms 401 2026-01-02 13:13:50.0025|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 13:13:50.0025|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 27.7809ms 401 2026-01-02 13:14:00.9234|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=518 2026-01-02 13:14:00.9234|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:14:00.9234|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.5488ms 204 2026-01-02 13:14:00.9234|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:14:00.9234|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:14:00.9234|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:14:00.9234|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:14:00.9234|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=518 2026-01-02 13:14:00.9396|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:14:00.9396|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:14:00.9396|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.5929ms 204 2026-01-02 13:14:00.9396|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:14:00.9396|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.1374ms 204 2026-01-02 13:14:00.9396|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.7931ms 204 2026-01-02 13:14:00.9396|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:14:00.9396|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:14:00.9396|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:14:00.9546|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:14:00.9546|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:14:00.9546|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:14:00.9546|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:14:00.9546|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:14:00.9546|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:14:00.9546|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 13:14:00.9546|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:14:00.9546|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:14:00.9546|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:14:00.9546|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:14:00.9546|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:14:00.9702|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:14:00.9702|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:14:00.9702|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:14:00.9702|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:14:00.9702|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:14:00.9702|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:14:00.9702|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 13:14:00.9702|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 13:14:00.9702|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:14:00.9702|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:14:00.9702|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:14:00.9702||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 13:14:00.9702|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:14:00.9702|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:14:00.9865|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 13:14:00.9865|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 14.9805ms 2026-01-02 13:14:00.9865||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:14:00.9865|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:14:00.9865||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:14:00.9865|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 13:14:00.9865||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:14:00.9865|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.6906ms 2026-01-02 13:14:00.9865|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 62.171ms 200 application/json; charset=utf-8 2026-01-02 13:14:00.9865||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:14:00.9865|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:14:01.0057|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 52.7665ms 200 application/json; charset=utf-8 2026-01-02 13:14:01.0057||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:14:01.0180||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 13:14:01.0180||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 13:14:01.0180||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:14:01.0180||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:14:01.0336||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 13:14:01.3917||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:14:01.3947||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:14:01.3947||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:14:01.4097||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:14:01.4097||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:14:01.4097||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 13:14:01.7986||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:14:01.7986||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:14:01.7986||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:14:01.8193||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:14:01.8193||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:14:01.8193||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 13:14:02.1916||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:14:02.1916||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:14:02.1916||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:14:02.2129||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:14:02.2129||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:14:02.2129||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 13:14:02.4622||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 13:14:02.4622||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 13:14:02.4622|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:14:02.4622|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1486.9562ms 2026-01-02 13:14:02.4622|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:14:02.4712|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1516.5522ms 200 application/json; charset=utf-8 2026-01-02 13:14:02.6276||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:14:02.6276||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:14:02.6276||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:14:02.6441||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:14:02.6441||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:14:02.6441||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 13:14:03.0753||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:14:03.0796||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:14:03.0796||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:14:03.0796||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:14:03.0968||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:14:03.0968||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 13:14:03.4995||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:14:03.5043||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:14:03.5043||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:14:03.5183||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:14:03.5183|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 13:14:03.5806|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (47ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 13:14:03.5806|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:14:03.5806|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:14:03.5806|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:14:03.5806|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:14:03.5978|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:14:03.5978|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:14:03.5978|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:14:03.5978|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:14:03.6108|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:14:03.6108|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:14:03.6108|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:14:03.6108|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:14:03.6739|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:14:03.6739|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2698.1735ms 2026-01-02 13:14:03.6739|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:14:03.6739|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2730.7097ms 200 application/json; charset=utf-8 2026-01-02 13:14:34.1406|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 13:14:34.1441|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:14:34.1441|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:14:34.1441|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:14:34.1441|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:14:34.1441|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:14:34.1441|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:14:34.1590|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:14:34.1590|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 8.0322ms 2026-01-02 13:14:34.1590|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:14:34.1590|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 22.9899ms 200 application/json; charset=utf-8 2026-01-02 13:14:39.7382|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 13:14:39.7382|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:14:39.7382|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:14:39.7382|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:14:39.7382|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:14:39.7382|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:14:39.7528|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:14:39.7528|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:14:39.7528|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 6.7476ms 2026-01-02 13:14:39.7528|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:14:39.7528|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.7587ms 200 application/json; charset=utf-8 2026-01-02 13:14:41.1437|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 13:14:41.1437|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:14:41.1437|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:14:41.1437|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:14:41.1437|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:14:41.1437|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:14:41.1622|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:14:41.1622|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:14:41.1622|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 9.1486ms 2026-01-02 13:14:41.1622|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:14:41.1622|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.8935ms 200 application/json; charset=utf-8 2026-01-02 13:18:00.5463|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:18:00.5463|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:18:00.5463|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:18:00.5463|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:18:00.5463|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:18:00.5463|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:18:00.5463|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.8086ms 204 2026-01-02 13:18:00.5463|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.8889ms 204 2026-01-02 13:18:00.5463|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.7457ms 204 2026-01-02 13:18:00.5463|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:18:00.5606|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:18:00.5606|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:18:00.5606|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:18:00.5606|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:18:00.5606|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:18:00.5606|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:18:00.5606|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:18:00.5606|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:18:00.5606|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:18:00.5606|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:18:00.5606|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:18:00.5757|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:18:00.5757|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:18:00.5757|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:18:00.5757|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:18:00.5757|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 13:18:00.5757|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 13:18:00.5757|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:18:00.5757||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 13:18:00.5757|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:18:00.5757|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:18:00.5757|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 13:18:00.5757||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:18:00.5757|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:18:00.5936|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 10.1423ms 2026-01-02 13:18:00.5936||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:18:00.5936|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:18:00.5936|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 35.232ms 200 application/json; charset=utf-8 2026-01-02 13:18:00.5936||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:18:00.5936||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:18:00.6204||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:18:00.6255||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:18:00.6255||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 13:18:00.6463||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:18:00.6463||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 13:18:00.6463||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 13:18:01.0281||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:18:01.0318||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:18:01.0318||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:18:01.0453||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:18:01.0453||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:18:01.0453||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 13:18:01.4024||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:18:01.4080||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:18:01.4080||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:18:01.4242||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:18:01.4242||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:18:01.4242||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 13:18:01.7896||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:18:01.7896||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:18:01.7953||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:18:01.7953||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:18:01.7953||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:18:01.8125||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 13:18:02.0398||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 13:18:02.0398||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 13:18:02.0484|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:18:02.0484|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1467.6478ms 2026-01-02 13:18:02.0484|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:18:02.0484|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1493.3846ms 200 application/json; charset=utf-8 2026-01-02 13:18:02.1487||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:18:02.1487||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:18:02.1545||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:18:02.1545||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:18:02.1695||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:18:02.1695||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 13:18:02.5082||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:18:02.5082||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:18:02.5147||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:18:02.5147||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:18:02.5147||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:18:02.5302||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 13:18:02.8987||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:18:02.8987||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:18:02.9050||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:18:02.9050||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:18:02.9236|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 13:18:02.9236|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 13:18:02.9236|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:18:02.9388|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:18:02.9388|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:18:02.9388|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:18:02.9388|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:18:02.9388|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:18:02.9542|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:18:02.9542|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:18:02.9542|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:18:02.9542|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:18:02.9700|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:18:02.9700|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:18:03.0185|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:18:03.0185|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2440.3962ms 2026-01-02 13:18:03.0185|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:18:03.0185|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2467.2691ms 200 application/json; charset=utf-8 2026-01-02 13:18:17.9943|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:18:17.9943|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:18:17.9943|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:18:17.9943|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:18:18.0014|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:18:18.0014|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:18:18.0014|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.2537ms 204 2026-01-02 13:18:18.0014|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.8131ms 204 2026-01-02 13:18:18.0014|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.6914ms 204 2026-01-02 13:18:18.0014|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:18:18.0014|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:18:18.0014|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:18:18.0014|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 13:18:18.0014|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 13:18:18.0014|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 13:18:18.0014|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 13:18:18.0187|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 13:18:18.0187|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 13:18:18.0187|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:18:18.0187|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:18:18.0187|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:18:18.0187|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 13:18:18.0187|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 13:18:18.0187|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 13:18:18.0187|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 13:18:18.0187|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 13:18:18.0335|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 13:18:18.0335|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.0041ms 401 2026-01-02 13:18:18.0335|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 27.5655ms 401 2026-01-02 13:18:18.0335|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 28.6593ms 401 2026-01-02 13:18:32.5655|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 13:18:32.5655|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 13:18:32.5655|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:18:32.5655|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:18:32.5655|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.4882ms 204 2026-01-02 13:18:32.5655|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.499ms 204 2026-01-02 13:18:32.5853|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 13:18:32.5853|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 13:18:32.5853|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:18:32.5853|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:18:32.5853|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:18:32.5942|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:18:32.5942|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:18:32.5942|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:18:32.5942|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 13:18:32.5942|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 13:18:32.5942|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 13:18:32.5942|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 13:18:32.5942|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:18:32.5942|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:18:32.6109|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 13:18:32.6109|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:18:32.6109|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 7.7939ms 2026-01-02 13:18:32.6109|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 13:18:32.6109|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 32.0014ms 200 application/json; charset=utf-8 2026-01-02 13:18:32.6546|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (43ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 13:18:32.6703|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:18:32.6735|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 65.8855ms 2026-01-02 13:18:32.6735|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 13:18:32.6735|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 92.5402ms 200 application/json; charset=utf-8 2026-01-02 13:19:00.4851|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=495 2026-01-02 13:19:00.4883|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:19:00.4883|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.2039ms 204 2026-01-02 13:19:00.4883|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=495 2026-01-02 13:19:00.4883|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:19:00.5020|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:19:00.5020|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:19:00.5020|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 13:19:00.5020|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:19:00.5020|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:19:00.5179|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:19:00.5179|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:19:00.5179|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 9.2586ms 2026-01-02 13:19:00.5179|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 13:19:00.5179|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.509ms 200 application/json; charset=utf-8 2026-01-02 13:19:03.4015|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:19:03.4015|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:19:03.4015|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:19:03.4015|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:19:03.4091|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:19:03.4091|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:19:03.4091|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.852ms 204 2026-01-02 13:19:03.4091|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.6926ms 204 2026-01-02 13:19:03.4091|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.0041ms 204 2026-01-02 13:19:03.4091|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:19:03.4268|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:19:03.4268|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:19:03.4268|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:19:03.4268|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:19:03.4268|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:19:03.4393|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:19:03.4393|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:19:03.4393|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:19:03.4393|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:19:03.4393|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:19:03.4393|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:19:03.4393|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:19:03.4393|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:19:03.4393|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:19:03.4548|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:19:03.4548|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 13:19:03.4548|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 13:19:03.4548|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:19:03.4548||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 13:19:03.4548|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:19:03.4713|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:19:03.4713||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:19:03.4713|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 13:19:03.4713||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:19:03.4713||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:19:03.4713|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:19:03.4713||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:19:03.4713|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 17.5437ms 2026-01-02 13:19:03.4713|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:19:03.4713|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 52.1985ms 200 application/json; charset=utf-8 2026-01-02 13:19:03.4955||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:19:03.4955||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:19:03.4955||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:19:03.5019||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 13:19:03.5019||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 13:19:03.5019||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 13:19:03.8872||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:19:03.8925||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:19:03.8925||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:19:03.9104||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:19:03.9104||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:19:03.9104||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 13:19:04.2786||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:19:04.2842||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:19:04.2842||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:19:04.3001||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:19:04.3001||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:19:04.3001||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 13:19:04.6672||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:19:04.6672||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:19:04.6672||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:19:04.6826||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:19:04.6826||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:19:04.6826||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 13:19:04.9327||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 13:19:04.9327||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 13:19:04.9391|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:19:04.9391|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1478.7107ms 2026-01-02 13:19:04.9391|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:19:04.9391|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1516.8033ms 200 application/json; charset=utf-8 2026-01-02 13:19:05.0756||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:19:05.0810||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:19:05.0810||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:19:05.0971||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:19:05.0971||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:19:05.0971||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 13:19:05.4512||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:19:05.4512||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:19:05.4512||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:19:05.4696||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:19:05.4696||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:19:05.4696||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 13:19:05.8709||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:19:05.8751||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:19:05.8751||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:19:05.8914||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:19:05.8914|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 13:19:05.8914|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 13:19:05.9079|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:19:05.9079|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:19:05.9079|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:19:05.9217|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:19:05.9217|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:19:05.9217|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:19:05.9217|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:19:05.9217|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:19:05.9359|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:19:05.9359|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:19:05.9359|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:19:05.9359|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:19:05.9778|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:19:05.9778|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2519.1952ms 2026-01-02 13:19:05.9778|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:19:05.9822|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2559.7126ms 200 application/json; charset=utf-8 2026-01-02 13:19:21.1762|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2026-01-02 13:19:21.1762|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:19:21.1762|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:19:21.1762|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:19:21.1762|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:19:21.1877|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:19:21.1877|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.0678ms 204 2026-01-02 13:19:21.1877|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.3192ms 204 2026-01-02 13:19:21.1877|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.3222ms 204 2026-01-02 13:19:21.2242|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2026-01-02 13:19:21.2242|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:19:21.2242|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:19:21.2242|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:19:21.2242|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:19:21.2319|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:19:21.2319|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:19:21.2319|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:19:21.2319|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:19:21.2319|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:19:21.2319|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:19:21.2319|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:19:21.2319|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:19:21.2319|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:19:21.2475|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:19:21.2475|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 13:19:21.2475|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:19:21.2475|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:19:21.2475|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:19:21.2475|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 13:19:21.2475|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:19:21.2475||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 209 2026-01-02 13:19:21.2631|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 13:19:21.2631||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:19:21.2631||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:19:21.2631|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:19:21.2631||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2026-01-02 13:19:21.2631||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2026-01-02 13:19:21.2631|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 21.5381ms 2026-01-02 13:19:21.2818|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:19:21.2818|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 58.8243ms 200 application/json; charset=utf-8 2026-01-02 13:19:21.2818||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:19:21.2953||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:19:21.2953||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 13:19:21.2953||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:19:21.2953||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 13:19:21.2953||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0112012335 2026-01-02 13:19:21.6665||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 13:19:21.6710||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 13:19:21.6710|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:19:21.6710|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 412.1748ms 2026-01-02 13:19:21.6710|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:19:21.6710|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 447.731ms 200 application/json; charset=utf-8 2026-01-02 13:19:22.7006||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:19:22.7006||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:19:22.7006||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:19:22.7180||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:19:22.7180||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:19:22.7180||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011201233545 2026-01-02 13:19:23.0844||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:19:23.0844||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:19:23.0844||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:19:23.1050||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:19:23.1122|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; 2026-01-02 13:19:23.1122|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; 2026-01-02 13:19:23.1122|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 13:19:23.1122|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:19:23.1253|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:19:23.1253|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:19:23.1253|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:19:23.1800|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:19:23.1800|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 1931.2497ms 2026-01-02 13:19:23.1857|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:19:23.1857|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1964.0825ms 200 application/json; charset=utf-8 2026-01-02 13:19:41.0502|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/List?governmentAccountType=1 2026-01-02 13:19:41.0502|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:19:41.0502|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.5492ms 204 2026-01-02 13:19:41.0644|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/List?governmentAccountType=1 2026-01-02 13:19:41.0644|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:19:41.0644|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:19:41.0644|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:19:41.0644|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchAccounts (AccountManagement)' 2026-01-02 13:19:41.0887|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchAccounts", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchAccounts(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 13:19:41.0930||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 13:19:41.0930||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:19:41.0930||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:19:41.1312||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:19:41.1393||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 13:19:41.1393||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 13:19:41.5007||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 13:19:41.5007||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 13:19:41.5007|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Model.TreasuryAccountBalanceResp, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:19:41.5159|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchAccounts (AccountManagement) in 424.589ms 2026-01-02 13:19:41.5159|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchAccounts (AccountManagement)' 2026-01-02 13:19:41.5159|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 455.3016ms 200 application/json; charset=utf-8 2026-01-02 13:19:54.2853|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/List?governmentAccountType=2 2026-01-02 13:19:54.2853|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:19:54.2853|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.2188ms 204 2026-01-02 13:19:54.2967|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/List?governmentAccountType=2 2026-01-02 13:19:54.2967|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:19:54.2967|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:19:54.2967|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:19:54.2967|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchAccounts (AccountManagement)' 2026-01-02 13:19:54.2967|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchAccounts", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchAccounts(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 13:19:54.2967||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 13:19:54.3144||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:19:54.3144||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:19:54.3339||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:19:54.3339||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 13:19:54.3339||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 13:19:54.6833||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 13:19:54.6853||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 13:19:54.6853|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Model.TreasuryAccountBalanceResp, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:19:54.6853|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchAccounts (AccountManagement) in 377.9389ms 2026-01-02 13:19:54.6853|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchAccounts (AccountManagement)' 2026-01-02 13:19:54.6853|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 393.1997ms 200 application/json; charset=utf-8 2026-01-02 13:20:34.6641|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:20:34.6641|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:20:34.6641|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:20:34.6641|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:20:34.6641|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:20:34.6706|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:20:34.6706|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.9659ms 204 2026-01-02 13:20:34.6706|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.7905ms 204 2026-01-02 13:20:34.6706|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.6864ms 204 2026-01-02 13:20:34.6706|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:20:34.6706|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:20:34.6706|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:20:34.6706|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:20:34.6706|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:20:34.6706|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:20:34.6865|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:20:34.6865|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:20:34.6865|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:20:34.6865|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:20:34.6865|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:20:34.6865|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:20:34.6865|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:20:34.6865|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:20:34.7022|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:20:34.7022|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 13:20:34.7022|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 13:20:34.7022|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:20:34.7022||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 13:20:34.7022|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:20:34.7022|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:20:34.7022||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:20:34.7022|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 13:20:34.7192||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:20:34.7192|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:20:34.7192|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.6009ms 2026-01-02 13:20:34.7192|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:20:34.7192|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 46.2931ms 200 application/json; charset=utf-8 2026-01-02 13:20:34.7509|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (34ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:20:34.7509||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:20:34.7509||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:20:34.7709||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:20:34.7709||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 13:20:34.7792||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 13:20:34.7792||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:20:34.7792||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:20:34.7792||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 13:20:35.1507||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 13:20:35.1559||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 13:20:35.1559|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:20:35.1559|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 454.2302ms 2026-01-02 13:20:35.1559|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:20:35.1559|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 484.4782ms 200 application/json; charset=utf-8 2026-01-02 13:20:36.1819||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:20:36.1875||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:20:36.1875||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:20:36.2042||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:20:36.2042||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:20:36.2042||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 13:20:36.5879||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:20:36.5928||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:20:36.5928||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:20:36.6082||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:20:36.6082||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:20:36.6082||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 13:20:36.9619||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:20:36.9619||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:20:36.9683||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:20:36.9827||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:20:36.9827||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:20:36.9827||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 13:20:37.3674||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:20:37.3674||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:20:37.3749||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:20:37.3896||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:20:37.3896||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:20:37.3896||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 13:20:37.7914||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:20:37.7949||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:20:37.7949||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:20:37.8119||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:20:37.8119||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:20:37.8119||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 13:20:38.1782||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:20:38.1824||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:20:38.1824||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:20:38.1972||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:20:38.1972|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 13:20:38.1972|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 13:20:38.2110|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:20:38.2110|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:20:38.2110|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:20:38.2110|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:20:38.2110|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:20:38.2263|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:20:38.2263|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:20:38.2263|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:20:38.2263|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:20:38.2263|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:20:38.2427|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:20:38.2427|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:20:38.2793|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:20:38.2793|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3572.9748ms 2026-01-02 13:20:38.2793|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:20:38.2793|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3606.0095ms 200 application/json; charset=utf-8 2026-01-02 13:21:04.2387|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:21:04.2387|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:21:04.2387|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:21:04.2437|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:21:04.2437|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:21:04.2437|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:21:04.2573|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.6233ms 204 2026-01-02 13:21:04.2573|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.5601ms 204 2026-01-02 13:21:04.2573|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 29.0357ms 204 2026-01-02 13:21:04.2744|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:21:04.2744|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:21:04.2744|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:21:04.2744|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:21:04.2744|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:21:04.2744|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:21:04.2744|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:21:04.2891|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:21:04.2891|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:21:04.2891|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:21:04.2891|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:21:04.2891|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:21:04.2891|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:21:04.2891|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:21:04.2891|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:21:04.3042|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 13:21:04.3042|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 13:21:04.3042|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:21:04.3042||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 13:21:04.3042|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:21:04.3042|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:21:04.3190||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:21:04.3190|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 13:21:04.3190|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:21:04.3190|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:21:04.3190||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:21:04.3190|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 12.947ms 2026-01-02 13:21:04.3190||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:21:04.3190|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:21:04.3190|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 54.3453ms 200 application/json; charset=utf-8 2026-01-02 13:21:04.3190||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:21:04.3444||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:21:04.3444||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 13:21:04.3444||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 13:21:04.3530||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:21:04.3530||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:21:04.3530||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 13:21:04.7273||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:21:04.7273||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:21:04.7273||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:21:04.7473||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:21:04.7473||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:21:04.7473||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 13:21:05.1193||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:21:05.1193||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:21:05.1193||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:21:05.1370||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:21:05.1370||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:21:05.1370||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 13:21:05.5224||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:21:05.5224||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:21:05.5224||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:21:05.5432||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:21:05.5432||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:21:05.5432||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 13:21:05.7256||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 13:21:05.7256||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 13:21:05.7256|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:21:05.7256|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1423.5269ms 2026-01-02 13:21:05.7256|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:21:05.7256|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1457.4888ms 200 application/json; charset=utf-8 2026-01-02 13:21:05.8991||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:21:05.8991||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:21:05.8991||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:21:05.9156||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:21:05.9156||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:21:05.9156||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 13:21:06.2746||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:21:06.2746||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:21:06.2746||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:21:06.2944||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:21:06.2944||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:21:06.2944||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 13:21:06.6471||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:21:06.6471||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:21:06.6471||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:21:06.6695||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:21:06.6788|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 13:21:06.6788|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 13:21:06.6788|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:21:06.6788|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:21:06.6788|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:21:06.6953|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:21:06.6953|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:21:06.6953|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:21:06.6953|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:21:06.7099|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:21:06.7099|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:21:06.7099|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:21:06.7099|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:21:06.7099|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:21:06.7617|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:21:06.7617|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2449.932ms 2026-01-02 13:21:06.7617|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:21:06.7617|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2494.4283ms 200 application/json; charset=utf-8 2026-01-02 13:22:58.4925|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:22:58.4925|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:22:58.4925|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:22:58.4925|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:22:58.5000|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:22:58.5000|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:22:58.5000|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.4634ms 204 2026-01-02 13:22:58.5000|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.2423ms 204 2026-01-02 13:22:58.5000|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.2308ms 204 2026-01-02 13:22:58.5000|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:22:58.5000|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:22:58.5000|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:22:58.5137|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:22:58.5137|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:22:58.5137|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:22:58.5137|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:22:58.5137|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:22:58.5137|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:22:58.5137|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:22:58.5137|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:22:58.5137|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:22:58.5137|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:22:58.5299|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:22:58.5299|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:22:58.5299|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:22:58.5299|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 13:22:58.5299|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 13:22:58.5299|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:22:58.5299|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:22:58.5299||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 13:22:58.5480|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:22:58.5480|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 13:22:58.5480||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:22:58.5480||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:22:58.5480|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:22:58.5637||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:22:58.5637|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 25.2493ms 2026-01-02 13:22:58.5637||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:22:58.5637|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:22:58.5758|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 64.7527ms 200 application/json; charset=utf-8 2026-01-02 13:22:58.5758||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:22:58.5937||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:22:58.5937||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 13:22:58.6373||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:22:58.6411||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 13:22:58.6411||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 13:22:58.9773||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:22:58.9822||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:22:58.9822||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:22:59.0009||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:22:59.0009||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:22:59.0009||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 13:22:59.3592||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:22:59.3592||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:22:59.3592||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:22:59.3812||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:22:59.3812||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:22:59.3867||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 13:22:59.7926||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:22:59.7926||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:22:59.7926||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:22:59.8118||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:22:59.8118||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:22:59.8118||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 13:23:00.0123||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 13:23:00.0123||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 13:23:00.0123|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:23:00.0123|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1476.9828ms 2026-01-02 13:23:00.0123|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:23:00.0123|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1511.1943ms 200 application/json; charset=utf-8 2026-01-02 13:23:00.1614||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:23:00.1614||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:23:00.1684||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:23:00.1684||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:23:00.1684||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:23:00.1836||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 13:23:00.5222||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:23:00.5276||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:23:00.5276||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:23:00.5431||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:23:00.5431||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:23:00.5431||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 13:23:00.9151||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:23:00.9203||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:23:00.9203||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:23:00.9422||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:23:00.9511|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 13:23:00.9790|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (24ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 13:23:00.9844|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:23:00.9844|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:23:00.9844|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:23:00.9959|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:23:00.9959|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:23:00.9959|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:23:00.9959|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:23:00.9959|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:23:00.9959|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:23:00.9959|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:23:01.0139|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:23:01.0139|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:23:01.0507|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:23:01.0507|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2514.015ms 2026-01-02 13:23:01.0507|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:23:01.0507|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2548.6841ms 200 application/json; charset=utf-8 2026-01-02 13:23:56.6866|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=493 2026-01-02 13:23:56.6866|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:23:56.6866|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.135ms 204 2026-01-02 13:23:56.7054|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=493 2026-01-02 13:23:56.7054|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:23:56.7054|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:23:56.7054|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:23:56.7157|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 13:23:56.7157|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:23:56.7157|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:23:56.7157|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:23:56.7157|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:23:56.7313|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 11.6453ms 2026-01-02 13:23:56.7313|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 13:23:56.7313|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 29.1813ms 200 application/json; charset=utf-8 2026-01-02 13:23:56.8736|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:23:56.8736|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:23:56.8736|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:23:56.8736|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:23:56.8736|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:23:56.8736|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:23:56.8736|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.3137ms 204 2026-01-02 13:23:56.8736|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.7185ms 204 2026-01-02 13:23:56.8736|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.661ms 204 2026-01-02 13:23:56.8955|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:23:56.8955|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:23:56.8955|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:23:56.8955|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:23:56.8955|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:23:56.8955|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:23:56.8955|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:23:56.9035|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:23:56.9035|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:23:56.9035|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:23:56.9035|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:23:56.9035|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:23:56.9035|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:23:56.9035|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:23:56.9035|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:23:56.9035|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 13:23:56.9035|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 13:23:56.9035|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:23:56.9035||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 13:23:56.9183|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:23:56.9183|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:23:56.9183|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 13:23:56.9183||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:23:56.9183|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:23:56.9183|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.7417ms 2026-01-02 13:23:56.9183||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:23:56.9183|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:23:56.9183|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 36.8999ms 200 application/json; charset=utf-8 2026-01-02 13:23:56.9496||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:23:56.9496||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 13:23:56.9496||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 13:23:56.9496|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (34ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:23:56.9496||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:23:56.9496||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:23:56.9823||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:23:56.9823||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:23:56.9823||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 13:23:57.3549||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:23:57.3587||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:23:57.3587||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:23:57.3743||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:23:57.3743||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:23:57.3743||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 13:23:57.7395||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:23:57.7395||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:23:57.7468||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:23:57.7468||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:23:57.7661||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:23:57.7661||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 13:23:58.1197||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:23:58.1227||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:23:58.1227||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:23:58.1373||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:23:58.1373||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:23:58.1373||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 13:23:58.3942||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 13:23:58.3942||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 13:23:58.3942|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:23:58.3942|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1485.1596ms 2026-01-02 13:23:58.4036|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:23:58.4036|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1508.9338ms 200 application/json; charset=utf-8 2026-01-02 13:23:58.5018||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:23:58.5018||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:23:58.5018||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:23:58.5226||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:23:58.5226||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:23:58.5308||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 13:23:58.9010||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:23:58.9041||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:23:58.9041||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:23:58.9041||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:23:58.9195||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:23:58.9195||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 13:23:59.2600||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:23:59.2657||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:23:59.2657||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:23:59.2847||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:23:59.2943|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 13:23:59.2943|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 13:23:59.2943|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:23:59.3101|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:23:59.3101|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:23:59.3101|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:23:59.3101|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:23:59.3255|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:23:59.3255|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:23:59.3255|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:23:59.3255|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:23:59.3255|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:23:59.3411|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:23:59.3411|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:23:59.3887|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:23:59.3887|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2473.1116ms 2026-01-02 13:23:59.3887|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:23:59.3887|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2499.355ms 200 application/json; charset=utf-8 2026-01-02 13:24:24.4872|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:24:24.4872|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:24:24.4872|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:24:24.4872|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:24:24.4872|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:24:24.4872|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:24:24.4971|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.8312ms 204 2026-01-02 13:24:24.4971|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.8289ms 204 2026-01-02 13:24:24.4971|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.4816ms 204 2026-01-02 13:24:24.4971|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:24:24.4971|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:24:24.4971|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:24:24.4971|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:24:24.5124|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:24:24.5124|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:24:24.5124|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:24:24.5124|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:24:24.5124|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:24:24.5124|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:24:24.5124|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:24:24.5124|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:24:24.5124|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:24:24.5124|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:24:24.5124|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 13:24:24.5124|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 13:24:24.5284|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:24:24.5284|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:24:24.5284||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 13:24:24.5284|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:24:24.5284|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 13:24:24.5284|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:24:24.5284|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:24:24.5284||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:24:24.5284|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.2051ms 2026-01-02 13:24:24.5284|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:24:24.5441||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:24:24.5441|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:24:24.5441||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:24:24.5441|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 47.4748ms 200 application/json; charset=utf-8 2026-01-02 13:24:24.5441||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:24:24.5677||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:24:24.5677||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 13:24:24.5677||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:24:24.5767||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 13:24:24.5767||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:24:24.5906||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 13:24:24.9602||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:24:24.9646||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:24:24.9646||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:24:24.9646||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:24:24.9840||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:24:24.9840||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 13:24:25.3805||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:24:25.3805||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:24:25.3873||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:24:25.3873||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:24:25.4027||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:24:25.4027||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 13:24:25.7537||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:24:25.7537||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:24:25.7633||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:24:25.7780||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:24:25.7780||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:24:25.7780||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 13:24:26.0035||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 13:24:26.0035||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 13:24:26.0035|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:24:26.0122|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1480.6084ms 2026-01-02 13:24:26.0122|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:24:26.0122|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1512.6962ms 200 application/json; charset=utf-8 2026-01-02 13:24:26.1748||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:24:26.1748||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:24:26.1748||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:24:26.1984||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:24:26.2030||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:24:26.2030||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 13:24:26.5986||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:24:26.5986||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:24:26.6077||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:24:26.6077||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:24:26.6496||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:24:26.6496||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 13:24:27.0378||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:24:27.0436||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:24:27.0436||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:24:27.0604||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:24:27.0604|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 13:24:27.0744|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 13:24:27.0744|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:24:27.0744|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:24:27.0744|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:24:27.0903|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:24:27.0903|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:24:27.0903|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:24:27.0903|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:24:27.0903|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:24:27.1079|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:24:27.1079|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:24:27.1079|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:24:27.1079|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:24:27.1547|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:24:27.1547|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2618.9701ms 2026-01-02 13:24:27.1547|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:24:27.1547|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2652.6483ms 200 application/json; charset=utf-8 2026-01-02 13:24:30.9538|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 13:24:30.9538|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:24:30.9538|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:24:30.9538|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:24:30.9538|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:24:30.9538|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:24:30.9668|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:24:30.9668|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:24:30.9668|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 8.769ms 2026-01-02 13:24:30.9668|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:24:30.9668|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.7657ms 200 application/json; charset=utf-8 2026-01-02 13:24:41.5184|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:24:41.5184|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:24:41.5184|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:24:41.5184|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:24:41.5184|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:24:41.5184|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:24:41.5184|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.5826ms 204 2026-01-02 13:24:41.5276|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.8164ms 204 2026-01-02 13:24:41.5276|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.718ms 204 2026-01-02 13:24:41.5276|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:24:41.5276|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:24:41.5276|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:24:41.5276|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:24:41.5276|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:24:41.5276|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:24:41.5276|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:24:41.5438|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:24:41.5438|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:24:41.5438|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:24:41.5438|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:24:41.5438|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:24:41.5438|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:24:41.5438|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:24:41.5438|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:24:41.5438|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 13:24:41.5438|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:24:41.5438|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 13:24:41.5438||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 13:24:41.5438|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:24:41.5438|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:24:41.5595||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:24:41.5595|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 13:24:41.5595||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:24:41.5595|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:24:41.5595|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 8.9931ms 2026-01-02 13:24:41.5595|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:24:41.5595|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.471ms 200 application/json; charset=utf-8 2026-01-02 13:24:41.5818||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:24:41.5818||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 13:24:41.5818||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 13:24:41.5946|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (36ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:24:41.5946||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:24:41.5946||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:24:41.6205||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:24:41.6237||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:24:41.6237||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 13:24:41.9882||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 13:24:41.9882||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 13:24:41.9882|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:24:41.9976|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 443.4068ms 2026-01-02 13:24:41.9976|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:24:41.9976|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 468.7186ms 200 application/json; charset=utf-8 2026-01-02 13:24:43.0326||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:24:43.0326||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:24:43.0326||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:24:43.0525||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:24:43.0525||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:24:43.0525||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 13:24:43.3929||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:24:43.3929||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:24:43.3929||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:24:43.4177||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:24:43.4177||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:24:43.4177||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 13:24:43.7672||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:24:43.7672||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:24:43.7672||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:24:43.7867||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:24:43.7867||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:24:43.7951||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 13:24:44.1591||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:24:44.1591||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:24:44.1686||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:24:44.1902||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:24:44.1902||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:24:44.1995||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 13:24:44.5631||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:24:44.5631||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:24:44.5631||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:24:44.5854||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:24:44.5854||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:24:44.5906||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 13:24:44.9230||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:24:44.9230||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:24:44.9230||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:24:44.9461||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:24:44.9530|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 13:24:44.9530|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 13:24:44.9530|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:24:44.9530|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:24:44.9664|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:24:44.9664|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:24:44.9664|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:24:44.9664|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:24:44.9817|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:24:44.9817|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:24:44.9817|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:24:44.9817|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:24:44.9990|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:24:44.9990|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:24:45.0425|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:24:45.0459|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3490.6952ms 2026-01-02 13:24:45.0459|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:24:45.0459|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3518.3325ms 200 application/json; charset=utf-8 2026-01-02 13:24:49.7141|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 13:24:49.7171|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:24:49.7171|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:24:49.7171|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:24:49.7171|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:24:49.7171|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:24:49.7346|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:24:49.7346|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:24:49.7346|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 10.1276ms 2026-01-02 13:24:49.7346|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:24:49.7346|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 27.2257ms 200 application/json; charset=utf-8 2026-01-02 13:24:54.1579|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 13:24:54.1579|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:24:54.1579|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:24:54.1579|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:24:54.1579|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:24:54.1579|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:24:54.1686|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:24:54.1686|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:24:54.1686|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 6.2109ms 2026-01-02 13:24:54.1686|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:24:54.1686|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.6953ms 200 application/json; charset=utf-8 2026-01-02 13:24:55.4841|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 13:24:55.4841|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:24:55.4841|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:24:55.4841|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:24:55.4841|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:24:55.4970|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:24:55.4970|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:24:55.4970|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:24:55.4970|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 9.2352ms 2026-01-02 13:24:55.4970|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:24:55.4970|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.4239ms 200 application/json; charset=utf-8 2026-01-02 13:26:03.0118|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2026-01-02 13:26:03.0118|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:26:03.0118|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.9039ms 204 2026-01-02 13:26:03.0301|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2026-01-02 13:26:03.0301|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:26:03.0301|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:26:03.0510|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:26:03.0582|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 13:26:03.0510|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:26:03.0510|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:26:03.0510|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:26:03.0582|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:26:03.0582|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:26:03.0582|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:26:03.0582|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:26:03.0582|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:26:03.0582|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.7086ms 204 2026-01-02 13:26:03.0751|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.6083ms 204 2026-01-02 13:26:03.0751|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 22.4701ms 204 2026-01-02 13:26:03.0751|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:26:03.0751|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:26:03.0751|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:26:03.0751|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:26:03.0751|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:26:03.0751|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:26:03.0751|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:26:03.0751|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:26:03.0751|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:26:03.0897|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:26:03.0897|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 21.12ms 2026-01-02 13:26:03.0897|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:26:03.0897|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:26:03.0897|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:26:03.0897|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 13:26:03.0897|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:26:03.0897|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:26:03.0897|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:26:03.0897|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 69.4971ms 200 application/json; charset=utf-8 2026-01-02 13:26:03.0897|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:26:03.0897|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 13:26:03.0897|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 13:26:03.1058|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:26:03.1058||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 13:26:03.1058|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:26:03.1058|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:26:03.1058|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 13:26:03.1058|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:26:03.1058||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:26:03.1058|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.1137ms 2026-01-02 13:26:03.1209|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:26:03.1209|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:26:03.1209||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:26:03.1209|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.8041ms 200 application/json; charset=utf-8 2026-01-02 13:26:03.1209||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:26:03.1209||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:26:03.1403||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:26:03.1403||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:26:03.1403||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:26:03.1403||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 13:26:03.1403||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 13:26:03.1403||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 13:26:04.2292||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 13:26:04.2311||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 13:26:04.2311||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 13:26:04.2311||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:26:04.2311|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:26:04.2311|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1132.723ms 2026-01-02 13:26:04.2311||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:26:04.2311|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:26:04.2311|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1159.4309ms 200 application/json; charset=utf-8 2026-01-02 13:26:04.2499||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:26:04.2499||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:26:04.2499||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 13:26:05.3238||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 13:26:05.3238||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:26:05.3238||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:26:05.3431||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:26:05.3431||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:26:05.3431||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 13:26:06.4223||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 13:26:06.4223||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:26:06.4223||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:26:06.4440||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:26:06.4490||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:26:06.4490||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 13:26:07.5406||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 13:26:07.5438||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:26:07.5438||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:26:07.5585||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:26:07.5585||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:26:07.5585||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 13:26:08.6529||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 13:26:08.6529||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:26:08.6529||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:26:08.6725||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:26:08.6725||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:26:08.6725||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 13:26:09.7583||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 13:26:09.7626||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:26:09.7626||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:26:09.7772||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:26:09.7772|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 13:26:09.7772|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 13:26:09.7941|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:26:09.7941|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:26:09.7941|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:26:09.7941|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:26:09.7941|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:26:09.7941|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:26:09.8102|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:26:09.8102|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:26:09.8102|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:26:09.8102|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:26:09.8102|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:26:09.8102|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:26:09.8565|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:26:09.8565|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6749.0555ms 2026-01-02 13:26:09.8565|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:26:09.8565|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6782.0224ms 200 application/json; charset=utf-8 2026-01-02 13:27:47.5257|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=501 2026-01-02 13:27:47.5257|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:27:47.5323|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.6717ms 204 2026-01-02 13:27:47.5323|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=501 2026-01-02 13:27:47.5490|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:27:47.5490|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:27:47.5490|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:27:47.5490|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 13:27:47.5621|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:27:47.5621|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:27:47.5621|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:27:47.5621|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:27:47.5621|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 11.6087ms 2026-01-02 13:27:47.5774|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 13:27:47.5774|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.6961ms 200 application/json; charset=utf-8 2026-01-02 13:27:47.6393|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:27:47.6404|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:27:47.6404|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:27:47.6404|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:27:47.6404|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:27:47.6404|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:27:47.6404|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.0183ms 204 2026-01-02 13:27:47.6404|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.7699ms 204 2026-01-02 13:27:47.6404|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.2928ms 204 2026-01-02 13:27:47.6585|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 13:27:47.6585|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:27:47.6585|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:27:47.6585|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:27:47.6585|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:27:47.6585|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:27:47.6585|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:27:47.6585|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:27:47.6715|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:27:47.6715|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:27:47.6715|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:27:47.6715|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:27:47.6715|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:27:47.6715|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:27:47.6715|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:27:47.6866|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 13:27:47.6715|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 13:27:47.6715|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:27:47.6866||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 13:27:47.6866|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:27:47.6866|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:27:47.6866|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 13:27:47.6866||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:27:47.6866|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:27:47.7056|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:27:47.7056||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:27:47.7056|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 17.5385ms 2026-01-02 13:27:47.7056||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:27:47.7056|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:27:47.7187||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 13:27:47.7187|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 60.5191ms 200 application/json; charset=utf-8 2026-01-02 13:27:47.7187||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:27:47.7359||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 13:27:47.7359||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:27:47.7359||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 13:27:47.7359||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:27:47.7359||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 13:27:49.3537||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:27:49.3598||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:27:49.3598||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:27:49.3794||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:27:49.3794||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:27:49.3794||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 13:27:49.8026||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:27:49.8026||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:27:49.8131||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:27:49.8302||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:27:49.8302||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:27:49.8302||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 13:27:50.2466||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:27:50.2502||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:27:50.2502||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:27:50.2658||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:27:50.2658||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:27:50.2658||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 13:27:50.3724||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 13:27:50.3758||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 13:27:50.3758|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:27:50.3758|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 2692.2299ms 2026-01-02 13:27:50.3758|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:27:50.3758|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2725.4098ms 200 application/json; charset=utf-8 2026-01-02 13:27:50.6481||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:27:50.6481||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:27:50.6579||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:27:50.6579||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:27:50.6735||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:27:50.6735||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 13:27:51.0813||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:27:51.0813||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:27:51.0813||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:27:51.1039||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:27:51.1039||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:27:51.1108||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 13:27:51.5012||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:27:51.5012||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:27:51.5012||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:27:51.5211||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:27:51.5211|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 13:27:51.5353|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 13:27:51.5353|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:27:51.5353|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:27:51.5477|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:27:51.5477|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:27:51.5477|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:27:51.5477|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:27:51.5477|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:27:51.5643|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:27:51.5643|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:27:51.5643|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:27:51.5643|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:27:51.5643|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:27:51.6199|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:27:51.6199|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3929.2335ms 2026-01-02 13:27:51.6246|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:27:51.6246|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3967.7336ms 200 application/json; charset=utf-8 2026-01-02 13:30:27.4677|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=530 2026-01-02 13:30:27.4677|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:30:27.4757|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.0042ms 204 2026-01-02 13:30:28.2659|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2026-01-02 13:30:28.2659|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:30:28.2659|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:30:28.2659|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:30:28.2750|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:30:28.2750|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:30:28.2750|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.5578ms 204 2026-01-02 13:30:28.2750|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.7656ms 204 2026-01-02 13:30:28.2887|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.973ms 204 2026-01-02 13:30:28.3991|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=530 2026-01-02 13:30:28.3991|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:30:28.3991|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2026-01-02 13:30:28.3991|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:30:28.3991|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:30:28.3991|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:30:28.3991|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:30:28.3991|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:30:28.3991|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:30:28.3991|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:30:28.3991|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:30:28.4131|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 13:30:28.4131|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:30:28.4131|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:30:28.4131|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:30:28.4131|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:30:28.4131|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:30:28.4131|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:30:28.4131|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:30:28.4131|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:30:28.4131|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:30:28.4131|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:30:28.4285|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:30:28.4285|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 13:30:28.4285|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:30:28.4285|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:30:28.4285||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 209 2026-01-02 13:30:28.4285|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:30:28.4285|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 13:30:28.4285|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:30:28.4285||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:30:28.4442||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:30:28.4442|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:30:28.4442|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 22.9979ms 2026-01-02 13:30:28.4442||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2026-01-02 13:30:28.4442||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2026-01-02 13:30:28.4442|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 13:30:28.4442|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 13:30:28.4442|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 56.8741ms 200 application/json; charset=utf-8 2026-01-02 13:30:28.4442|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:30:28.4607|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.6931ms 2026-01-02 13:30:28.4607|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:30:28.4607|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 59.0673ms 200 application/json; charset=utf-8 2026-01-02 13:30:28.4607||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:30:28.4607||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:30:28.4607||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:30:28.4607||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 13:30:28.4754||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0112012335 2026-01-02 13:30:28.4754||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 13:30:28.8997||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:30:28.8997||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:30:28.8997||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:30:28.9199||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:30:28.9199||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:30:28.9199||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011201233545 2026-01-02 13:30:29.2924||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:30:29.2924||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:30:29.2924||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:30:29.3138||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:30:29.3208|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; 2026-01-02 13:30:29.3208|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; 2026-01-02 13:30:29.3208|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 13:30:29.3208|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:30:29.3363|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:30:29.3363|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:30:29.3363|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:30:29.3901|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:30:29.3901|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 965.5611ms 2026-01-02 13:30:29.3901|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:30:29.3901|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 995.5287ms 200 application/json; charset=utf-8 2026-01-02 13:30:29.9487||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 13:30:29.9487||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 13:30:29.9487|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:30:29.9487|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1522.9537ms 2026-01-02 13:30:29.9487|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:30:29.9601|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1556.4015ms 200 application/json; charset=utf-8 2026-01-02 13:30:39.5611|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011201233545 2026-01-02 13:30:39.5643|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:30:39.5643|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:30:39.5643|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:30:39.5643|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:30:39.5643|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:30:39.5804|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:30:39.5804|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:30:39.5804|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 7.2486ms 2026-01-02 13:30:39.5804|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:30:39.5804|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.6538ms 200 application/json; charset=utf-8 2026-01-02 13:31:08.8437|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011201233545 2026-01-02 13:31:08.8472|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:31:08.8472|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:31:08.8472|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:31:08.8472|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:31:08.8472|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:31:08.8472|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:31:08.8616|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:31:08.8616|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 9.3013ms 2026-01-02 13:31:08.8616|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:31:08.8616|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.0129ms 200 application/json; charset=utf-8 2026-01-02 13:31:10.5074|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011201233545 2026-01-02 13:31:10.5074|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:31:10.5074|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:31:10.5074|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:31:10.5074|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:31:10.5074|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:31:10.5219|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:31:10.5219|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:31:10.5219|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 8.1559ms 2026-01-02 13:31:10.5219|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 13:31:10.5219|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 20.9997ms 200 application/json; charset=utf-8 2026-01-02 13:32:26.6459|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 13:32:26.6459|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 13:32:26.6492|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:32:26.6492|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:32:26.6492|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.7378ms 204 2026-01-02 13:32:26.6492|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.8379ms 204 2026-01-02 13:32:26.6647|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 13:32:26.6647|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 13:32:26.6647|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 13:32:26.6647|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 13:32:26.6647|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 13:32:26.6647|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 13:32:26.6797|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:32:26.6797|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:32:26.6797|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 13:32:26.6797|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 13:32:26.6797|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 13:32:26.6797|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 13:32:26.6797|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.8325ms 401 2026-01-02 13:32:26.6942|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 29.4786ms 401 2026-01-02 13:32:51.3060|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=533 2026-01-02 13:32:51.3060|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:32:51.3060|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.4597ms 204 2026-01-02 13:32:51.3242|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 13:32:51.3242|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 13:32:51.3242|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:32:51.3242|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:32:51.3242|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.0165ms 204 2026-01-02 13:32:51.3242|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.4881ms 204 2026-01-02 13:32:51.3348|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=533 2026-01-02 13:32:51.3348|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:32:51.3348|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 13:32:51.3348|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 13:32:51.3348|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:32:51.3348|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:32:51.3348|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:32:51.3348|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:32:51.3501|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:32:51.3501|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:32:51.3501|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 13:32:51.3501|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:32:51.3501|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:32:51.3501|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:32:51.3501|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 13:32:51.3501|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 13:32:51.3501|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:32:51.3501|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 13:32:51.3501|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 13:32:51.3671|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:32:51.3671|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:32:51.3671|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:32:51.3671|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:32:51.3671|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 10.9609ms 2026-01-02 13:32:51.3671|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 13:32:51.3671|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 13:32:51.3671|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:32:51.3671|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.6215ms 200 application/json; charset=utf-8 2026-01-02 13:32:51.3671|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 13:32:51.3671|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 8.5299ms 2026-01-02 13:32:51.3812|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 13:32:51.3812|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.743ms 200 application/json; charset=utf-8 2026-01-02 13:32:51.3812|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:32:51.3812|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 25.4131ms 2026-01-02 13:32:51.3812|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 13:32:51.3812|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 57.1649ms 200 application/json; charset=utf-8 2026-01-02 13:32:53.9902|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:32:53.9902|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2026-01-02 13:32:53.9902|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:32:53.9902|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:32:53.9902|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:32:53.9902|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:32:53.9902|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.7225ms 204 2026-01-02 13:32:53.9902|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.4533ms 204 2026-01-02 13:32:53.9902|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.1837ms 204 2026-01-02 13:32:54.0107|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=209 2026-01-02 13:32:54.0107|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 13:32:54.0107|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 13:32:54.0107|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:32:54.0107|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:32:54.0107|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:32:54.0107|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:32:54.0107|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:32:54.0107|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:32:54.0107|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:32:54.0107|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:32:54.0221|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:32:54.0221|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:32:54.0221|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:32:54.0221|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:32:54.0221|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:32:54.0221|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 13:32:54.0221|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 13:32:54.0221|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:32:54.0221|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:32:54.0221||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 209 2026-01-02 13:32:54.0387|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:32:54.0387|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 13:32:54.0387||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:32:54.0387||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 13:32:54.0387|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:32:54.0539||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2026-01-02 13:32:54.0539|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 22.9012ms 2026-01-02 13:32:54.0539||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/80 2026-01-02 13:32:54.0539|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 13:32:54.0539|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 51.2181ms 200 application/json; charset=utf-8 2026-01-02 13:32:54.0779||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:32:54.0779||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 80, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 13:32:54.0779||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 13:32:54.0847||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:32:54.0847||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 13:32:54.0847||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0112012335 2026-01-02 13:32:54.4812||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:32:54.4812||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:32:54.4900||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:32:54.5069||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:32:54.5069||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 13:32:54.5069||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011201233545 2026-01-02 13:32:54.9476||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 13:32:54.9476||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 13:32:54.9540||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 13:32:54.9540||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 13:32:54.9740|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; 2026-01-02 13:32:54.9740|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; 2026-01-02 13:32:54.9740|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 13:32:54.9840|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:32:54.9840|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:32:54.9840|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 13:32:54.9840|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 13:32:55.0274|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:32:55.0274|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 998.7365ms 2026-01-02 13:32:55.0317|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 13:32:55.0317|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1023.9264ms 200 application/json; charset=utf-8 2026-01-02 13:32:55.5012||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 13:32:55.5012||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 13:32:55.5012|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 13:32:55.5012|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1474.4178ms 2026-01-02 13:32:55.5012|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 13:32:55.5012|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1501.1258ms 200 application/json; charset=utf-8 2026-01-02 13:51:30.3159|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=501 2026-01-02 13:51:30.3159|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:51:30.3159|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.3832ms 204 2026-01-02 13:51:30.3159|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=501 2026-01-02 13:51:30.3300|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 13:51:30.3300|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 13:51:30.3300|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 13:51:30.3300|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 13:51:30.3300|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 13:51:30.3460|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 13:51:30.3598|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 13:51:30.3598|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 13:51:30.3598|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 17.348ms 2026-01-02 13:51:30.3598|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 13:51:30.3598|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 38.2146ms 200 application/json; charset=utf-8 2026-01-02 14:00:07.9605|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 14:00:07.9605|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 14:00:07.9605|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:00:07.9665|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:00:07.9665|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.86ms 204 2026-01-02 14:00:07.9665|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.6556ms 204 2026-01-02 14:00:07.9665|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 14:00:07.9665|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 14:00:07.9665|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 14:00:07.9665|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 14:00:07.9665|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 14:00:07.9804|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 14:00:07.9804|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:00:07.9804|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:00:07.9804|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 14:00:07.9804|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 14:00:07.9804|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 14:00:07.9804|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 14:00:07.9804|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.9827ms 401 2026-01-02 14:00:07.9804|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.537ms 401 2026-01-02 14:00:16.4975|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=493 2026-01-02 14:00:16.4975|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:00:16.4975|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.5836ms 204 2026-01-02 14:00:16.4975|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=493 2026-01-02 14:00:16.5121|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:00:16.5121|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 14:00:16.5121|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:00:16.5121|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 14:00:16.5121|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:00:16.5121|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:00:16.5121|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:00:16.5284|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.9775ms 204 2026-01-02 14:00:16.5284|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 14:00:16.5284|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.5884ms 204 2026-01-02 14:00:16.5284|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:00:16.5284|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:00:16.5433|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 14:00:16.5433|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:00:16.5433|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 14:00:16.5433|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:00:16.5433|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:00:16.5433|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:00:16.5433|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:00:16.5433|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 14:00:16.5433|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:00:16.5433|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 14:00:16.5433|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 14:00:16.5433|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 14:00:16.5433|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:00:16.5583|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:00:16.5583|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 14:00:16.5583|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 19.2547ms 2026-01-02 14:00:16.5583|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:00:16.5583|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 14:00:16.5583|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 14:00:16.5583|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:00:16.5583|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 56.0473ms 200 application/json; charset=utf-8 2026-01-02 14:00:16.5583|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 9.2502ms 2026-01-02 14:00:16.5583|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 14:00:16.5583|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.6217ms 200 application/json; charset=utf-8 2026-01-02 14:00:16.5748|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (9ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 14:00:16.5748|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:00:16.5748|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 21.4455ms 2026-01-02 14:00:16.5748|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 14:00:16.5748|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.3429ms 200 application/json; charset=utf-8 2026-01-02 14:00:27.9987|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:00:27.9987|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:00:27.9987|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:00:27.9987|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:00:27.9987|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:00:27.9987|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:00:27.9987|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.4762ms 204 2026-01-02 14:00:28.0125|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.4495ms 204 2026-01-02 14:00:28.0125|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.6342ms 204 2026-01-02 14:00:28.0125|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:00:28.0125|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:00:28.0125|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:00:28.0125|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:00:28.0125|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:00:28.0275|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:00:28.0275|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:00:28.0275|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:00:28.0275|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:00:28.0275|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:00:28.0275|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:00:28.0275|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:00:28.0275|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:00:28.0275|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:00:28.0275|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:00:28.0275|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:00:28.0438|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 14:00:28.0438|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 14:00:28.0438|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:00:28.0438||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 14:00:28.0438|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:00:28.0438|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:00:28.0681|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 14:00:28.0681||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:00:28.0681|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:00:28.0754|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 24.4878ms 2026-01-02 14:00:28.0754||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:00:28.0754||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:00:28.0754|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:00:28.0754|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 59.6459ms 200 application/json; charset=utf-8 2026-01-02 14:00:28.0754||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:00:28.0984||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:00:28.0984||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 14:00:28.1055||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 14:00:28.1055||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:00:28.1055||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:00:28.1055||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 14:00:28.5482||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 14:00:28.5482||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 14:00:28.5482|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:00:28.5482|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 508.1752ms 2026-01-02 14:00:28.5590|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:00:28.5590|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 539.1526ms 200 application/json; charset=utf-8 2026-01-02 14:00:29.5797||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:00:29.5797||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:00:29.5797||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:00:29.5963||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:00:29.5963||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:00:29.5963||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 14:00:29.9626||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:00:29.9676||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:00:29.9676||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:00:29.9841||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:00:29.9841||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:00:29.9841||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 14:00:30.3510||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:00:30.3563||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:00:30.3563||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:00:30.3750||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:00:30.3750||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:00:30.3750||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 14:00:30.7407||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:00:30.7407||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:00:30.7485||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:00:30.7626||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:00:30.7626||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:00:30.7626||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 14:00:31.1491||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:00:31.1545||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:00:31.1545||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:00:31.1735||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:00:31.1735||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:00:31.1735||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 14:00:31.5763||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:00:31.5763||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:00:31.5763||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:00:31.5970||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:00:31.5970|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 14:00:31.6222|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 14:00:31.6222|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:00:31.6222|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:00:31.6222|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:00:31.6398|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:00:31.6398|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:00:31.6398|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:00:31.6398|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:00:31.6550|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:00:31.6550|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:00:31.6550|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:00:31.6550|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:00:31.6700|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:00:31.7232|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:00:31.7232|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3678.5093ms 2026-01-02 14:00:31.7232|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:00:31.7232|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3712.1898ms 200 application/json; charset=utf-8 2026-01-02 14:20:02.0451|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:20:02.0451|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:20:02.0458|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:20:02.0458|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:20:02.0458|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:20:02.0458|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.0952ms 204 2026-01-02 14:20:02.0458|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.8994ms 204 2026-01-02 14:20:02.0458|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:20:02.0458|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:20:02.0458|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:20:02.0458|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.1875ms 204 2026-01-02 14:20:02.0621|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 14:20:02.0621|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 14:20:02.0621|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:20:02.0621|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 14:20:02.0621|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 14:20:02.0621|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 14:20:02.0621|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:20:02.0621|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:20:02.0621|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 14:20:02.0621|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 14:20:02.0773|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 14:20:02.0773|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:20:02.0773|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 14:20:02.0773|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 14:20:02.0773|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 14:20:02.0773|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.9467ms 401 2026-01-02 14:20:02.0773|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.8474ms 401 2026-01-02 14:20:02.0773|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 14:20:02.0773|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.7743ms 401 2026-01-02 14:20:09.8470|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2026-01-02 14:20:09.8470|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:20:09.8470|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.4329ms 204 2026-01-02 14:20:09.8594|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2026-01-02 14:20:09.8594|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:20:09.8594|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:20:09.8594|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:20:09.8594|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:20:09.8594|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:20:09.8594|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:20:09.8594|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:20:09.8594|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:20:09.8751|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:20:09.8751|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.5516ms 204 2026-01-02 14:20:09.8751|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.849ms 204 2026-01-02 14:20:09.8751|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.9673ms 204 2026-01-02 14:20:09.8751|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 14:20:09.8751|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:20:09.8751|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:20:09.8751|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:20:09.8751|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:20:09.8751|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:20:09.8899|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:20:09.8899|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:20:09.8899|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:20:09.8899|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:20:09.8899|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:20:09.8899|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:20:09.8899|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:20:09.8899|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:20:09.8899|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:20:09.8899|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:20:09.8899|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:20:09.8899|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 14:20:09.8899|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:20:09.8899|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:20:09.8899|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:20:09.9059|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:20:09.9059|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 14:20:09.9059|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 14:20:09.9059||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 14:20:09.9059|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:20:09.9059|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:20:09.9059|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 21.7693ms 2026-01-02 14:20:09.9059|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 14:20:09.9059|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 14:20:09.9059|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:20:09.9059|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 58.0364ms 200 application/json; charset=utf-8 2026-01-02 14:20:09.9059|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 13.8488ms 2026-01-02 14:20:09.9059||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:20:09.9059|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:20:09.9230|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.269ms 200 application/json; charset=utf-8 2026-01-02 14:20:09.9230||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:20:09.9230||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:20:09.9230||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:20:09.9435||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:20:09.9435||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 14:20:09.9435||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 14:20:09.9435||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:20:09.9539||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:20:09.9539||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 14:20:12.0842||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 14:20:12.0842||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 14:20:12.0842|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:20:12.0927|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 2182.5556ms 2026-01-02 14:20:12.0927|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:20:12.0927|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2210.4736ms 200 application/json; charset=utf-8 2026-01-02 14:20:12.1148|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 14:20:12.1148|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 14:20:12.1148|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:20:12.1148|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:20:12.1148|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.2265ms 204 2026-01-02 14:20:12.1243|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.4705ms 204 2026-01-02 14:20:12.1243|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 14:20:12.1243|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 14:20:12.1243|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:20:12.1243|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:20:12.1243|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:20:12.1243|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:20:12.1243|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:20:12.1243|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:20:12.1243|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 14:20:12.1401|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 14:20:12.1401|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 14:20:12.1401|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 14:20:12.1401|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:20:12.1401|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:20:12.1401|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 14:20:12.1401|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:20:12.1401|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 7.5497ms 2026-01-02 14:20:12.1401|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 14:20:12.1401|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 14:20:12.1568|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.2102ms 200 application/json; charset=utf-8 2026-01-02 14:20:12.1568|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:20:12.1708|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 24.681ms 2026-01-02 14:20:12.1708|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 14:20:12.1708|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 46.126ms 200 application/json; charset=utf-8 2026-01-02 14:20:13.0547||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:20:13.0547||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:20:13.0614||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:20:13.0614||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:20:13.0773||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:20:13.0773||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 14:20:14.0160||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:20:14.0160||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:20:14.0160||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:20:14.0336||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:20:14.0336||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:20:14.0336||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 14:20:14.9542||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:20:14.9542||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:20:14.9542||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:20:14.9723||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:20:14.9723||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:20:14.9723||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 14:20:15.8838||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:20:15.8838||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:20:15.8916||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:20:15.8916||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:20:15.9056||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:20:15.9056||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 14:20:16.8454||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:20:16.8454||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:20:16.8454||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:20:16.8658||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:20:16.8658||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:20:16.8753||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 14:20:17.8116||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:20:17.8161||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:20:17.8161||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:20:17.8311||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:20:17.8311|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 14:20:17.8474|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 14:20:17.8474|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:20:17.8474|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:20:17.8588|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:20:17.8588|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:20:17.8588|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:20:17.8588|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:20:17.8588|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:20:17.8761|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:20:17.8761|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:20:17.8761|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:20:17.8906|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:20:17.8906|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:20:17.9383|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:20:17.9383|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 8035.1843ms 2026-01-02 14:20:17.9383|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:20:17.9383|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8063.1697ms 200 application/json; charset=utf-8 2026-01-02 14:21:15.4151|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:21:15.4151|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:21:15.4151|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:21:15.4151|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:21:15.4200|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:21:15.4200|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:21:15.4200|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.2115ms 204 2026-01-02 14:21:15.4200|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.0083ms 204 2026-01-02 14:21:15.4200|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.0381ms 204 2026-01-02 14:21:15.4200|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:21:15.4200|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:21:15.4200|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:21:15.4200|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:21:15.4200|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:21:15.4200|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:21:15.4200|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:21:15.4342|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:21:15.4342|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:21:15.4342|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:21:15.4342|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:21:15.4342|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:21:15.4342|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:21:15.4342|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:21:15.4342|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:21:15.4342|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 14:21:15.4342|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 14:21:15.4500|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:21:15.4500|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:21:15.4500||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 14:21:15.4500|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:21:15.4500|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 14:21:15.4500||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:21:15.4500|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:21:15.4655|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:21:15.4655||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:21:15.4655|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.9499ms 2026-01-02 14:21:15.4655||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:21:15.4655|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:21:15.4655|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 47.623ms 200 application/json; charset=utf-8 2026-01-02 14:21:15.4655||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:21:15.4900||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:21:15.4900||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 14:21:15.4900||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:21:15.4986||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 14:21:15.4986||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:21:15.4986||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 14:21:15.8860||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:21:15.8909||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:21:15.8909||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:21:15.9073||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:21:15.9073||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:21:15.9073||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 14:21:15.9315||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 14:21:15.9348||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 14:21:15.9348|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:21:15.9348|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 484.5137ms 2026-01-02 14:21:15.9348|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:21:15.9348|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 511.2823ms 200 application/json; charset=utf-8 2026-01-02 14:21:16.2610||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:21:16.2652||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:21:16.2652||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:21:16.2833||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:21:16.2833||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:21:16.2833||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 14:21:16.6515||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:21:16.6575||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:21:16.6575||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:21:16.6740||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:21:16.6740||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:21:16.6740||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 14:21:17.0297|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 14:21:17.0297|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 14:21:17.0297|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:21:17.0297|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:21:17.0297|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.9135ms 204 2026-01-02 14:21:17.0297|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.9161ms 204 2026-01-02 14:21:17.0297|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 14:21:17.0297|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 14:21:17.0437|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:21:17.0437|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:21:17.0437|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:21:17.0437|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:21:17.0437|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:21:17.0437|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:21:17.0437|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 14:21:17.0437|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 14:21:17.0437|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 14:21:17.0437|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 14:21:17.0594|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:21:17.0594|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:21:17.0594|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 14:21:17.0594|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:21:17.0594|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 7.893ms 2026-01-02 14:21:17.0594|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 14:21:17.0594|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 14:21:17.0594|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 29.6692ms 200 application/json; charset=utf-8 2026-01-02 14:21:17.0751|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:21:17.0751|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 16.0703ms 2026-01-02 14:21:17.0751|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 14:21:17.0751|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 35.8704ms 200 application/json; charset=utf-8 2026-01-02 14:21:17.1111||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:21:17.1111||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:21:17.1111||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:21:17.1307||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:21:17.1307||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:21:17.1387||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 14:21:17.4963||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:21:17.4963||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:21:17.4963||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:21:17.5133||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:21:17.5133||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:21:17.5133||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 14:21:17.8700||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:21:17.8753||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:21:17.8753||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:21:17.8948||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:21:17.9051|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 14:21:17.9051|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 14:21:17.9051|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:21:17.9051|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:21:17.9205|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:21:17.9205|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:21:17.9205|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:21:17.9205|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:21:17.9205|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:21:17.9205|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:21:17.9354|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:21:17.9354|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:21:17.9354|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:21:17.9354|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:21:17.9761|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:21:17.9761|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2523.0892ms 2026-01-02 14:21:17.9812|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:21:17.9812|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2554.1498ms 200 application/json; charset=utf-8 2026-01-02 14:23:16.4470|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:23:16.4470|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:23:16.4470|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:23:16.4470|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:23:16.4470|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:23:16.4470|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:23:16.4470|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.3109ms 204 2026-01-02 14:23:16.4470|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.7722ms 204 2026-01-02 14:23:16.4470|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.7657ms 204 2026-01-02 14:23:16.4608|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:23:16.4608|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:23:16.4608|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:23:16.4608|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:23:16.4608|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:23:16.4608|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:23:16.4608|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:23:16.4608|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:23:16.4608|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:23:16.4608|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:23:16.4608|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:23:16.4608|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:23:16.4746|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:23:16.4746|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:23:16.4746|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:23:16.4746|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:23:16.4746|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 14:23:16.4746|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 14:23:16.4746|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:23:16.4746|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:23:16.4746||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 14:23:16.4746|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:23:16.4746|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 14:23:16.4746|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:23:16.4902||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:23:16.4902||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:23:16.4902|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 8.1306ms 2026-01-02 14:23:16.4902||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:23:16.4902||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:23:16.4902|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:23:16.4902|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.0471ms 200 application/json; charset=utf-8 2026-01-02 14:23:16.5152||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:23:16.5152||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:23:16.5152||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 14:23:16.5212||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:23:16.5212||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 14:23:16.5212||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 14:23:16.8746||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 14:23:16.8746||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 14:23:16.8817|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:23:16.8817|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 400.1509ms 2026-01-02 14:23:16.8817|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:23:16.8817|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 424.4909ms 200 application/json; charset=utf-8 2026-01-02 14:23:17.9131||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:23:17.9131||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:23:17.9131||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:23:17.9374||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:23:17.9374||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:23:17.9374||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 14:23:18.3270||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:23:18.3270||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:23:18.3381||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:23:18.3533||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:23:18.3533||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:23:18.3533||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 14:23:18.7265||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:23:18.7265||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:23:18.7265||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:23:18.7505||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:23:18.7505||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:23:18.7588||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 14:23:19.1113||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:23:19.1113||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:23:19.1173||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:23:19.1310||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:23:19.1310||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:23:19.1310||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 14:23:19.5008||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:23:19.5008||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:23:19.5076||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:23:19.5076||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:23:19.5253||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:23:19.5253||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 14:23:19.8778||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:23:19.8814||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:23:19.8814||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:23:19.8973||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:23:19.8973|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 14:23:19.8973|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 14:23:19.9126|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:23:19.9126|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:23:19.9126|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:23:19.9126|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:23:19.9286|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:23:19.9286|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:23:19.9286|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:23:19.9286|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:23:19.9286|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:23:19.9444|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:23:19.9444|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:23:19.9444|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:23:19.9991|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:23:19.9991|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3520.7627ms 2026-01-02 14:23:19.9991|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:23:19.9991|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3544.4452ms 200 application/json; charset=utf-8 2026-01-02 14:27:50.7702|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:27:50.7702|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:27:50.7702|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:27:50.7728|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:27:50.7728|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:27:50.7728|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:27:50.7728|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.7771ms 204 2026-01-02 14:27:50.7894|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.9551ms 204 2026-01-02 14:27:50.7894|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.0562ms 204 2026-01-02 14:27:50.7894|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:27:50.7894|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:27:50.7894|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:27:50.7894|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:27:50.7894|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:27:50.7894|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:27:50.7894|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:27:50.8040|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:27:50.8040|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:27:50.8040|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:27:50.8040|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:27:50.8040|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:27:50.8040|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:27:50.8040|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:27:50.8040|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:27:50.8040|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 14:27:50.8040|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 14:27:50.8040|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:27:50.8206||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 14:27:50.8206|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:27:50.8206|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:27:50.8370||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:27:50.8370|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 14:27:50.8370||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:27:50.8370|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:27:50.8370|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 23.94ms 2026-01-02 14:27:50.8370|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:27:50.8370|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:27:50.8517|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 55.3323ms 200 application/json; charset=utf-8 2026-01-02 14:27:50.8517||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:27:50.8517||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:27:50.8517||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:27:50.8517||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 14:27:50.8681||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 14:27:50.8681||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:27:50.8681||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:27:50.8819||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 14:27:51.2327||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:27:51.2327||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:27:51.2327||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:27:51.2551||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:27:51.2588||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:27:51.2588||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 14:27:51.6193||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:27:51.6193||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:27:51.6193||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:27:51.6443||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:27:51.6485||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:27:51.6485||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 14:27:52.0774||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:27:52.0774||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:27:52.0851||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:27:52.0851||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:27:52.1045||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:27:52.1045||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 14:27:52.3057||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 14:27:52.3057||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 14:27:52.3057|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:27:52.3057|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1492.3623ms 2026-01-02 14:27:52.3057|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:27:52.3057|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1521.7017ms 200 application/json; charset=utf-8 2026-01-02 14:27:52.4650||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:27:52.4650||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:27:52.4650||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:27:52.4793||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:27:52.4793||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:27:52.4793||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 14:27:52.8130||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:27:52.8130||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:27:52.8130||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:27:52.8382||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:27:52.8382||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:27:52.8382||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 14:27:53.2062||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:27:53.2062||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:27:53.2062||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:27:53.2344||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:27:53.2436|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 14:27:53.2517|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 14:27:53.2517|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:27:53.2517|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:27:53.2517|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:27:53.2688|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:27:53.2688|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:27:53.2688|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:27:53.2688|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:27:53.2688|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:27:53.2827|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:27:53.2827|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:27:53.2827|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:27:53.2827|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:27:53.3346|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:27:53.3346|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2513.256ms 2026-01-02 14:27:53.3346|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:27:53.3346|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2543.5561ms 200 application/json; charset=utf-8 2026-01-02 14:28:25.9291|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:28:25.9291|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:28:25.9291|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:28:25.9291|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:28:25.9346|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:28:25.9346|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:28:25.9346|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.8545ms 204 2026-01-02 14:28:25.9346|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.7971ms 204 2026-01-02 14:28:25.9346|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.1314ms 204 2026-01-02 14:28:25.9346|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:28:25.9346|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:28:25.9496|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:28:25.9496|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:28:25.9496|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:28:25.9496|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:28:25.9496|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:28:25.9496|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:28:25.9496|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:28:25.9496|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:28:25.9496|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:28:25.9496|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:28:25.9496|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:28:25.9496|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:28:25.9496|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:28:25.9496|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 14:28:25.9496|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:28:25.9662|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:28:25.9662||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 14:28:25.9662|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 14:28:25.9662|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:28:25.9662|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:28:25.9662||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:28:25.9662||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:28:25.9802|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 14:28:25.9802||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:28:25.9802||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:28:25.9802|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:28:25.9802|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.5666ms 2026-01-02 14:28:25.9802|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:28:25.9802|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 43.8423ms 200 application/json; charset=utf-8 2026-01-02 14:28:26.0032||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:28:26.0032||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 14:28:26.0032||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 14:28:26.0118||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:28:26.0118||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:28:26.0118||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 14:28:26.3720||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 14:28:26.3720||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 14:28:26.3720|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:28:26.3720|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 410.8091ms 2026-01-02 14:28:26.3720|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:28:26.3720|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 432.0274ms 200 application/json; charset=utf-8 2026-01-02 14:28:27.3988||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:28:27.3988||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:28:27.4048||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:28:27.4184||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:28:27.4184||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:28:27.4184||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 14:28:27.7945||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:28:27.7945||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:28:27.7945||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:28:27.8129||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:28:27.8129||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:28:27.8129||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 14:28:28.1762||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:28:28.1762||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:28:28.1762||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:28:28.1968||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:28:28.2016||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:28:28.2016||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 14:28:28.5401||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:28:28.5447||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:28:28.5447||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:28:28.5598||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:28:28.5598||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:28:28.5598||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 14:28:28.9012||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:28:28.9039||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:28:28.9039||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:28:28.9180||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:28:28.9180||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:28:28.9180||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 14:28:29.3078||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:28:29.3078||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:28:29.3078||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:28:29.3283||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:28:29.3356|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 14:28:29.3356|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 14:28:29.3356|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:28:29.3356|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:28:29.3356|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:28:29.3507|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:28:29.3507|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:28:29.3507|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:28:29.3507|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:28:29.3507|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:28:29.3687|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:28:29.3687|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:28:29.3687|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:28:29.3687|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:28:29.4141|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:28:29.4141|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3450.7736ms 2026-01-02 14:28:29.4141|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:28:29.4141|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3470.7298ms 200 application/json; charset=utf-8 2026-01-02 14:29:36.1609|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2026-01-02 14:29:36.1609|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:29:36.1609|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.5931ms 204 2026-01-02 14:29:36.1762|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2026-01-02 14:29:36.1762|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:29:36.1762|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:29:36.1762|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:29:36.1762|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 14:29:36.1875|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:29:36.1875|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:29:36.1875|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 14:29:36.1875|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:29:36.1875|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 8.1009ms 2026-01-02 14:29:36.1875|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 14:29:36.1875|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.2266ms 200 application/json; charset=utf-8 2026-01-02 14:29:36.2054|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:29:36.2054|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:29:36.2054|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:29:36.2054|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:29:36.2054|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:29:36.2054|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:29:36.2054|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.4499ms 204 2026-01-02 14:29:36.2054|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.1984ms 204 2026-01-02 14:29:36.2054|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.3595ms 204 2026-01-02 14:29:36.2214|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:29:36.2214|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:29:36.2214|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:29:36.2214|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:29:36.2214|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:29:36.2214|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:29:36.2214|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:29:36.2214|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:29:36.2214|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:29:36.2214|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:29:36.2214|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:29:36.2214|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:29:36.2346|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:29:36.2346|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:29:36.2346|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:29:36.2346|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:29:36.2346|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:29:36.2346|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 14:29:36.2346|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 14:29:36.2346|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:29:36.2346|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:29:36.2346||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 14:29:36.2346||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:29:36.2346|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 14:29:36.2494||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:29:36.2346||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:29:36.2494|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:29:36.2494||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:29:36.2494|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 12.0982ms 2026-01-02 14:29:36.2494|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:29:36.2494|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 34.1413ms 200 application/json; charset=utf-8 2026-01-02 14:29:36.2690||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:29:36.2690||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:29:36.2690||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:29:36.2690||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 14:29:36.2690||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 14:29:36.2690||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 14:29:36.6264||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:29:36.6264||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:29:36.6264||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:29:36.6452||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:29:36.6452||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:29:36.6452||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 14:29:36.9902||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:29:36.9902||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:29:36.9902||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:29:37.0069||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:29:37.0069||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:29:37.0069||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 14:29:37.3622||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:29:37.3622||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:29:37.3622||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:29:37.3857||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:29:37.3857||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:29:37.3919||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 14:29:37.6657||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 14:29:37.6711||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 14:29:37.6711|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:29:37.6711|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1432.9211ms 2026-01-02 14:29:37.6711|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:29:37.6711|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1454.1922ms 200 application/json; charset=utf-8 2026-01-02 14:29:37.7119||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:29:37.7119||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:29:37.7185||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:29:37.7185||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:29:37.7335||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:29:37.7335||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 14:29:38.1535||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:29:38.1583||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:29:38.1583||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:29:38.1734||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:29:38.1734||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:29:38.1734||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 14:29:38.5041||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:29:38.5041||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:29:38.5041||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:29:38.5243||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:29:38.5302|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 14:29:38.5302|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 14:29:38.5302|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:29:38.5302|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:29:38.5302|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:29:38.5505|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:29:38.5505|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:29:38.5505|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:29:38.5505|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:29:38.5644|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:29:38.5644|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:29:38.5644|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:29:38.5644|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:29:38.5794|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:29:38.6158|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:29:38.6158|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2381.7138ms 2026-01-02 14:29:38.6158|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:29:38.6158|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2399.3905ms 200 application/json; charset=utf-8 2026-01-02 14:31:04.9715|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:31:04.9715|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:31:04.9715|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:31:04.9739|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:31:04.9739|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:31:04.9739|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:31:04.9739|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.901ms 204 2026-01-02 14:31:04.9739|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.1072ms 204 2026-01-02 14:31:04.9739|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.0548ms 204 2026-01-02 14:31:04.9739|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:31:04.9739|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:31:04.9739|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:31:04.9877|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:31:04.9877|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:31:04.9877|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:31:04.9877|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:31:04.9877|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:31:04.9877|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:31:04.9877|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:31:04.9877|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:31:04.9877|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:31:04.9877|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:31:04.9877|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:31:05.0046|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:31:05.0046|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 14:31:05.0046|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 14:31:05.0046|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:31:05.0046||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 14:31:05.0046|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:31:05.0046|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:31:05.0046|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 14:31:05.0046||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:31:05.0197|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:31:05.0197|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:31:05.0197|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.5281ms 2026-01-02 14:31:05.0197||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:31:05.0197||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:31:05.0197|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:31:05.0197|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.8371ms 200 application/json; charset=utf-8 2026-01-02 14:31:05.0197||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:31:05.0454||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:31:05.0454||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:31:05.0508||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 14:31:05.0508||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:31:05.0508||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 14:31:05.0508||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 14:31:05.4113||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 14:31:05.4113||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 14:31:05.4113|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:31:05.4113|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 408.1658ms 2026-01-02 14:31:05.4113|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:31:05.4113|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 435.9121ms 200 application/json; charset=utf-8 2026-01-02 14:31:06.4632||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:31:06.4632||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:31:06.4632||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:31:06.4835||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:31:06.4835||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:31:06.4910||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 14:31:06.8175||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:31:06.8175||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:31:06.8175||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:31:06.8426||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:31:06.8475||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:31:06.8475||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 14:31:07.1967||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:31:07.1967||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:31:07.1967||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:31:07.2186||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:31:07.2224||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:31:07.2224||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 14:31:07.5645||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:31:07.5683||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:31:07.5683||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:31:07.5854||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:31:07.5854||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:31:07.5854||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 14:31:07.9825||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:31:07.9825||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:31:07.9900||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:31:07.9900||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:31:08.0064||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:31:08.0064||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 14:31:08.3436||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:31:08.3487||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:31:08.3487||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:31:08.3675||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:31:08.3675|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 14:31:08.3826|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 14:31:08.3826|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:31:08.3826|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:31:08.3826|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:31:08.3976|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:31:08.3976|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:31:08.3976|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:31:08.3976|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:31:08.4120|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:31:08.4120|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:31:08.4120|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:31:08.4120|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:31:08.4120|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:31:08.4610|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:31:08.4610|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3451.556ms 2026-01-02 14:31:08.4610|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:31:08.4610|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3483.2402ms 200 application/json; charset=utf-8 2026-01-02 14:31:14.7553|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:31:14.7553|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:31:14.7553|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:31:14.7553|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:31:14.7553|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:31:14.7553|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:31:14.7553|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.3559ms 204 2026-01-02 14:31:14.7553|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.3326ms 204 2026-01-02 14:31:14.7553|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.743ms 204 2026-01-02 14:31:14.7553|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:31:14.7690|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:31:14.7690|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:31:14.7690|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:31:14.7690|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:31:14.7690|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:31:14.7690|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:31:14.7690|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:31:14.7690|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:31:14.7690|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:31:14.7690|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:31:14.7690|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:31:14.7690|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:31:14.7690|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:31:14.7847|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:31:14.7847|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 14:31:14.7847|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:31:14.7847|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 14:31:14.7847|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:31:14.7847|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:31:14.7847||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 14:31:14.7847|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 14:31:14.8013|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:31:14.8013||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:31:14.8013|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 14.1732ms 2026-01-02 14:31:14.8013||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:31:14.8013|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:31:14.8013|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.8713ms 200 application/json; charset=utf-8 2026-01-02 14:31:14.8216|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (28ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:31:14.8216||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:31:14.8216||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:31:14.8216||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 14:31:14.8316||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:31:14.8316||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 14:31:14.8508||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:31:14.8508||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:31:14.8508||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 14:31:15.1956||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 14:31:15.1956||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 14:31:15.1956|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:31:15.1956|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 414.4949ms 2026-01-02 14:31:15.2072|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:31:15.2072|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 438.5203ms 200 application/json; charset=utf-8 2026-01-02 14:31:16.2452||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:31:16.2452||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:31:16.2553||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:31:16.2707||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:31:16.2707||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:31:16.2707||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 14:31:16.6182||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:31:16.6182||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:31:16.6182||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:31:16.6412||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:31:16.6463||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:31:16.6463||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 14:31:16.9711||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:31:16.9752||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:31:16.9752||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:31:16.9883||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:31:16.9883||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:31:16.9883||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 14:31:17.3366||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:31:17.3366||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:31:17.3366||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:31:17.3539||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:31:17.3539||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:31:17.3539||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 14:31:17.7207||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:31:17.7230||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:31:17.7230||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:31:17.7230||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:31:17.7396||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:31:17.7396||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 14:31:18.0590||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:31:18.0590||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:31:18.0590||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:31:18.0754||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:31:18.0823|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 14:31:18.0823|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 14:31:18.0823|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:31:18.0823|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:31:18.0823|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:31:18.0823|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:31:18.1002|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:31:18.1002|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:31:18.1002|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:31:18.1002|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:31:18.1002|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:31:18.1135|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:31:18.1135|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:31:18.1135|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:31:18.1513|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:31:18.1513|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3363.7127ms 2026-01-02 14:31:18.1513|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:31:18.1513|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3386.3241ms 200 application/json; charset=utf-8 2026-01-02 14:31:35.0729|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:31:35.0729|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:31:35.0729|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:31:35.0729|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:31:35.0788|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:31:35.0788|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:31:35.0788|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.8663ms 204 2026-01-02 14:31:35.0788|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.675ms 204 2026-01-02 14:31:35.0788|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.7102ms 204 2026-01-02 14:31:35.0788|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:31:35.0788|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:31:35.0788|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:31:35.0788|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:31:35.0788|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:31:35.0954|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:31:35.0954|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:31:35.0954|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:31:35.0954|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:31:35.0954|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:31:35.0954|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:31:35.0954|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:31:35.0954|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:31:35.0954|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:31:35.0954|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:31:35.0954|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:31:35.1098|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:31:35.1098|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 14:31:35.1098|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 14:31:35.1098||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 14:31:35.1098|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:31:35.1098|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 14:31:35.1098||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:31:35.1098|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:31:35.1276|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 9.0543ms 2026-01-02 14:31:35.1276||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:31:35.1276|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:31:35.1276|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.1905ms 200 application/json; charset=utf-8 2026-01-02 14:31:35.1462|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (30ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:31:35.1462||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:31:35.1462||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:31:35.1462||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 14:31:35.1462||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:31:35.1560||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 14:31:35.1731||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:31:35.1731||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:31:35.1731||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 14:31:35.5045||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 14:31:35.5045||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 14:31:35.5045|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:31:35.5045|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 396.1775ms 2026-01-02 14:31:35.5045|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:31:35.5155|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 425.7561ms 200 application/json; charset=utf-8 2026-01-02 14:31:36.5257||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:31:36.5257||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:31:36.5340||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:31:36.5340||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:31:36.5499||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:31:36.5499||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 14:31:36.9294||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:31:36.9294||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:31:36.9294||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:31:36.9497||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:31:36.9546||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:31:36.9546||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 14:31:37.3289||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:31:37.3289||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:31:37.3289||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:31:37.3514||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:31:37.3514||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:31:37.3604||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 14:31:37.6891|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 14:31:37.6891|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 14:31:37.6891|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:31:37.6891|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:31:37.6891|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.2035ms 204 2026-01-02 14:31:37.6891|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.6645ms 204 2026-01-02 14:31:37.6891|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 14:31:37.7036|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 14:31:37.7036|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:31:37.7036|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:31:37.7036|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:31:37.7036|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:31:37.7194|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:31:37.7194|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 14:31:37.7194|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:31:37.7194|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 14:31:37.7194|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 14:31:37.7343|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:31:37.7343|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 14:31:37.7343|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:31:37.7343|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 14:31:37.7343|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:31:37.7343||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:31:37.7343|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 8.8162ms 2026-01-02 14:31:37.7343|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (11ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 14:31:37.7516||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:31:37.7516|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 14:31:37.7516||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:31:37.7516|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 52.2332ms 200 application/json; charset=utf-8 2026-01-02 14:31:37.7516|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:31:37.7516|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 28.104ms 2026-01-02 14:31:37.7516|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 14:31:37.7516|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 62.4865ms 200 application/json; charset=utf-8 2026-01-02 14:31:37.7516||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:31:37.7670||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:31:37.7670||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 14:31:38.1412||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:31:38.1412||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:31:38.1412||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:31:38.1609||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:31:38.1609||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:31:38.1609||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 14:31:38.5206||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:31:38.5206||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:31:38.5206||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:31:38.5407||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:31:38.5476|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 14:31:38.5476|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 14:31:38.5476|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:31:38.5625|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:31:38.5625|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:31:38.5625|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:31:38.5625|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:31:38.5793|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:31:38.5793|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:31:38.5793|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:31:38.5793|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:31:38.5948|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:31:38.5948|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:31:38.5948|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:31:38.6514|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:31:38.6514|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3544.3794ms 2026-01-02 14:31:38.6514|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:31:38.6566|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3570.6294ms 200 application/json; charset=utf-8 2026-01-02 14:32:03.7523|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:32:03.7523|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:32:03.7523|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:32:03.7523|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:32:03.7523|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:32:03.7614|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:32:03.7614|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.2869ms 204 2026-01-02 14:32:03.7614|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.8414ms 204 2026-01-02 14:32:03.7614|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.5067ms 204 2026-01-02 14:32:03.7614|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:32:03.7614|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:32:03.7614|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:32:03.7614|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:32:03.7771|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:32:03.7771|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:32:03.7771|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:32:03.7771|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:32:03.7771|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:32:03.7771|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:32:03.7771|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:32:03.7771|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:32:03.7771|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:32:03.7771|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:32:03.7771|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:32:03.7771|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 14:32:03.7771|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 14:32:03.7771|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:32:03.7771||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 14:32:03.7933|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:32:03.7933|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:32:03.7933||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:32:03.7933|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:32:03.7933|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 14:32:03.7933||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:32:03.7933||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:32:03.7933|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:32:03.8093|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.5809ms 2026-01-02 14:32:03.8093||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:32:03.8093|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:32:03.8093|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.7845ms 200 application/json; charset=utf-8 2026-01-02 14:32:03.8262||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:32:03.8262||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:32:03.8262||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 14:32:03.8262||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:32:03.8262||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 14:32:03.8262||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 14:32:04.1909||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 14:32:04.1909||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 14:32:04.1986|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:32:04.1986|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 408.6845ms 2026-01-02 14:32:04.1986|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:32:04.1986|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 432.2304ms 200 application/json; charset=utf-8 2026-01-02 14:32:05.2493||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:32:05.2493||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:32:05.2493||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:32:05.2716||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:32:05.2716||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:32:05.2788||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 14:32:05.6304||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:32:05.6304||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:32:05.6388||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:32:05.6518||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:32:05.6518||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:32:05.6518||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 14:32:06.0144||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:32:06.0144||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:32:06.0144||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:32:06.0364||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:32:06.0364||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:32:06.0429||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 14:32:06.3835||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:32:06.3835||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:32:06.3904||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:32:06.3904||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:32:06.4066||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:32:06.4066||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 14:32:06.7634||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:32:06.7685||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:32:06.7685||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:32:06.7875||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:32:06.7875||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:32:06.7875||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 14:32:07.1312||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:32:07.1312||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:32:07.1391||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:32:07.1391||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:32:07.1592|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 14:32:07.1987|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (35ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 14:32:07.2041|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:32:07.2041|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:32:07.2041|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:32:07.2041|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:32:07.2181|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:32:07.2181|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:32:07.2181|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:32:07.2181|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:32:07.2344|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:32:07.2344|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:32:07.2344|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:32:07.2344|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:32:07.2907|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:32:07.2907|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3498.2369ms 2026-01-02 14:32:07.2907|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:32:07.2952|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3521.4093ms 200 application/json; charset=utf-8 2026-01-02 14:32:12.5378|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:32:12.5378|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:32:12.5378|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:32:12.5378|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:32:12.5378|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:32:12.5378|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:32:12.5452|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.4488ms 204 2026-01-02 14:32:12.5452|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.6152ms 204 2026-01-02 14:32:12.5452|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.4604ms 204 2026-01-02 14:32:12.5452|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:32:12.5452|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:32:12.5452|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:32:12.5452|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:32:12.5452|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:32:12.5452|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:32:12.5613|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:32:12.5613|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:32:12.5613|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:32:12.5613|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:32:12.5613|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:32:12.5613|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:32:12.5613|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:32:12.5613|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:32:12.5613|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:32:12.5613|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 14:32:12.5613|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 14:32:12.5766|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:32:12.5766|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:32:12.5766||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 14:32:12.5766|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:32:12.5766|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 14:32:12.5766|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:32:12.5766||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:32:12.5766|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:32:12.5928||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:32:12.5928||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:32:12.5928|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.446ms 2026-01-02 14:32:12.5928||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:32:12.5928|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:32:12.5928|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 49.5319ms 200 application/json; charset=utf-8 2026-01-02 14:32:12.6149||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:32:12.6149||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:32:12.6149||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:32:12.6149||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 14:32:12.6250||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 14:32:12.6250||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 14:32:13.0205||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 14:32:13.0205||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 14:32:13.0205|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:32:13.0309|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 451.2317ms 2026-01-02 14:32:13.0309|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:32:13.0309|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 483.4754ms 200 application/json; charset=utf-8 2026-01-02 14:32:14.0219||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:32:14.0219||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:32:14.0296||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:32:14.0296||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:32:14.0457||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:32:14.0457||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 14:32:14.0850|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 14:32:14.0850|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 14:32:14.0850|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:32:14.0850|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:32:14.0850|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.7485ms 204 2026-01-02 14:32:14.0939|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.8021ms 204 2026-01-02 14:32:14.0939|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 14:32:14.0939|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 14:32:14.0939|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:32:14.0939|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:32:14.0939|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:32:14.0939|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:32:14.0939|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:32:14.0939|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:32:14.0939|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 14:32:14.1085|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 14:32:14.0939|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 14:32:14.1085|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:32:14.1085|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 14:32:14.1085|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:32:14.1085|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 14:32:14.1085|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:32:14.1085|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 8.7617ms 2026-01-02 14:32:14.1085|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 14:32:14.1085|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.0176ms 200 application/json; charset=utf-8 2026-01-02 14:32:14.1401|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (24ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 14:32:14.1549|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:32:14.1549|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 43.2579ms 2026-01-02 14:32:14.1549|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 14:32:14.1549|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 62.9273ms 200 application/json; charset=utf-8 2026-01-02 14:32:14.4125||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:32:14.4125||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:32:14.4125||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:32:14.4333||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:32:14.4369||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:32:14.4369||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 14:32:14.8253||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:32:14.8288||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:32:14.8288||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:32:14.8463||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:32:14.8463||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:32:14.8463||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 14:32:15.2091||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:32:15.2091||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:32:15.2091||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:32:15.2259||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:32:15.2259||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:32:15.2259||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 14:32:15.5662||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:32:15.5662||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:32:15.5662||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:32:15.5832||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:32:15.5832||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:32:15.5832||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 14:32:15.9233||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:32:15.9233||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:32:15.9233||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:32:15.9408||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:32:15.9408|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 14:32:15.9530|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 14:32:15.9530|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:32:15.9530|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:32:15.9530|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:32:15.9530|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:32:15.9530|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:32:15.9699|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:32:15.9699|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:32:15.9699|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:32:15.9699|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:32:15.9699|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:32:15.9859|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:32:15.9859|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:32:16.0271|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:32:16.0271|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3448.6562ms 2026-01-02 14:32:16.0318|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:32:16.0318|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3480.4223ms 200 application/json; charset=utf-8 2026-01-02 14:33:32.7499|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:33:32.7499|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:33:32.7499|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:33:32.7499|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:33:32.7499|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:33:32.7499|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:33:32.7606|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.6984ms 204 2026-01-02 14:33:32.7606|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.6978ms 204 2026-01-02 14:33:32.7606|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.6618ms 204 2026-01-02 14:33:32.7606|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:33:32.7606|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:33:32.7606|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:33:32.7606|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:33:32.7606|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:33:32.7751|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:33:32.7751|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:33:32.7751|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:33:32.7606|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:33:32.7751|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:33:32.7751|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:33:32.7751|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:33:32.7751|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 14:33:32.7751|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:33:32.7751|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:33:32.7905|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:33:32.7905|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:33:32.7905|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:33:32.7905|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:33:32.7905|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 14:33:32.7905|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 14:33:32.7905||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 14:33:32.7905|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:33:32.7905|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:33:32.7905||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:33:32.7905|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.6423ms 2026-01-02 14:33:32.7905||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:33:32.8075|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:33:32.8075||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:33:32.8075|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 43.6395ms 200 application/json; charset=utf-8 2026-01-02 14:33:32.8075||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:33:32.8267||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:33:32.8267||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 14:33:32.8267||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:33:32.8267||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 14:33:32.8267||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:33:32.8267||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 14:33:33.2271||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 14:33:33.2301||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 14:33:33.2301|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:33:33.2301|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 434.4092ms 2026-01-02 14:33:33.2301|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:33:33.2301|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 468.5454ms 200 application/json; charset=utf-8 2026-01-02 14:33:34.2493||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:33:34.2493||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:33:34.2493||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:33:34.2691||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:33:34.2691||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:33:34.2754||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 14:33:34.6313||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:33:34.6354||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:33:34.6354||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:33:34.6518||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:33:34.6518||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:33:34.6518||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 14:33:35.0580||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:33:35.0580||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:33:35.0580||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:33:35.0773||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:33:35.0773||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:33:35.0773||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 14:33:35.4578||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:33:35.4631||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:33:35.4631||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:33:35.4806||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:33:35.4806||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:33:35.4806||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 14:33:35.8506||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:33:35.8565||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:33:35.8565||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:33:35.8748||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:33:35.8748||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:33:35.8748||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 14:33:36.2223||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:33:36.2223||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:33:36.2306||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:33:36.2453||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:33:36.2453|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 14:33:36.2605|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 14:33:36.2605|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:33:36.2605|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:33:36.2605|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:33:36.2605|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:33:36.2769|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:33:36.2769|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:33:36.2769|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:33:36.2769|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:33:36.2769|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:33:36.2769|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:33:36.2926|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:33:36.2926|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:33:36.3387|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:33:36.3387|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3545.4475ms 2026-01-02 14:33:36.3387|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:33:36.3387|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3577.8429ms 200 application/json; charset=utf-8 2026-01-02 14:34:45.5846|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetBanksByCorporate 2026-01-02 14:34:45.5846|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:34:45.5846|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.3016ms 204 2026-01-02 14:34:45.6203|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetBanksByCorporate 2026-01-02 14:34:45.6203|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 14:34:45.6269|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 14:34:45.6269|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:34:45.6269|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 14:34:45.6269|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 14:34:45.6269|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.9922ms 401 2026-01-02 14:34:53.6034|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=493 2026-01-02 14:34:53.6034|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:34:53.6034|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.9859ms 204 2026-01-02 14:34:53.6034|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetBanksByCorporate 2026-01-02 14:34:53.6034|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:34:53.6034|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:34:53.6131|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:34:53.6131|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3.8689ms 204 2026-01-02 14:34:53.6131|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.158ms 204 2026-01-02 14:34:53.6131|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=493 2026-01-02 14:34:53.6131|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:34:53.6131|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:34:53.6131|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetBanksByCorporate 2026-01-02 14:34:53.6131|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:34:53.6131|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:34:53.6131|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:34:53.6131|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 14:34:53.6285|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:34:53.6285|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:34:53.6285|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:34:53.6285|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:34:53.6285|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:34:53.6285|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:34:53.6285|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:34:53.6285|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetBankForCorporateAsync (AccountManagement)' 2026-01-02 14:34:53.6285|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:34:53.6285|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 14:34:53.6285|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:34:53.6436|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:34:53.6436|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:34:53.6436|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 10.3192ms 2026-01-02 14:34:53.6436|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetBankForCorporate", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetBankForCorporateAsync() on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 14:34:53.6436|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 14:34:53.6436|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:34:53.6436|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:34:53.6436|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.8339ms 200 application/json; charset=utf-8 2026-01-02 14:34:53.6436||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:34:53.6436||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:34:53.6713|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:34:53.6751||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:34:53.6751|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetBankForCorporateAsync (AccountManagement) in 26.7176ms 2026-01-02 14:34:53.6751||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:34:53.6751|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetBankForCorporateAsync (AccountManagement)' 2026-01-02 14:34:53.6751|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 58.6993ms 200 application/json; charset=utf-8 2026-01-02 14:34:53.6751||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 14:34:54.0465||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:34:54.0507||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:34:54.0507||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:34:54.0656||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:34:54.0656||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:34:54.0656||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 14:34:54.4507||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:34:54.4507||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:34:54.4583||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:34:54.4583||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:34:54.4714||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:34:54.4714||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 14:34:54.8058||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:34:54.8058||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:34:54.8058||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:34:54.8246||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:34:54.8246||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:34:54.8312||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 14:34:55.1734||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:34:55.1766||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:34:55.1766||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:34:55.1942||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:34:55.1942||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:34:55.1942||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 14:34:55.5590||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:34:55.5590||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:34:55.5667||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:34:55.5809||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:34:55.5809||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:34:55.5809||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 14:34:55.9342||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:34:55.9342||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:34:55.9342||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:34:55.9518||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:34:55.9588|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 14:34:55.9588|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 14:34:55.9588|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:34:55.9588|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:34:55.9730|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:34:55.9730|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:34:55.9730|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:34:55.9730|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:34:55.9730|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:34:55.9730|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:34:55.9730|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:34:55.9903|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:34:55.9903|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:34:55.9903|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:34:56.0336|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:34:56.0353|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2391.0213ms 2026-01-02 14:34:56.0353|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:34:56.0353|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2413.428ms 200 application/json; charset=utf-8 2026-01-02 14:34:57.2073|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:34:57.2073|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:34:57.2073|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:34:57.2073|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:34:57.2073|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:34:57.2073|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:34:57.2073|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:34:57.2218|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:34:57.2218|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.2288ms 204 2026-01-02 14:34:57.2218|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.0171ms 204 2026-01-02 14:34:57.2218|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:34:57.2384|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:34:57.2384|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:34:57.2384|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:34:57.2384|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:34:57.2384|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:34:57.2384|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:34:57.2537|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:34:57.2537|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:34:57.2537|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:34:57.2537|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:34:57.2692|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:34:57.2692|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:34:57.2692|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 14:34:57.2692|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 14:34:57.2692||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 14:34:57.2841|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:34:57.2841||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:34:57.2841|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 14:34:57.2841|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (31ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:34:57.2841||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:34:57.2841|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:34:57.3014||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:34:57.3014|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 19.4276ms 2026-01-02 14:34:57.3014||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:34:57.3014|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:34:57.3014|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 66.7154ms 200 application/json; charset=utf-8 2026-01-02 14:34:57.3164||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:34:57.3164||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 14:34:57.3164||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 14:34:57.3164||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:34:57.3164||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:34:57.3164||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 14:34:57.6820||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:34:57.6820||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:34:57.6820||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:34:57.6973||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:34:57.6973||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:34:57.6973||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 14:34:58.0418||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:34:58.0418||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:34:58.0418||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:34:58.0602||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:34:58.0602||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:34:58.0682||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 14:34:58.3994||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:34:58.3994||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:34:58.3994||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:34:58.4201||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:34:58.4201||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:34:58.4261||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 14:34:58.7056||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 14:34:58.7108||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 14:34:58.7108|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:34:58.7108|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1436.898ms 2026-01-02 14:34:58.7108|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:34:58.7108|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1482.8438ms 200 application/json; charset=utf-8 2026-01-02 14:34:58.7692||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:34:58.7692||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:34:58.7692||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:34:58.7884||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:34:58.7884||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:34:58.7884||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 14:34:59.1303||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:34:59.1303||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:34:59.1303||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:34:59.1478||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:34:59.1478||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:34:59.1478||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 14:34:59.5475||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:34:59.5517||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:34:59.5517||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:34:59.5657||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:34:59.5657|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 14:34:59.5657|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 14:34:59.5821|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:34:59.5821|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:34:59.5821|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:34:59.5821|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:34:59.5988|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:34:59.5988|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:34:59.5988|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:34:59.5988|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:34:59.6137|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:34:59.6137|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:34:59.6137|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:34:59.6137|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:34:59.6669|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:34:59.6669|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2419.7702ms 2026-01-02 14:34:59.6669|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:34:59.6752|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2467.9679ms 200 application/json; charset=utf-8 2026-01-02 14:35:00.8564|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/List 2026-01-02 14:35:00.8564|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:35:00.8564|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.6836ms 204 2026-01-02 14:35:00.8692|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/List 2026-01-02 14:35:00.8692|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:35:00.8692|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:35:00.8692|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:35:00.8692|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchAllWaysMeans (AccountManagement)' 2026-01-02 14:35:00.8802|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchAllWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchAllWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 14:35:00.8802|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:35:00.9011|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [w].[Amount], [w].[Year], CASE WHEN [w].[IsActive] = CAST(1 AS bit) THEN N'Active' ELSE N'Inactive' END AS [Status], [w].[Comment] FROM [WaysMeans] AS [w] 2026-01-02 14:35:00.9011|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Collections.Generic.List`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:35:00.9011|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchAllWaysMeans (AccountManagement) in 25.7911ms 2026-01-02 14:35:00.9011|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchAllWaysMeans (AccountManagement)' 2026-01-02 14:35:00.9099|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.6874ms 200 application/json; charset=utf-8 2026-01-02 14:35:39.4305|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/List 2026-01-02 14:35:39.4305|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:35:39.4365|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.0575ms 204 2026-01-02 14:35:39.4365|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/List 2026-01-02 14:35:39.4365|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:35:39.4365|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:35:39.4365|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:35:39.4519|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchAllWaysMeans (AccountManagement)' 2026-01-02 14:35:39.4519|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchAllWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchAllWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 14:35:39.4519|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:35:39.4519|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [w].[Amount], [w].[Year], CASE WHEN [w].[IsActive] = CAST(1 AS bit) THEN N'Active' ELSE N'Inactive' END AS [Status], [w].[Comment] FROM [WaysMeans] AS [w] 2026-01-02 14:35:39.4519|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Collections.Generic.List`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:35:39.4519|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchAllWaysMeans (AccountManagement) in 8.3113ms 2026-01-02 14:35:39.4519|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchAllWaysMeans (AccountManagement)' 2026-01-02 14:35:39.4678|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.611ms 200 application/json; charset=utf-8 2026-01-02 14:39:26.2395|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=518 2026-01-02 14:39:26.2395|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:39:26.2395|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.0703ms 204 2026-01-02 14:39:26.2395|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=518 2026-01-02 14:39:26.2515|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:39:26.2515|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:39:26.2515|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:39:26.2515|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 14:39:26.2515|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:39:26.2515|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:39:26.2515|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 14:39:26.2673|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:39:26.2673|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 10.0269ms 2026-01-02 14:39:26.2673|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 14:39:26.2673|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.7328ms 200 application/json; charset=utf-8 2026-01-02 14:39:26.2948|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:39:26.2948|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:39:26.2948|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:39:26.2948|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:39:26.2992|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:39:26.2992|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:39:26.2992|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.364ms 204 2026-01-02 14:39:26.2992|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.5103ms 204 2026-01-02 14:39:26.2992|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.0454ms 204 2026-01-02 14:39:26.3158|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:39:26.3158|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:39:26.3158|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:39:26.3158|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:39:26.3158|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:39:26.3158|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:39:26.3158|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:39:26.3158|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:39:26.3158|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:39:26.3158|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:39:26.3305|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:39:26.3305|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:39:26.3305|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:39:26.3305|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:39:26.3305|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:39:26.3305|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 14:39:26.3305|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:39:26.3305|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 14:39:26.3305|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:39:26.3305|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:39:26.3450||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 14:39:26.3450|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 14:39:26.3450|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:39:26.3450||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:39:26.3450|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.4891ms 2026-01-02 14:39:26.3625|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:39:26.3625||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:39:26.3625|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 49.9907ms 200 application/json; charset=utf-8 2026-01-02 14:39:26.3798|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (32ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:39:26.3798||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:39:26.3798||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:39:26.3929||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:39:26.3929||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 14:39:26.3929||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 14:39:26.4113||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:39:26.4113||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:39:26.4226||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 14:39:26.7560||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 14:39:26.7560||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 14:39:26.7560|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:39:26.7560|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 418.4243ms 2026-01-02 14:39:26.7560|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:39:26.7560|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 449.1229ms 200 application/json; charset=utf-8 2026-01-02 14:39:27.8135||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:39:27.8135||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:39:27.8135||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:39:27.8335||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:39:27.8335||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:39:27.8335||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 14:39:28.1772||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:39:28.1772||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:39:28.1772||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:39:28.1944||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:39:28.1944||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:39:28.1944||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 14:39:28.5369||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:39:28.5369||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:39:28.5369||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:39:28.5526||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:39:28.5526||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:39:28.5526||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 14:39:28.9181||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:39:28.9181||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:39:28.9236||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:39:28.9236||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:39:28.9400||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:39:28.9400||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 14:39:29.2722||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:39:29.2722||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:39:29.2722||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:39:29.2881||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:39:29.2881||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:39:29.2881||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 14:39:29.6344||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:39:29.6344||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:39:29.6344||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:39:29.6519||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:39:29.6594|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 14:39:29.6594|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 14:39:29.6594|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:39:29.6594|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:39:29.6594|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:39:29.6736|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:39:29.6736|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:39:29.6736|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:39:29.6736|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:39:29.6736|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:39:29.6736|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:39:29.6736|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:39:29.6886|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:39:29.6886|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:39:29.7324|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:39:29.7324|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3391.296ms 2026-01-02 14:39:29.7369|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:39:29.7369|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3422.5037ms 200 application/json; charset=utf-8 2026-01-02 14:39:56.1596|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 14:39:56.1596|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:39:56.1596|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:39:56.1596|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 14:39:56.1596|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:39:56.1596|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:39:56.1682|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 14:39:56.1682|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:39:56.1682|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 4.9667ms 2026-01-02 14:39:56.1682|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 14:39:56.1682|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.1135ms 200 application/json; charset=utf-8 2026-01-02 14:40:02.4200|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 14:40:02.4200|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:40:02.4200|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:40:02.4200|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 14:40:02.4200|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:40:02.4200|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:40:02.4200|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 14:40:02.4200|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:40:02.4343|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 6.3ms 2026-01-02 14:40:02.4343|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 14:40:02.4343|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.8669ms 200 application/json; charset=utf-8 2026-01-02 14:40:03.8899|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 14:40:03.8899|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:40:03.8899|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:40:03.8899|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 14:40:03.8899|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:40:03.8899|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:40:03.9032|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 14:40:03.9032|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:40:03.9032|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 8.3449ms 2026-01-02 14:40:03.9032|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 14:40:03.9032|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 20.4541ms 200 application/json; charset=utf-8 2026-01-02 14:40:47.6283|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:40:47.6283|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:40:47.6283|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:40:47.6283|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:40:47.6283|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:40:47.6283|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:40:47.6283|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.198ms 204 2026-01-02 14:40:47.6283|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.1585ms 204 2026-01-02 14:40:47.6379|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.3004ms 204 2026-01-02 14:40:47.6379|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:40:47.6379|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:40:47.6379|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:40:47.6379|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 14:40:47.6379|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 14:40:47.6379|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 14:40:47.6379|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 14:40:47.6379|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 14:40:47.6530|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 14:40:47.6530|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:40:47.6530|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:40:47.6530|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:40:47.6530|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 14:40:47.6530|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 14:40:47.6530|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 14:40:47.6530|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 14:40:47.6530|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 14:40:47.6530|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 14:40:47.6530|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.0869ms 401 2026-01-02 14:40:47.6530|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.6136ms 401 2026-01-02 14:40:47.6530|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.1125ms 401 2026-01-02 14:40:47.7680|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:40:47.7680|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:40:47.7680|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:40:47.7680|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:40:47.7680|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:40:47.7680|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:40:47.7680|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:40:47.7680|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:40:47.7775|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:40:47.7775|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:40:47.7775|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:40:47.7775|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:40:47.7775|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:40:47.7775||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:40:47.7775|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 14:40:47.7775|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:40:47.7775||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 14:40:47.7775||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:40:47.7775|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:40:47.7775||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:40:47.7775|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:40:47.7936||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:40:47.7936|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:40:47.7936|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:40:47.7936|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 14:40:47.7936|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:40:47.7936|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 14:40:47.7936||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:40:47.7936|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:40:47.7936||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:40:47.7936|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 6.1621ms 2026-01-02 14:40:47.7936||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:40:47.7936||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 14:40:47.7936|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:40:47.7936||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 14:40:47.8094|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.3388ms 200 application/json; charset=utf-8 2026-01-02 14:40:47.8094||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 14:40:48.1467||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:40:48.1467||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:40:48.1559||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:40:48.1559||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:40:48.1699||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:40:48.1699||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 14:40:48.5150||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:40:48.5150||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:40:48.5150||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:40:48.5302||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:40:48.5302||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:40:48.5302||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 14:40:48.8678||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:40:48.8678||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:40:48.8722||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:40:48.8722||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:40:48.8722||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:40:48.8722||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 14:40:49.1651||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 14:40:49.1686||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 14:40:49.1686|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:40:49.1686|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1390.328ms 2026-01-02 14:40:49.1686|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:40:49.1686|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1402.9191ms 200 application/json; charset=utf-8 2026-01-02 14:40:49.2323||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:40:49.2323||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:40:49.2323||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:40:49.2469||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:40:49.2469||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:40:49.2469||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 14:40:49.5818||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:40:49.5818||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:40:49.5818||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:40:49.5989||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:40:49.5989||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:40:49.5989||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 14:40:49.9800||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:40:49.9843||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:40:49.9843||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:40:49.9994||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:40:49.9994|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 14:40:50.0127|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 14:40:50.0127|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:40:50.0127|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:40:50.0127|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:40:50.0281|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:40:50.0281|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:40:50.0281|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:40:50.0281|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:40:50.0281|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:40:50.0281|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:40:50.0436|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:40:50.0436|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:40:50.0436|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:40:50.0887|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:40:50.0909|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2315.5919ms 2026-01-02 14:40:50.0909|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:40:50.0909|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2326.7754ms 200 application/json; charset=utf-8 2026-01-02 14:47:13.4624|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:47:13.4629|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:47:13.4629|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:47:13.4629|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:47:13.4629|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:47:13.4629|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:47:13.4629|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.739ms 204 2026-01-02 14:47:13.4629|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.6457ms 204 2026-01-02 14:47:13.4629|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.5937ms 204 2026-01-02 14:47:13.4784|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:47:13.4784|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:47:13.4784|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:47:13.4784|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:47:13.4784|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:47:13.4784|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:47:13.4784|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:47:13.4942|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:47:13.4942|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:47:13.4942|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:47:13.4942|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:47:13.4942|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:47:13.4942|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:47:13.4942|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:47:13.4942|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:47:13.4942|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 14:47:13.4942|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 14:47:13.4942|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:47:13.4942|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:47:13.4942||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 14:47:13.5098|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:47:13.5098|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 14:47:13.5098|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:47:13.5098|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.1699ms 2026-01-02 14:47:13.5098||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:47:13.5098|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:47:13.5259||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:47:13.5259|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.2206ms 200 application/json; charset=utf-8 2026-01-02 14:47:13.5259|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:47:13.5259||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:47:13.5259||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:47:13.5471||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:47:13.5471||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 14:47:13.5471||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 14:47:13.5471||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:47:13.5566||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:47:13.5566||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 14:47:13.9801||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 14:47:13.9801||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 14:47:13.9801|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:47:13.9801|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 481.1006ms 2026-01-02 14:47:13.9801|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:47:13.9801|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 510.7452ms 200 application/json; charset=utf-8 2026-01-02 14:47:14.9797||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:47:14.9797||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:47:14.9797||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:47:15.0007||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:47:15.0007||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:47:15.0007||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 14:47:15.3649||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:47:15.3704||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:47:15.3704||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:47:15.3920||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:47:15.3920||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:47:15.3920||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 14:47:15.7259||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:47:15.7315||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:47:15.7315||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:47:15.7498||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:47:15.7498||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:47:15.7498||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 14:47:16.1223||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:47:16.1223||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:47:16.1223||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:47:16.1532||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:47:16.1532||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:47:16.1672||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 14:47:16.5077||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:47:16.5125||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:47:16.5125||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:47:16.5125|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 14:47:16.5125|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 14:47:16.5125|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:47:16.5125||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:47:16.5270|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:47:16.5270|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.3433ms 204 2026-01-02 14:47:16.5270||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:47:16.5270|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.7864ms 204 2026-01-02 14:47:16.5270|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 14:47:16.5270||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 14:47:16.5414|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 14:47:16.5414|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:47:16.5414|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:47:16.5414|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:47:16.5414|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:47:16.5414|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:47:16.5414|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:47:16.5414|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 14:47:16.5573|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 14:47:16.5573|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 14:47:16.5573|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 14:47:16.5573|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:47:16.5573|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:47:16.5573|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 14:47:16.5720|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:47:16.5720|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 7.7458ms 2026-01-02 14:47:16.5720|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 14:47:16.5720|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.7012ms 200 application/json; charset=utf-8 2026-01-02 14:47:16.5720|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 14:47:16.6059|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:47:16.6059|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 40.4263ms 2026-01-02 14:47:16.6059|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 14:47:16.6059|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 67.8752ms 200 application/json; charset=utf-8 2026-01-02 14:47:16.9078||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:47:16.9078||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:47:16.9157||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:47:16.9157||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:47:16.9342|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 14:47:16.9342|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 14:47:16.9342|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:47:16.9342|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:47:16.9493|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:47:16.9493|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:47:16.9493|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:47:16.9493|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:47:16.9649|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:47:16.9649|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:47:16.9649|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:47:16.9649|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:47:16.9791|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:47:16.9791|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:47:17.0360|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:47:17.0360|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3528.9234ms 2026-01-02 14:47:17.0360|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:47:17.0419|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3563.5292ms 200 application/json; charset=utf-8 2026-01-02 14:47:21.2194|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:47:21.2194|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:47:21.2194|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:47:21.2194|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:47:21.2194|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:47:21.2287|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:47:21.2287|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.1134ms 204 2026-01-02 14:47:21.2287|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.5072ms 204 2026-01-02 14:47:21.2287|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.3271ms 204 2026-01-02 14:47:21.2287|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:47:21.2287|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:47:21.2287|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:47:21.2287|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:47:21.2287|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:47:21.2439|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:47:21.2439|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:47:21.2439|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:47:21.2439|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:47:21.2439|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:47:21.2439|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:47:21.2439|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:47:21.2439|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:47:21.2439|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:47:21.2439|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:47:21.2439|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:47:21.2439|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 14:47:21.2439|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 14:47:21.2439|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:47:21.2439|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:47:21.2439||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 14:47:21.2599|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:47:21.2599|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 14:47:21.2599||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:47:21.2599|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:47:21.2599||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:47:21.2599|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 9.6426ms 2026-01-02 14:47:21.2599|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:47:21.2599|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 32.689ms 200 application/json; charset=utf-8 2026-01-02 14:47:21.2599||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:47:21.2752||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:47:21.2752||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:47:21.2752||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 14:47:21.2752||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 14:47:21.2752||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:47:21.2944||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:47:21.2944||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 14:47:21.6152||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:47:21.6204||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:47:21.6204||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:47:21.6382||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:47:21.6382||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:47:21.6382||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 14:47:21.9836||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:47:21.9836||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:47:21.9836||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:47:22.0058||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:47:22.0104||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:47:22.0104||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 14:47:22.3930||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:47:22.3930||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:47:22.3930||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:47:22.4132||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:47:22.4174||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:47:22.4174||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 14:47:22.7310||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 14:47:22.7310||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 14:47:22.7310|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:47:22.7310|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1482.1687ms 2026-01-02 14:47:22.7310|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:47:22.7310|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1503.3155ms 200 application/json; charset=utf-8 2026-01-02 14:47:22.7957||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:47:22.7957||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:47:22.7957||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:47:22.8121||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:47:22.8121||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:47:22.8121||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 14:47:23.1507||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:47:23.1507||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:47:23.1507||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:47:23.1746||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:47:23.1746||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:47:23.1817||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 14:47:23.5011||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:47:23.5011||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:47:23.5011||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:47:23.5191||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:47:23.5261|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 14:47:23.5261|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 14:47:23.5261|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:47:23.5261|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:47:23.5261|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:47:23.5261|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:47:23.5261|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:47:23.5423|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:47:23.5423|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:47:23.5423|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:47:23.5423|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:47:23.5423|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:47:23.5423|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:47:23.5579|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:47:23.5986|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:47:23.5986|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2345.1786ms 2026-01-02 14:47:23.5986|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:47:23.6057|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2369.0429ms 200 application/json; charset=utf-8 2026-01-02 14:47:29.2198|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 14:47:29.2198|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:47:29.2198|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:47:29.2198|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 14:47:29.2198|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:47:29.2198|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:47:29.2198|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 14:47:29.2198|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:47:29.2283|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 4.8668ms 2026-01-02 14:47:29.2283|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 14:47:29.2283|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.3386ms 200 application/json; charset=utf-8 2026-01-02 14:47:40.1882|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:47:40.1882|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:47:40.1882|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:47:40.1882|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:47:40.1882|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:47:40.1882|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:47:40.1882|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.4372ms 204 2026-01-02 14:47:40.1882|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.7322ms 204 2026-01-02 14:47:40.1882|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.3861ms 204 2026-01-02 14:47:40.2051|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:47:40.2051|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:47:40.2051|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:47:40.2051|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:47:40.2051|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:47:40.2051|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:47:40.2051|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:47:40.2194|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:47:40.2194|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:47:40.2194|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:47:40.2194|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:47:40.2194|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:47:40.2194|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:47:40.2194|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 14:47:40.2194|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:47:40.2194|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:47:40.2194||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 14:47:40.2354|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 14:47:40.2354|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:47:40.2354|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:47:40.2354||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:47:40.2354|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:47:40.2354|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 14:47:40.2354||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:47:40.2354|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:47:40.2354|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:47:40.2354|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 8.2273ms 2026-01-02 14:47:40.2354|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:47:40.2354||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:47:40.2506|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.5131ms 200 application/json; charset=utf-8 2026-01-02 14:47:40.2506||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:47:40.2506||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:47:40.2506||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 14:47:40.2506||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 14:47:40.2684||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:47:40.2684||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:47:40.2684||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 14:47:40.5853||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 14:47:40.5853||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 14:47:40.5948|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:47:40.5948|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 362.7351ms 2026-01-02 14:47:40.5948|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:47:40.5948|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 393.9306ms 200 application/json; charset=utf-8 2026-01-02 14:47:40.6286||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:47:40.6286||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:47:40.6286||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:47:40.6512||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:47:40.6512||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:47:40.6577||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 14:47:41.0055||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:47:41.0055||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:47:41.0055||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:47:41.0241||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:47:41.0241||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:47:41.0312||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 14:47:41.4094||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:47:41.4094||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:47:41.4094||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:47:41.4374||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:47:41.4374||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:47:41.4374||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 14:47:41.8125||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:47:41.8125||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:47:41.8125||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:47:41.8298||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:47:41.8298||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:47:41.8298||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 14:47:42.1850||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:47:42.1888||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:47:42.1888||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:47:42.1888||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:47:42.2062||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:47:42.2062||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 14:47:42.5717||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:47:42.5717||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:47:42.5783||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:47:42.5783||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:47:42.5967|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 14:47:42.5967|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 14:47:42.5967|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:47:42.5967|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:47:42.5967|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:47:42.6110|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:47:42.6110|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:47:42.6110|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:47:42.6110|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:47:42.6110|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:47:42.6267|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:47:42.6267|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:47:42.6267|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:47:42.6267|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:47:42.6703|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:47:42.6735|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2433.74ms 2026-01-02 14:47:42.6735|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:47:42.6735|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2471.2824ms 200 application/json; charset=utf-8 2026-01-02 14:49:38.1193|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=493 2026-01-02 14:49:38.1232|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:49:38.1232|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.2749ms 204 2026-01-02 14:49:38.1641|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=493 2026-01-02 14:49:38.1641|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:49:38.1716|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:49:38.1716|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:49:38.1716|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 14:49:38.1716|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:49:38.1853|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:49:38.1853|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 14:49:38.1853|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:49:38.1853|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:49:38.1853|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:49:38.2005|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:49:38.2005|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:49:38.2005|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:49:38.2005|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:49:38.2005|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 26.4032ms 2026-01-02 14:49:38.2005|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.3544ms 204 2026-01-02 14:49:38.2005|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.2782ms 204 2026-01-02 14:49:38.2005|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.9372ms 204 2026-01-02 14:49:38.2157|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 14:49:38.2157|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:49:38.2157|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:49:38.2157|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 57.2407ms 200 application/json; charset=utf-8 2026-01-02 14:49:38.2157|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:49:38.2157|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:49:38.2157|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:49:38.2157|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:49:38.2157|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:49:38.2157|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:49:38.2317|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:49:38.2317|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:49:38.2317|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:49:38.2317|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:49:38.2317|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:49:38.2317|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 14:49:38.2317|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:49:38.2317|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:49:38.2317||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 14:49:38.2317|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:49:38.2317|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:49:38.2490|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:49:38.2490||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:49:38.2490|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 14:49:38.2490||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:49:38.2490||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:49:38.2490|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:49:38.2490||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:49:38.2490|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 14:49:38.2490|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:49:38.2641|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 9.4469ms 2026-01-02 14:49:38.2641|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:49:38.2641|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.0352ms 200 application/json; charset=utf-8 2026-01-02 14:49:38.2641||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:49:38.2641||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 14:49:38.2799||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 14:49:38.2799||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:49:38.2799||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:49:38.2799||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 14:49:38.6163||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 14:49:38.6163||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 14:49:38.6257|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:49:38.6257|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 385.5554ms 2026-01-02 14:49:38.6257|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:49:38.6257|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 408.7261ms 200 application/json; charset=utf-8 2026-01-02 14:49:39.6687||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:49:39.6687||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:49:39.6687||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:49:39.6885||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:49:39.6885||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:49:39.6885||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 14:49:40.0477||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:49:40.0477||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:49:40.0477||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:49:40.0721||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:49:40.0752||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:49:40.0752||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 14:49:40.4238||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:49:40.4238||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:49:40.4238||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:49:40.4430||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:49:40.4430||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:49:40.4430||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 14:49:40.7991||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:49:40.7991||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:49:40.7991||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:49:40.8222||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:49:40.8264||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:49:40.8264||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 14:49:41.1918||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:49:41.1918||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:49:41.1918||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:49:41.2141||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:49:41.2171||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:49:41.2171||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 14:49:41.5587||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:49:41.5625||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:49:41.5625||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:49:41.5783||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:49:41.5783|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 14:49:41.5917|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 14:49:41.5917|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:49:41.5917|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:49:41.5917|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:49:41.6063|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:49:41.6063|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:49:41.6063|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:49:41.6063|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:49:41.6237|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:49:41.6237|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:49:41.6237|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:49:41.6237|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:49:41.6237|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:49:41.6786|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:49:41.6786|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3439.0308ms 2026-01-02 14:49:41.6844|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:49:41.6844|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3467.0457ms 200 application/json; charset=utf-8 2026-01-02 14:57:00.0141|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=501 2026-01-02 14:57:00.0141|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:57:00.0141|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.5543ms 204 2026-01-02 14:57:00.0141|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=501 2026-01-02 14:57:00.0289|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:57:00.0289|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:57:00.0289|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:57:00.0289|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 14:57:00.0289|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:57:00.0289|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:57:00.0478|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 14:57:00.0478|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:57:00.0478|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 13.2887ms 2026-01-02 14:57:00.0478|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 14:57:00.0478|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.0323ms 200 application/json; charset=utf-8 2026-01-02 14:58:26.4235|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:58:26.4235|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:58:26.4235|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:58:26.4235|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:58:26.4235|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:58:26.4296|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:58:26.4296|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.0545ms 204 2026-01-02 14:58:26.4296|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.0797ms 204 2026-01-02 14:58:26.4296|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.9567ms 204 2026-01-02 14:58:26.4296|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 14:58:26.4296|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 14:58:26.4296|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 14:58:26.4296|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:58:26.4296|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:58:26.4445|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 14:58:26.4445|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:58:26.4445|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:58:26.4445|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 14:58:26.4445|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:58:26.4445|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:58:26.4445|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:58:26.4445|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 14:58:26.4445|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 14:58:26.4445|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:58:26.4445|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:58:26.4445|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:58:26.4445|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 14:58:26.4445|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 14:58:26.4599||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 14:58:26.4599|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 14:58:26.4599|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 14:58:26.4599|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:58:26.4599|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.6146ms 2026-01-02 14:58:26.4599|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 14:58:26.4599|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:58:26.4599|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 29.875ms 200 application/json; charset=utf-8 2026-01-02 14:58:26.4599||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:58:26.4760||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:58:26.4760||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 14:58:26.4760||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 14:58:26.4957||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:58:26.4957||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 14:58:26.4957||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 14:58:26.4957||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 14:58:26.5097||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:58:26.5097||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 14:58:26.9187||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:58:26.9187||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:58:26.9187||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:58:26.9403||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:58:26.9403||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:58:26.9474||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 14:58:27.2864||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:58:27.2916||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:58:27.2916||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:58:27.3081||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:58:27.3081||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:58:27.3081||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 14:58:27.6523||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:58:27.6523||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:58:27.6523||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:58:27.6711||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:58:27.6711||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:58:27.6711||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 14:58:27.9209||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 14:58:27.9209||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 14:58:27.9288|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 14:58:27.9288|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1471.6024ms 2026-01-02 14:58:27.9288|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 14:58:27.9288|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1495.2256ms 200 application/json; charset=utf-8 2026-01-02 14:58:28.0282||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:58:28.0282||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:58:28.0282||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:58:28.0493||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:58:28.0542||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:58:28.0542||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 14:58:28.4169||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:58:28.4169||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:58:28.4169||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:58:28.4327||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:58:28.4327||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 14:58:28.4327||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 14:58:28.7642||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 14:58:28.7642||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 14:58:28.7642||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 14:58:28.7852||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 14:58:28.7910|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 14:58:28.7910|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (7ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 14:58:28.8063|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:58:28.8063|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:58:28.8063|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:58:28.8063|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:58:28.8063|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:58:28.8063|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:58:28.8201|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:58:28.8201|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:58:28.8201|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:58:28.8201|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:58:28.8201|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 14:58:28.8367|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 14:58:28.8720|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 14:58:28.8720|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2414.5526ms 2026-01-02 14:58:28.8720|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 14:58:28.8720|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2440.9753ms 200 application/json; charset=utf-8 2026-01-02 15:03:00.0329|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:03:00.0329|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:03:00.0329|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:03:00.0329|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:03:00.0329|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:03:00.0498|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:03:00.0498|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 20.7728ms 204 2026-01-02 15:03:00.0498|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 22.2891ms 204 2026-01-02 15:03:00.0498|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.8569ms 204 2026-01-02 15:03:00.0618|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:03:00.0618|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:03:00.0618|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:03:00.0618|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 15:03:00.0618|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 15:03:00.0618|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 15:03:00.0618|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 15:03:00.0792|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 15:03:00.0792|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 15:03:00.0792|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:03:00.0792|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:03:00.0792|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:03:00.0792|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 15:03:00.0792|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 15:03:00.0792|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 15:03:00.0925|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 15:03:00.0925|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 15:03:00.0925|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 15:03:00.0925|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 35.873ms 401 2026-01-02 15:03:00.0925|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 35.6436ms 401 2026-01-02 15:03:00.0925|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 36.2056ms 401 2026-01-02 15:05:50.1991|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2026-01-02 15:05:50.1991|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:05:50.1991|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.4947ms 204 2026-01-02 15:05:50.2146|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2026-01-02 15:05:50.2146|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:05:50.2146|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:05:50.2146|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:05:50.2146|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 15:05:50.2146|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:05:50.2146|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:05:50.2358|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 15:05:50.2358|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:05:50.2358|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 16.9145ms 2026-01-02 15:05:50.2405|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 15:05:50.2405|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 27.9249ms 200 application/json; charset=utf-8 2026-01-02 15:05:50.2405|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:05:50.2405|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:05:50.2405|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:05:50.2405|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:05:50.2405|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:05:50.2555|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.7976ms 204 2026-01-02 15:05:50.2555|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:05:50.2555|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.5103ms 204 2026-01-02 15:05:50.2555|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:05:50.2555|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.1825ms 204 2026-01-02 15:05:50.2555|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:05:50.2555|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:05:50.2555|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:05:50.2555|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:05:50.2555|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:05:50.2555|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:05:50.2714|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:05:50.2714|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:05:50.2714|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:05:50.2714|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:05:50.2714|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:05:50.2714|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:05:50.2714|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:05:50.2714|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:05:50.2714|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:05:50.2714|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 15:05:50.2714|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:05:50.2714|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 15:05:50.2714|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:05:50.2877||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 15:05:50.2877|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:05:50.2877|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 15:05:50.2877|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:05:50.3019||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:05:50.3019|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.4899ms 2026-01-02 15:05:50.3019|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:05:50.3019||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:05:50.3019||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:05:50.3019|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.6337ms 200 application/json; charset=utf-8 2026-01-02 15:05:50.3019||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:05:50.3313||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:05:50.3360||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:05:50.3360||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 15:05:50.3360||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:05:50.3360||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 15:05:50.3514||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 15:05:50.6821||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:05:50.6821||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:05:50.6821||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:05:50.7028||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:05:50.7028||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:05:50.7098||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 15:05:51.0421||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:05:51.0421||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:05:51.0421||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:05:51.0616||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:05:51.0616||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:05:51.0678||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 15:05:51.4047||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:05:51.4047||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:05:51.4144||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:05:51.4280||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:05:51.4280||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:05:51.4280||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 15:05:51.7176||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 15:05:51.7176||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 15:05:51.7278|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 15:05:51.7278|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1442.4274ms 2026-01-02 15:05:51.7278|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:05:51.7278|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1466.5466ms 200 application/json; charset=utf-8 2026-01-02 15:05:51.7780||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:05:51.7780||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:05:51.7875||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:05:51.7875||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:05:51.8043||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:05:51.8043||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 15:05:52.1291||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:05:52.1328||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:05:52.1328||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:05:52.1496||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:05:52.1496||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:05:52.1496||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 15:05:52.4996||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:05:52.4996||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:05:52.5096||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:05:52.5233||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:05:52.5233|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 15:05:52.5387|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 15:05:52.5387|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:05:52.5387|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:05:52.5387|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:05:52.5554|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:05:52.5554|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:05:52.5554|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:05:52.5676|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:05:52.5676|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:05:52.5676|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:05:52.5676|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:05:52.5676|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:05:52.5676|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:05:52.6212|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:05:52.6212|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2341.5987ms 2026-01-02 15:05:52.6212|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:05:52.6212|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2367.7863ms 200 application/json; charset=utf-8 2026-01-02 15:15:22.0071|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2026-01-02 15:15:22.0071|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:15:22.0071|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.9517ms 204 2026-01-02 15:15:22.0182|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2026-01-02 15:15:22.0182|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:15:22.0182|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:15:22.0182|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:15:22.0182|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 15:15:22.0182|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:15:22.0182|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:15:22.0182|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:15:22.0182|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:15:22.0344|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:15:22.0344|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:15:22.0344|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:15:22.0344|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:15:22.0344|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.9032ms 204 2026-01-02 15:15:22.0344|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.3433ms 204 2026-01-02 15:15:22.0469|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.0697ms 204 2026-01-02 15:15:22.0469|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:15:22.0469|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:15:22.0469|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:15:22.0469|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:15:22.0469|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:15:22.0469|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:15:22.0469|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:15:22.0469|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:15:22.0469|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:15:22.0469|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:15:22.0469|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 15:15:22.0627|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:15:22.0627|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:15:22.0627|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:15:22.0627|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:15:22.0627|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:15:22.0627|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:15:22.0627|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 15:15:22.0627|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 32.8344ms 2026-01-02 15:15:22.0627|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:15:22.0627|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 15:15:22.0627|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:15:22.0627|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 15:15:22.0796|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:15:22.0796||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 15:15:22.0796|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 65.8706ms 200 application/json; charset=utf-8 2026-01-02 15:15:22.0796|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 15:15:22.0796|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:15:22.0796|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.8264ms 2026-01-02 15:15:22.0948|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:15:22.0948|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:15:22.0948|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 46.0152ms 200 application/json; charset=utf-8 2026-01-02 15:15:22.0948||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:15:22.0948||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:15:22.0948||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:15:22.0948||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:15:22.1233||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:15:22.1272||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 15:15:22.1272||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 15:15:22.1272||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:15:22.1272||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:15:22.1272||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 15:15:22.5566||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:15:22.5566||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:15:22.5646||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:15:22.5791||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:15:22.5791||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:15:22.5791||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 15:15:22.9373||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:15:22.9397||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:15:22.9397||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:15:22.9560||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:15:22.9560||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:15:22.9560||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 15:15:23.3241||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:15:23.3282||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:15:23.3282||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:15:23.3450||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:15:23.3450||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:15:23.3450||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 15:15:23.5819||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 15:15:23.5819||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 15:15:23.5819|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 15:15:23.5940|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1513.123ms 2026-01-02 15:15:23.5940|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:15:23.5940|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1544.4589ms 200 application/json; charset=utf-8 2026-01-02 15:15:23.7040||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:15:23.7040||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:15:23.7040||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:15:23.7283||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:15:23.7283||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:15:23.7371||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 15:15:24.0952||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:15:24.0952||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:15:24.0952||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:15:24.1221||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:15:24.1265||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:15:24.1265||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 15:15:24.4847||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:15:24.4847||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:15:24.4847||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:15:24.5117||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:15:24.5231|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 15:15:24.5316|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 15:15:24.5316|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:15:24.5316|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:15:24.5316|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:15:24.5484|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:15:24.5484|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:15:24.5484|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:15:24.5484|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:15:24.5650|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:15:24.5650|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:15:24.5650|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:15:24.5650|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:15:24.5812|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:15:24.6272|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:15:24.6272|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2550.1138ms 2026-01-02 15:15:24.6272|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:15:24.6272|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2581.3698ms 200 application/json; charset=utf-8 2026-01-02 15:16:46.0826|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=499 2026-01-02 15:16:46.0826|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:16:46.0826|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6.9553ms 204 2026-01-02 15:16:46.0957|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=499 2026-01-02 15:16:46.0957|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:16:46.0957|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:16:46.0957|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:16:46.0957|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 15:16:46.0957|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:16:46.0957|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:16:46.1127|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 15:16:46.1127|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:16:46.1127|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 11.3564ms 2026-01-02 15:16:46.1127|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 15:16:46.1127|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.9209ms 200 application/json; charset=utf-8 2026-01-02 15:17:02.6624|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:17:02.6624|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:17:02.6624|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:17:02.6624|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:17:02.6624|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:17:02.6714|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.8718ms 204 2026-01-02 15:17:02.6714|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.866ms 204 2026-01-02 15:17:02.6714|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:17:02.6714|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:17:02.6714|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:17:02.6714|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.0575ms 204 2026-01-02 15:17:02.6714|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:17:02.6858|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:17:02.6858|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:17:02.6858|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:17:02.6858|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:17:02.6858|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:17:02.6858|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:17:02.6858|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:17:02.6858|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:17:02.6858|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:17:02.6858|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:17:02.6858|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:17:02.6858|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:17:02.6858|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:17:02.7013|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:17:02.7013|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 15:17:02.7013|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 15:17:02.7013|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:17:02.7013|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:17:02.7013||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 15:17:02.7013||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:17:02.7013|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 15:17:02.7013||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:17:02.7013||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:17:02.7013|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:17:02.7013||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:17:02.7174|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 12.0955ms 2026-01-02 15:17:02.7174|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:17:02.7174|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 41.7044ms 200 application/json; charset=utf-8 2026-01-02 15:17:02.7351||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:17:02.7351||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:17:02.7351||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 15:17:02.7351||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:17:02.7351||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 15:17:02.7503||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 15:17:03.1355||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:17:03.1395||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:17:03.1395||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:17:03.1558||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:17:03.1558||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:17:03.1558||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 15:17:03.4848||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:17:03.4848||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:17:03.4848||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:17:03.5096||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:17:03.5096||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:17:03.5166||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 15:17:03.8475||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:17:03.8475||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:17:03.8475||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:17:03.8690||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:17:03.8690||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:17:03.8747||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 15:17:04.1542||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 15:17:04.1577||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 15:17:04.1577|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 15:17:04.1577|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1456.4168ms 2026-01-02 15:17:04.1577|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:17:04.1577|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1479.7957ms 200 application/json; charset=utf-8 2026-01-02 15:17:04.2239||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:17:04.2239||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:17:04.2327||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:17:04.2327||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:17:04.2499||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:17:04.2499||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 15:17:04.5831||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:17:04.5831||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:17:04.5831||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:17:04.6030||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:17:04.6030||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:17:04.6102||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 15:17:04.9459||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:17:04.9459||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:17:04.9459||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:17:04.9624||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:17:04.9690|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 15:17:04.9690|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 15:17:04.9690|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:17:04.9690|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:17:04.9690|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:17:04.9835|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:17:04.9835|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:17:04.9835|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:17:04.9835|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:17:04.9835|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:17:05.0014|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:17:05.0014|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:17:05.0014|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:17:05.0014|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:17:05.0519|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:17:05.0519|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2353.5946ms 2026-01-02 15:17:05.0519|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:17:05.0519|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2378.9005ms 200 application/json; charset=utf-8 2026-01-02 15:17:40.7688|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:11473/ACCOUNTSERVICES/iisintegration 0 2026-01-02 15:17:40.7688|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.5832ms 202 2026-01-02 15:18:13.4539||DEBUG|AccountManagement.Program|init main function 2026-01-02 15:18:16.0006|30000|WARN|Microsoft.EntityFrameworkCore.Model.Validation|No type was specified for the decimal column 'Amount' on entity type 'WaysMeans'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values using 'HasColumnType()'. 2026-01-02 15:18:16.0119|30000|WARN|Microsoft.EntityFrameworkCore.Model.Validation|No type was specified for the decimal column 'CurrentBalance' on entity type 'SourceAccountManagements'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values using 'HasColumnType()'. 2026-01-02 15:18:16.0119|30000|WARN|Microsoft.EntityFrameworkCore.Model.Validation|No type was specified for the decimal column 'OverdraftLimit' on entity type 'SourceAccountManagements'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values using 'HasColumnType()'. 2026-01-02 15:18:16.0403|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:18:16.2988|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (14ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2026-01-02 15:18:16.3200|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (12ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2026-01-02 15:18:16.3265|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2026-01-02 15:18:16.3265|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2026-01-02 15:18:16.3465|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2026-01-02 15:18:16.3617|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2026-01-02 15:18:16.5191||INFO|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|User profile not available. Using 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys\S-1-5-82-636400548-2315632189-4083574877-3698939047-2307078153\DataProtection' as key repository and Windows DPAPI to encrypt keys at rest. 2026-01-02 15:18:16.8407|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 15:18:17.0120|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:18:17.0459|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:18:17.0459|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 15:18:17.0836|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:18:17.0903|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:18:17.3324|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (35ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 15:18:17.3646|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:18:17.4043|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 316.0094ms 2026-01-02 15:18:17.4043|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 15:18:17.4223|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 581.6788ms 200 application/json; charset=utf-8 2026-01-02 15:18:26.9934|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 15:18:26.9934|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:18:27.0068|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:18:27.0068|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 15:18:27.0068|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:18:27.0347|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:18:27.0487|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 15:18:27.0487|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:18:27.0487|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 45.855ms 2026-01-02 15:18:27.0487|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 15:18:27.0615|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 68.1408ms 200 application/json; charset=utf-8 2026-01-02 15:18:28.5343|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 15:18:28.5343|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:18:28.5478|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:18:28.5478|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 15:18:28.5478|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:18:28.5478|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:18:28.5659|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 15:18:28.5659|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:18:28.5659|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 20.7912ms 2026-01-02 15:18:28.5782|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 15:18:28.5782|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 47.0474ms 200 application/json; charset=utf-8 2026-01-02 15:19:03.9209|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 15:19:03.9209|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:19:03.9277|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:19:03.9277|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 15:19:03.9277|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:19:03.9277|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:19:03.9277|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 15:19:03.9448|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:19:03.9448|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 16.7367ms 2026-01-02 15:19:03.9448|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 15:19:03.9448|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 31.6184ms 200 application/json; charset=utf-8 2026-01-02 15:19:27.2489|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 15:19:27.2489|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:19:27.2489|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:19:27.2563|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 15:19:27.2563|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:19:27.2563|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:19:27.2563|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 15:19:27.2563|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:19:27.2722|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 12.9609ms 2026-01-02 15:19:27.2722|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 15:19:27.2722|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.9571ms 200 application/json; charset=utf-8 2026-01-02 15:19:28.7107|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 15:19:28.7107|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:19:28.7107|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:19:28.7107|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 15:19:28.7107|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:19:28.7107|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:19:28.7311|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 15:19:28.7311|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:19:28.7311|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 13.229ms 2026-01-02 15:19:28.7311|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 15:19:28.7311|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 28.8352ms 200 application/json; charset=utf-8 2026-01-02 15:22:47.8578|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 15:22:47.8617|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:22:47.8617|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:22:47.8617|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 15:22:47.8617|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:22:47.8617|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:22:47.8800|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 15:22:47.8800|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:22:47.8800|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 16.8486ms 2026-01-02 15:22:47.8800|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 15:22:47.8895|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 31.7247ms 200 application/json; charset=utf-8 2026-01-02 15:22:59.3632|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 15:22:59.3632|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:22:59.3632|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:22:59.3746|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 15:22:59.3746|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:22:59.3746|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:22:59.3910|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 15:22:59.3910|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:22:59.3910|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 16.6316ms 2026-01-02 15:22:59.3910|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 15:22:59.3910|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 34.3339ms 200 application/json; charset=utf-8 2026-01-02 15:23:00.9334|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 15:23:00.9397|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:23:00.9397|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:23:00.9397|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 15:23:00.9397|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:23:00.9397|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:23:00.9559|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 15:23:00.9559|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:23:00.9559|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 16.7751ms 2026-01-02 15:23:00.9559|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 15:23:00.9669|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.5878ms 200 application/json; charset=utf-8 2026-01-02 15:24:45.8664|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:24:45.8664|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:24:45.8664|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:24:45.8728|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:24:45.8728|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:24:45.8728|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:24:45.8728|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.5352ms 204 2026-01-02 15:24:45.8728|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.8616ms 204 2026-01-02 15:24:45.8728|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.752ms 204 2026-01-02 15:24:45.8728|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:24:45.8728|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:24:45.8728|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:24:45.8728|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:24:45.8728|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:24:45.8839|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:24:45.8839|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:24:45.8839|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:24:45.8839|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:24:45.8839|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:24:45.8839|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:24:45.8839|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:24:45.8839|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:24:45.8839|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:24:45.8839|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:24:45.9016|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:24:45.9016|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 15:24:45.9016|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 15:24:45.9016|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:24:45.9016|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:24:45.9150||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 15:24:45.9562|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:24:45.9638|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 15:24:46.0134|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:24:46.0134|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 114.6947ms 2026-01-02 15:24:46.0134|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:24:46.0236|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 142.8122ms 200 application/json; charset=utf-8 2026-01-02 15:24:46.1351||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:24:46.1351||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:24:46.1351||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:24:46.1351||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:24:46.4482||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:24:46.4482||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:24:46.4752||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 15:24:46.4752||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:24:46.4802||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 15:24:46.4802||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 15:24:46.9531||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 15:24:46.9702||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 15:24:46.9702|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 15:24:46.9807|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1073.9489ms 2026-01-02 15:24:46.9807|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:24:46.9807|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1103.9063ms 200 application/json; charset=utf-8 2026-01-02 15:24:47.9934||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:24:48.0124||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:24:48.0124||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:24:48.0572||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:24:48.0572||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:24:48.0572||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 15:24:48.4701||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:24:48.4701||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:24:48.4794||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:24:48.4996||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:24:48.4996||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:24:48.4996||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 15:24:48.8848||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:24:48.8848||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:24:48.8848||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:24:48.9164||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:24:48.9164||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:24:48.9164||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 15:24:49.3033||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:24:49.3061||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:24:49.3061||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:24:49.3309||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:24:49.3309||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:24:49.3370||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 15:24:49.7323||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:24:49.7323||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:24:49.7323||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:24:49.7670||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:24:49.7670||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:24:49.7765||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 15:24:49.8382|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 15:24:49.8382|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 15:24:49.8382|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:24:49.8382|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:24:49.8382|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.23ms 204 2026-01-02 15:24:49.8382|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.0599ms 204 2026-01-02 15:24:49.8524|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 15:24:49.8524|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 15:24:49.8524|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:24:49.8524|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:24:49.8524|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:24:49.8524|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:24:49.8524|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:24:49.8524|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:24:49.8685|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 15:24:49.8685|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 15:24:49.8685|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 15:24:49.8685|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 15:24:49.8841|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:24:49.8841|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:24:49.9079|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 15:24:49.9181|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 15:24:49.9425|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:24:49.9477|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 62.5973ms 2026-01-02 15:24:49.9477|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 15:24:49.9477|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 98.2888ms 200 application/json; charset=utf-8 2026-01-02 15:24:49.9638|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 15:24:49.9836|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 100.9331ms 2026-01-02 15:24:49.9836|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 15:24:49.9836|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 134.8354ms 200 application/json; charset=utf-8 2026-01-02 15:24:50.1304||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:24:50.1349||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:24:50.1349||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:24:50.1593||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:24:50.2569|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 15:24:50.2845|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 15:24:50.2986|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:24:50.3192|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:24:50.3225|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:24:50.3225|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:24:50.3225|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:24:50.3225|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:24:50.3402|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:24:50.3402|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:24:50.3402|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:24:50.3521|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:24:50.3521|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:24:50.3521|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:24:50.4812|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:24:50.4812|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 4582.6568ms 2026-01-02 15:24:50.4812|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:24:50.4812|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4608.823ms 200 application/json; charset=utf-8 2026-01-02 15:31:47.8216|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:31:47.8216|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:31:47.8216|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:31:47.8216|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:31:47.8216|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:31:47.8216|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:31:47.8216|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.2266ms 204 2026-01-02 15:31:47.8392|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.2065ms 204 2026-01-02 15:31:47.8392|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.6806ms 204 2026-01-02 15:31:47.8392|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:31:47.8525|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:31:47.8525|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:31:47.8525|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:31:47.8525|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:31:47.8525|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:31:47.8525|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:31:47.8692|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:31:47.8692|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:31:47.8692|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:31:47.8692|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:31:47.8692|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:31:47.8692|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:31:47.8692|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:31:47.8692|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 15:31:47.8850|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:31:47.8850|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:31:47.8850||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 15:31:47.8850|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:31:47.8850|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 15:31:47.9073|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:31:47.9160||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:31:47.9160|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:31:47.9160||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:31:47.9160|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 15:31:47.9160||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:31:47.9160|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:31:47.9160||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:31:47.9160|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 22.5251ms 2026-01-02 15:31:47.9160|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:31:47.9160|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 73.4737ms 200 application/json; charset=utf-8 2026-01-02 15:31:47.9518||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:31:47.9518||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:31:47.9518||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 15:31:47.9518||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:31:47.9630||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 15:31:47.9630||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 15:31:48.3639||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 15:31:48.3639||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 15:31:48.3717|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 15:31:48.3717|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 484.5109ms 2026-01-02 15:31:48.3717|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:31:48.3717|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 524.9891ms 200 application/json; charset=utf-8 2026-01-02 15:31:49.3811||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:31:49.3854||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:31:49.3854||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:31:49.4038||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:31:49.4038||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:31:49.4038||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 15:31:49.7507||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:31:49.7507||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:31:49.7507||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:31:49.7785||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:31:49.7785||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:31:49.7785||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 15:31:50.1356||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:31:50.1356||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:31:50.1356||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:31:50.1635||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:31:50.1674||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:31:50.1674||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 15:31:50.5200||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:31:50.5200||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:31:50.5268||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:31:50.5439||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:31:50.5439||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:31:50.5439||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 15:31:50.7145|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 15:31:50.7145|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 15:31:50.7145|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:31:50.7145|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:31:50.7145|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.9733ms 204 2026-01-02 15:31:50.7145|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.7404ms 204 2026-01-02 15:31:50.7288|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 15:31:50.7288|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 15:31:50.7288|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:31:50.7288|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:31:50.7288|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:31:50.7288|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:31:50.7288|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:31:50.7288|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:31:50.7288|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 15:31:50.7288|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 15:31:50.7288|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 15:31:50.7435|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 15:31:50.7435|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:31:50.7435|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:31:50.7435|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 15:31:50.7613|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:31:50.7613|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (8ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 15:31:50.7613|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 16.3319ms 2026-01-02 15:31:50.7613|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 15:31:50.7613|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 36.34ms 200 application/json; charset=utf-8 2026-01-02 15:31:50.7762|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 15:31:50.7762|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 33.0517ms 2026-01-02 15:31:50.7762|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 15:31:50.7762|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 52.5556ms 200 application/json; charset=utf-8 2026-01-02 15:31:50.9160||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:31:50.9160||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:31:50.9160||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:31:50.9377||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:31:50.9377||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:31:50.9377||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 15:31:51.3017||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:31:51.3078||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:31:51.3078||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:31:51.3318||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:31:51.3418|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 15:31:51.3418|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 15:31:51.3524|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:31:51.3524|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:31:51.3524|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:31:51.3524|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:31:51.3705|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:31:51.3705|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:31:51.3705|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:31:51.3705|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:31:51.3842|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:31:51.3842|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:31:51.3842|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:31:51.3842|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:31:51.4504|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:31:51.4504|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3562.5086ms 2026-01-02 15:31:51.4504|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:31:51.4504|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3613.3286ms 200 application/json; charset=utf-8 2026-01-02 15:31:59.2787|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:31:59.2787|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:31:59.2787|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:31:59.2787|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:31:59.2787|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:31:59.2787|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:31:59.2904|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.7647ms 204 2026-01-02 15:31:59.2904|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.8652ms 204 2026-01-02 15:31:59.2904|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.0043ms 204 2026-01-02 15:31:59.2904|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:31:59.2904|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:31:59.2904|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:31:59.2904|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:31:59.2904|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:31:59.2904|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:31:59.3065|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:31:59.3065|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:31:59.3065|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:31:59.3065|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:31:59.3065|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:31:59.3065|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:31:59.3065|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:31:59.3065|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:31:59.3065|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:31:59.3216|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 15:31:59.3216|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 15:31:59.3216|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:31:59.3216||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 15:31:59.3216|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:31:59.3216|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:31:59.3403|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 15:31:59.3403||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:31:59.3403|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:31:59.3403||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:31:59.3403|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 17.2673ms 2026-01-02 15:31:59.3403|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:31:59.3403|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:31:59.3531|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 54.651ms 200 application/json; charset=utf-8 2026-01-02 15:31:59.3531||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:31:59.3531||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:31:59.3753||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:31:59.3753||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:31:59.3753||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 15:31:59.3836||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:31:59.3836||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 15:31:59.3836||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 15:31:59.7706||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:31:59.7752||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:31:59.7752||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:31:59.7959||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:31:59.7959||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:31:59.7959||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 15:32:00.2195||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:32:00.2195||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:32:00.2195||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:32:00.2446||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:32:00.2446||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:32:00.2446||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 15:32:00.2953|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:32:00.2953|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:32:00.2953|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:32:00.2953|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:32:00.2953|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:32:00.2953|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:32:00.2953|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:32:00.2953|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:32:00.3066|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:32:00.3066|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:32:00.3066|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:32:00.3066|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:32:00.3066|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:32:00.3066|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:32:00.3066|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:32:00.3066|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:32:00.3066|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 15:32:00.3066|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 15:32:00.3066|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:32:00.3213||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 15:32:00.3066|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:32:00.3213|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:32:00.3213||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:32:00.3213|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 15:32:00.3213||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:32:00.3213||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:32:00.3213|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:32:00.3213||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:32:00.3213|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.8581ms 2026-01-02 15:32:00.3387|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:32:00.3387|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.3437ms 200 application/json; charset=utf-8 2026-01-02 15:32:00.3387||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:32:00.3387||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:32:00.3525||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 15:32:00.3525||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:32:00.3525||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 15:32:00.3525||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 15:32:00.5929||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:32:00.5929||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:32:00.5929||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:32:00.6199||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:32:00.6199||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:32:00.6199||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 15:32:00.6787||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:32:00.6841||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:32:00.6841||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:32:00.7004||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:32:00.7004||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:32:00.7004||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 15:32:00.7153||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 15:32:00.7153||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 15:32:00.7153|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 15:32:00.7153|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 401.0368ms 2026-01-02 15:32:00.7153|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:32:00.7153|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 428.0013ms 200 application/json; charset=utf-8 2026-01-02 15:32:00.8597||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 15:32:00.8597||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 15:32:00.8695|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 15:32:00.8695|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1545.7649ms 2026-01-02 15:32:00.8695|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:32:00.8695|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1581.0848ms 200 application/json; charset=utf-8 2026-01-02 15:32:00.9891||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:32:00.9941||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:32:00.9941||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:32:01.0136||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:32:01.0136||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:32:01.0136||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 15:32:01.0427||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:32:01.0427||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:32:01.0427||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:32:01.0664||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:32:01.0664||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:32:01.0738||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 15:32:01.4080||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:32:01.4080||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:32:01.4171||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:32:01.4317||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:32:01.4317||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:32:01.4317||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 15:32:01.7734||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:32:01.7762||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:32:01.7762||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:32:01.8001||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:32:01.8111|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 15:32:01.8111|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 15:32:01.8230|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:32:01.8230|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:32:01.8230|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:32:01.8374|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:32:01.8374|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:32:01.8374|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:32:01.8552|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:32:01.8552|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:32:01.8552|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:32:01.8552|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:32:01.8725|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:32:01.8725|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:32:01.9326|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:32:01.9326|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2606.4006ms 2026-01-02 15:32:01.9326|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:32:01.9326|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2644.9405ms 200 application/json; charset=utf-8 2026-01-02 15:32:02.4432||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:32:02.4432||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:32:02.4432||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:32:02.4723||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:32:02.4723||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:32:02.4723||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 15:32:02.5775|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 15:32:02.5775|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 15:32:02.5802|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:32:02.5802|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:32:02.5802|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.5495ms 204 2026-01-02 15:32:02.5802|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.2405ms 204 2026-01-02 15:32:02.5802|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 15:32:02.5802|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 15:32:02.5802|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:32:02.5802|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:32:02.5971|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:32:02.5971|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:32:02.5971|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:32:02.5971|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:32:02.5971|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 15:32:02.5971|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 15:32:02.5971|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 15:32:02.5971|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 15:32:02.5971|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:32:02.5971|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:32:02.6139|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 15:32:02.6139|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:32:02.6139|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 15:32:02.6139|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 11.0284ms 2026-01-02 15:32:02.6139|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 15:32:02.6139|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 28.8896ms 200 application/json; charset=utf-8 2026-01-02 15:32:02.6139|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 15:32:02.6275|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 21.3819ms 2026-01-02 15:32:02.6275|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 15:32:02.6275|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.6006ms 200 application/json; charset=utf-8 2026-01-02 15:32:02.8454||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:32:02.8501||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:32:02.8501||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:32:02.8680||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:32:02.8680||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:32:02.8680||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 15:32:03.2170||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:32:03.2170||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:32:03.2170||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:32:03.2424||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:32:03.2424||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:32:03.2523||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 15:32:03.5958||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:32:03.5958||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:32:03.5958||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:32:03.6128||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:32:03.6460|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (23ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 15:32:03.6553|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 15:32:03.6553|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:32:03.6553|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:32:03.6553|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:32:03.6736|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:32:03.6736|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:32:03.6736|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:32:03.6736|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:32:03.6885|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:32:03.6885|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:32:03.6885|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:32:03.6885|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:32:03.7048|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:32:03.7607|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:32:03.7636|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3445.1752ms 2026-01-02 15:32:03.7636|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:32:03.7636|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3471.9731ms 200 application/json; charset=utf-8 2026-01-02 15:32:08.5645|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:32:08.5645|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:32:08.5645|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:32:08.5676|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:32:08.5676|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:32:08.5676|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:32:08.5676|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.8483ms 204 2026-01-02 15:32:08.5676|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.0332ms 204 2026-01-02 15:32:08.5676|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.3296ms 204 2026-01-02 15:32:08.5832|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:32:08.5832|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:32:08.5832|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:32:08.5832|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:32:08.5832|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:32:08.5832|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:32:08.5832|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:32:08.5832|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:32:08.5832|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:32:08.5977|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:32:08.5977|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:32:08.5977|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:32:08.5977|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:32:08.5977|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:32:08.5977|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 15:32:08.5977|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:32:08.5977|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 15:32:08.5977||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 15:32:08.5977|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:32:08.5977|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:32:08.6132|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:32:08.6132||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:32:08.6132|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 15:32:08.6132||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:32:08.6132|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:32:08.6132|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:32:08.6132|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.4918ms 2026-01-02 15:32:08.6132|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:32:08.6132||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:32:08.6132|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.8206ms 200 application/json; charset=utf-8 2026-01-02 15:32:08.6301||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:32:08.6301||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:32:08.6301||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 15:32:08.6301||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 15:32:08.6465||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:32:08.6465||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:32:08.6465||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 15:32:09.0237||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:32:09.0237||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:32:09.0237||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:32:09.0472||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:32:09.0472||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:32:09.0536||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 15:32:09.4979||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:32:09.4979||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:32:09.5051||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:32:09.5051||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:32:09.5239||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:32:09.5239||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 15:32:09.8896||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:32:09.8944||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:32:09.8944||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:32:09.8944||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:32:09.9124||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:32:09.9124||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 15:32:10.0447||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 15:32:10.0447||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 15:32:10.0447|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 15:32:10.0447|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1443.5629ms 2026-01-02 15:32:10.0519|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:32:10.0519|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1469.6217ms 200 application/json; charset=utf-8 2026-01-02 15:32:10.2307||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:32:10.2307||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:32:10.2307||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:32:10.2484||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:32:10.2484||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:32:10.2484||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 15:32:10.5641||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:32:10.5690||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:32:10.5690||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:32:10.5880||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:32:10.5880||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:32:10.5880||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 15:32:10.9490||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:32:10.9490||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:32:10.9490||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:32:10.9684||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:32:10.9776|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 15:32:10.9776|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 15:32:10.9776|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:32:10.9890|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:32:10.9890|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:32:10.9890|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:32:10.9890|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:32:10.9890|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:32:10.9890|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:32:11.0054|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:32:11.0054|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:32:11.0054|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:32:11.0054|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:32:11.0054|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:32:11.0733|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:32:11.0733|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2465.0464ms 2026-01-02 15:32:11.0733|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:32:11.0733|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2493.6435ms 200 application/json; charset=utf-8 2026-01-02 15:43:17.4582|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2026-01-02 15:43:17.4582|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:43:17.4582|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.9547ms 204 2026-01-02 15:43:17.4694|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=492 2026-01-02 15:43:17.4694|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:43:17.4694|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:43:17.4694|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:43:17.4694|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 15:43:17.4694|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:43:17.4831|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:43:17.4831|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:43:17.4831|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:43:17.4831|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:43:17.4831|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:43:17.4831|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:43:17.4831|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:43:17.4976|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.3533ms 204 2026-01-02 15:43:17.4976|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.0801ms 204 2026-01-02 15:43:17.4976|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.3752ms 204 2026-01-02 15:43:17.4976|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:43:17.4976|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:43:17.4976|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:43:17.4976|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:43:17.4976|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:43:17.4976|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:43:17.4976|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:43:17.4976|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:43:17.5139|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:43:17.5139|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:43:17.5139|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:43:17.5139|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:43:17.5139|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:43:17.5139|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 15:43:17.5139|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:43:17.5139|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:43:17.5139|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:43:17.5139|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:43:17.5139|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:43:17.5139|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 15:43:17.5139|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 15:43:17.5294|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:43:17.5294|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:43:17.5294||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 15:43:17.5294|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 49.4799ms 2026-01-02 15:43:17.5294|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 15:43:17.5294|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 15:43:17.5294|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:43:17.5294|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 68.9929ms 200 application/json; charset=utf-8 2026-01-02 15:43:17.5294|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 9.8335ms 2026-01-02 15:43:17.5294||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:43:17.5294|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:43:17.5294||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:43:17.5294|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.2769ms 200 application/json; charset=utf-8 2026-01-02 15:43:17.5460||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:43:17.5460||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:43:17.5632||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:43:17.5632||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:43:17.5632||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 15:43:17.5632||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:43:17.5632||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 15:43:17.5778||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 15:43:17.9788||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:43:17.9825||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:43:17.9825||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:43:17.9987||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:43:17.9987||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:43:17.9987||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 15:43:18.3403||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:43:18.3434||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:43:18.3434||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:43:18.3598||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:43:18.3598||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:43:18.3598||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 15:43:18.7260||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:43:18.7260||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:43:18.7260||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:43:18.7440||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:43:18.7440||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:43:18.7492||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 15:43:18.9945||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 15:43:18.9995||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 15:43:18.9995|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 15:43:18.9995|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1476.8511ms 2026-01-02 15:43:18.9995|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:43:18.9995|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1501.819ms 200 application/json; charset=utf-8 2026-01-02 15:43:19.1013||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:43:19.1013||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:43:19.1080||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:43:19.1080||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:43:19.1250||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:43:19.1250||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 15:43:19.5014||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:43:19.5014||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:43:19.5014||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:43:19.5242||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:43:19.5242||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:43:19.5309||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 15:43:19.8927||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:43:19.8927||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:43:19.8927||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:43:19.9199||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:43:19.9199|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 15:43:19.9199|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 15:43:19.9397|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:43:19.9397|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:43:19.9397|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:43:19.9535|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:43:19.9535|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:43:19.9535|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:43:19.9535|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:43:19.9535|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:43:19.9535|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:43:19.9535|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:43:19.9684|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:43:19.9684|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:43:20.0191|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:43:20.0191|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2499.5146ms 2026-01-02 15:43:20.0191|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:43:20.0191|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2521.7495ms 200 application/json; charset=utf-8 2026-01-02 15:52:40.2731|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:52:40.2731|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:52:40.2731|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:52:40.2731|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:52:40.2731|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:52:40.2731|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:52:40.2731|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.9449ms 204 2026-01-02 15:52:40.2731|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.7832ms 204 2026-01-02 15:52:40.2731|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.6624ms 204 2026-01-02 15:52:40.2882|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:52:40.2882|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:52:40.2882|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 15:52:40.2882|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 15:52:40.2882|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:52:40.3245|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 15:52:40.3245|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 15:52:40.3245|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 15:52:40.3245|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:52:40.3364|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:52:40.3364|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 15:52:40.3364|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 15:52:40.3364|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 15:52:40.3364|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:52:40.3364|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 15:52:40.3510|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 15:52:40.3510|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 15:52:40.3510|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 15:52:40.3510|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 54.2227ms 401 2026-01-02 15:52:40.3510|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 65.9351ms 401 2026-01-02 15:52:40.3510|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 67.8345ms 401 2026-01-02 15:52:51.1524|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2026-01-02 15:52:51.1524|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:52:51.1524|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.8275ms 204 2026-01-02 15:52:51.1629|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2026-01-02 15:52:51.1629|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:52:51.1629|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:52:51.1629|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:52:51.1629|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 15:52:51.1629|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:52:51.1629|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:52:51.1629|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:52:51.1629|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:52:51.1779|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:52:51.1779|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:52:51.1779|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:52:51.1779|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:52:51.1779|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.9319ms 204 2026-01-02 15:52:51.1938|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 20.0447ms 204 2026-01-02 15:52:51.1938|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 19.6767ms 204 2026-01-02 15:52:51.1938|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:52:51.1938|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:52:51.1938|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:52:51.1938|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:52:51.1938|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:52:51.2089|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:52:51.2089|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:52:51.2089|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 15:52:51.2089|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:52:51.2089|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:52:51.2089|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:52:51.2089|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:52:51.2089|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:52:51.2089|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:52:51.2089|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:52:51.2089|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 32.0087ms 2026-01-02 15:52:51.2089|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:52:51.2089|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:52:51.2089|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 15:52:51.2245|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 15:52:51.2245|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:52:51.2245|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 15:52:51.2245|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:52:51.2245||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 15:52:51.2245|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:52:51.2245|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 66.3546ms 200 application/json; charset=utf-8 2026-01-02 15:52:51.2245|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 15:52:51.2245|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:52:51.2415|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 13.4243ms 2026-01-02 15:52:51.2415|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:52:51.2415|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 43.4395ms 200 application/json; charset=utf-8 2026-01-02 15:52:51.2415|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:52:51.2415||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:52:51.2415||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:52:51.2415||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:52:51.2560||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:52:51.2763||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:52:51.2763||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:52:51.2763||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:52:51.2763||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 15:52:51.2763||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 15:52:51.2904||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 15:52:51.6512||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:52:51.6512||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:52:51.6644||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:52:51.6827||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:52:51.6827||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:52:51.6942||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 15:52:52.0537||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:52:52.0537||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:52:52.0537||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:52:52.0829||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:52:52.0884||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:52:52.0884||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 15:52:52.4987||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:52:52.4987||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:52:52.5063||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:52:52.5063||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:52:52.5239||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:52:52.5239||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 15:52:52.6718||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 15:52:52.6718||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 15:52:52.6818|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 15:52:52.6818|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1451.9363ms 2026-01-02 15:52:52.6818|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:52:52.6818|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1483.4306ms 200 application/json; charset=utf-8 2026-01-02 15:52:52.8955||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:52:52.9007||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:52:52.9007||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:52:52.9183||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:52:52.9183||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:52:52.9183||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 15:52:53.2979||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:52:53.3031||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:52:53.3031||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:52:53.3207||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:52:53.3207||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:52:53.3207||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 15:52:53.6880||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:52:53.6880||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:52:53.6951||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:52:53.7107||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:52:53.7107|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 15:52:53.7288|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 15:52:53.7288|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:52:53.7288|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:52:53.7404|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:52:53.7404|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:52:53.7404|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:52:53.7404|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:52:53.7404|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:52:53.7591|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:52:53.7591|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:52:53.7591|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:52:53.7731|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:52:53.7731|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:52:53.8138|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:52:53.8138|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2585.0829ms 2026-01-02 15:52:53.8138|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:52:53.8184|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2615.7378ms 200 application/json; charset=utf-8 2026-01-02 15:53:43.5346|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:53:43.5346|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:53:43.5346|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:53:43.5346|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:53:43.5421|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:53:43.5421|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:53:43.5421|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.6297ms 204 2026-01-02 15:53:43.5421|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.55ms 204 2026-01-02 15:53:43.5421|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.3637ms 204 2026-01-02 15:53:43.5563|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:53:43.5563|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:53:43.5563|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:53:43.5563|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:53:43.5563|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:53:43.5563|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:53:43.5563|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:53:43.5563|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:53:43.5563|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:53:43.5563|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:53:43.5563|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:53:43.5563|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:53:43.5563|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:53:43.5706|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:53:43.5706|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:53:43.5706|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:53:43.5706|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 15:53:43.5706|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 15:53:43.5706|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:53:43.5706|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:53:43.5706||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 15:53:43.5706|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 15:53:43.5706|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:53:43.5706|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:53:43.5875||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:53:43.5875|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 10.2696ms 2026-01-02 15:53:43.5875||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:53:43.5875||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:53:43.5875|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:53:43.5875||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:53:43.5875|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 38.6877ms 200 application/json; charset=utf-8 2026-01-02 15:53:43.6109||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:53:43.6109||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:53:43.6109||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 15:53:43.6355||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:53:43.6355||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 15:53:43.6355||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 15:53:43.9677||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:53:43.9677||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:53:43.9677||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:53:43.9910||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:53:43.9946||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:53:43.9946||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 15:53:44.3762||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:53:44.3819||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:53:44.3819||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:53:44.3984||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:53:44.3984||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:53:44.3984||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 15:53:44.7405||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:53:44.7443||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:53:44.7443||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:53:44.7587||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:53:44.7587||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:53:44.7587||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 15:53:44.9979||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 15:53:44.9979||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 15:53:44.9979|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 15:53:44.9979|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1425.6491ms 2026-01-02 15:53:44.9979|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:53:45.0078|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1451.4302ms 200 application/json; charset=utf-8 2026-01-02 15:53:45.1162||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:53:45.1162||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:53:45.1162||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:53:45.1347||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:53:45.1347||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:53:45.1347||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 15:53:45.4905||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:53:45.4936||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:53:45.4936||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:53:45.5071||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:53:45.5071||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:53:45.5071||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 15:53:45.8748||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:53:45.8748||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:53:45.8748||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:53:45.8923||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:53:45.8994|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 15:53:45.8994|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 15:53:45.8994|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:53:45.8994|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:53:45.9128|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:53:45.9128|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:53:45.9128|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:53:45.9128|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:53:45.9128|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:53:45.9128|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:53:45.9128|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:53:45.9304|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:53:45.9304|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:53:45.9304|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:53:45.9748|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:53:45.9776|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2401.1461ms 2026-01-02 15:53:45.9776|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:53:45.9776|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2423.9284ms 200 application/json; charset=utf-8 2026-01-02 15:53:52.7473|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:53:52.7473|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:53:52.7473|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:53:52.7473|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:53:52.7473|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:53:52.7565|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:53:52.7565|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.1622ms 204 2026-01-02 15:53:52.7565|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.1398ms 204 2026-01-02 15:53:52.7565|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.4731ms 204 2026-01-02 15:53:52.7565|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:53:52.7565|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:53:52.7565|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:53:52.7757|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:53:52.7757|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:53:52.7757|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:53:52.7757|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:53:52.7757|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:53:52.7884|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:53:52.7884|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:53:52.7884|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:53:52.7884|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:53:52.7884|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:53:52.7884|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:53:52.7884|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:53:52.7884|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:53:52.8032|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 15:53:52.8032|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 15:53:52.8032|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:53:52.8032||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 15:53:52.8032|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:53:52.8187|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:53:52.8187||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:53:52.8187|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 15:53:52.8187||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:53:52.8187||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:53:52.8187|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:53:52.8187||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:53:52.8187|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 17.9417ms 2026-01-02 15:53:52.8187|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:53:52.8352|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 66.1301ms 200 application/json; charset=utf-8 2026-01-02 15:53:52.8352||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:53:52.8352||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:53:52.8352||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:53:52.8507||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 15:53:52.8507||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 15:53:52.8507||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 15:53:53.2437||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:53:53.2437||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:53:53.2437||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:53:53.2650||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:53:53.2650||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:53:53.2650||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 15:53:53.6020||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:53:53.6020||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:53:53.6020||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:53:53.6268||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:53:53.6321||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:53:53.6321||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 15:53:54.0207||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:53:54.0262||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:53:54.0262||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:53:54.0456||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:53:54.0456||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:53:54.0456||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 15:53:54.2313||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 15:53:54.2313||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 15:53:54.2313|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 15:53:54.2313|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1431.1999ms 2026-01-02 15:53:54.2417|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:53:54.2417|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1477.1793ms 200 application/json; charset=utf-8 2026-01-02 15:53:54.4116||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:53:54.4145||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:53:54.4145||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:53:54.4301||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:53:54.4301||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:53:54.4301||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 15:53:54.7712||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:53:54.7754||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:53:54.7754||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:53:54.7918||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:53:54.7918||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:53:54.7918||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 15:53:55.1412||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:53:55.1412||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:53:55.1481||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:53:55.1481||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:53:55.1655|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 15:53:55.1655|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 15:53:55.1655|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:53:55.1655|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:53:55.1794|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:53:55.1794|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:53:55.1794|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:53:55.1794|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:53:55.1794|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:53:55.1978|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:53:55.1978|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:53:55.1978|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:53:55.1978|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:53:55.2138|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:53:55.2429|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:53:55.2429|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:53:55.2429|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:53:55.2429|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:53:55.2429|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:53:55.2429|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:53:55.2429|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:53:55.2573|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:53:55.2573|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:53:55.2573|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:53:55.2573|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 15:53:55.2573|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 15:53:55.2573||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 15:53:55.2573|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:53:55.2573|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:53:55.2573|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 15:53:55.2573|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2464.0974ms 2026-01-02 15:53:55.2737|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:53:55.2737|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:53:55.2737|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 9.9071ms 2026-01-02 15:53:55.2737|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:53:55.2737|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2511.8009ms 200 application/json; charset=utf-8 2026-01-02 15:53:55.2737|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:53:55.2737||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:53:55.2737|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:53:55.2737|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.3107ms 200 application/json; charset=utf-8 2026-01-02 15:53:55.2737||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:53:55.2737|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:53:55.2899|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:53:55.2899|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:53:55.2899|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:53:55.2899|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:53:55.2899|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:53:55.3033||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:53:55.3033||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:53:55.3033||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 15:53:55.3033||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:53:55.3033||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 15:53:55.3260||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:53:55.3260||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:53:55.3260||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 15:53:55.6463||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 15:53:55.6500||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 15:53:55.6500|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 15:53:55.6500|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 391.4811ms 2026-01-02 15:53:55.6500|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:53:55.6500|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 415.6775ms 200 application/json; charset=utf-8 2026-01-02 15:53:55.7127||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:53:55.7127||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:53:55.7127||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:53:55.7310||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:53:55.7310||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:53:55.7310||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 15:53:56.1283||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:53:56.1340||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:53:56.1340||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:53:56.1502||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:53:56.1502||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:53:56.1502||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 15:53:56.5725||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:53:56.5725||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:53:56.5725||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:53:56.5979||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:53:56.6032||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:53:56.6032||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 15:53:57.0110||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:53:57.0110||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:53:57.0110||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:53:57.0338||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:53:57.0338||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:53:57.0399||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 15:53:57.4304||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:53:57.4304||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:53:57.4304||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:53:57.4523||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:53:57.4523||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:53:57.4523||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 15:53:57.8396||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:53:57.8396||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:53:57.8396||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:53:57.8574||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:53:57.8574|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 15:53:57.8688|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 15:53:57.8688|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:53:57.8688|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:53:57.8688|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:53:57.8823|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:53:57.8823|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:53:57.8823|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:53:57.8823|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:53:57.8975|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:53:57.8975|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:53:57.8975|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:53:57.8975|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:53:57.8975|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:53:57.9489|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:53:57.9489|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2656.1305ms 2026-01-02 15:53:57.9489|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:53:57.9489|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2676.8167ms 200 application/json; charset=utf-8 2026-01-02 15:54:03.5556|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 15:54:03.5556|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 15:54:03.5556|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:54:03.5556|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:54:03.5556|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.2852ms 204 2026-01-02 15:54:03.5556|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.1878ms 204 2026-01-02 15:54:03.5556|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 15:54:03.5718|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 15:54:03.5718|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:54:03.5718|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:54:03.5718|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:54:03.5718|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:54:03.5718|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:54:03.5718|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:54:03.5718|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 15:54:03.5718|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 15:54:03.5718|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 15:54:03.5849|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 15:54:03.5849|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:54:03.5849|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:54:03.5849|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 15:54:03.5849|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:54:03.5849|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 7.7339ms 2026-01-02 15:54:03.5849|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 15:54:03.5849|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 15:54:03.5849|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.151ms 200 application/json; charset=utf-8 2026-01-02 15:54:03.6049|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 15:54:03.6049|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 19.8058ms 2026-01-02 15:54:03.6049|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 15:54:03.6049|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 36.8707ms 200 application/json; charset=utf-8 2026-01-02 15:54:33.4273|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:54:33.4273|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:54:33.4273|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:54:33.4273|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:54:33.4273|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:54:33.4273|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:54:33.4447|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.4382ms 204 2026-01-02 15:54:33.4447|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.7171ms 204 2026-01-02 15:54:33.4447|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:54:33.4447|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.9089ms 204 2026-01-02 15:54:33.4614|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:54:33.4614|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:54:33.4614|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:54:33.4736|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:54:33.4736|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:54:33.4736|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:54:33.4736|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:54:33.4736|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:54:33.4736|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:54:33.4736|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:54:33.4736|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:54:33.4877|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:54:33.4877|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:54:33.4877|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:54:33.4877|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:54:33.4877|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 15:54:33.4877|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 15:54:33.4877|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:54:33.4877|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:54:33.4877||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 15:54:33.4877|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:54:33.4877|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 15:54:33.5026|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:54:33.5026||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:54:33.5026||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:54:33.5026|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 8.3234ms 2026-01-02 15:54:33.5026||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:54:33.5026|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:54:33.5026||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:54:33.5026|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 50.7862ms 200 application/json; charset=utf-8 2026-01-02 15:54:33.5274||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:54:33.5274||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:54:33.5274||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 15:54:33.5274||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:54:33.5338||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 15:54:33.5338||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 15:54:33.9127||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:54:33.9127||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:54:33.9127||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:54:33.9334||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:54:33.9334||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:54:33.9334||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 15:54:34.2789||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:54:34.2789||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:54:34.2859||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:54:34.2859||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:54:34.3007||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:54:34.3007||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 15:54:34.6530||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:54:34.6530||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:54:34.6590||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:54:34.6590||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:54:34.6755||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:54:34.6755||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 15:54:34.9285||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 15:54:34.9285||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 15:54:34.9285|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 15:54:34.9285|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1442.6844ms 2026-01-02 15:54:34.9407|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:54:34.9407|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1476.8666ms 200 application/json; charset=utf-8 2026-01-02 15:54:35.0187||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:54:35.0187||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:54:35.0187||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:54:35.0385||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:54:35.0385||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:54:35.0385||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 15:54:35.4010||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:54:35.4010||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:54:35.4010||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:54:35.4217||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:54:35.4241||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:54:35.4241||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 15:54:35.8172||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:54:35.8172||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:54:35.8172||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:54:35.8375||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:54:35.8461|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 15:54:35.8461|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 15:54:35.8461|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:54:35.8461|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:54:35.8461|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:54:35.8461|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:54:35.8639|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:54:35.8639|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:54:35.8639|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:54:35.8639|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:54:35.8639|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:54:35.8804|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:54:35.8804|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:54:35.8804|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:54:35.9033|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 15:54:35.9033|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 15:54:35.9033|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:54:35.9033|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:54:35.9091|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.766ms 204 2026-01-02 15:54:35.9091|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 15:54:35.9091|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.0263ms 204 2026-01-02 15:54:35.9091|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 15:54:35.9091|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:54:35.9091|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:54:35.9091|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:54:35.9091|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:54:35.9091|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:54:35.9247|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:54:35.9247|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 15:54:35.9247|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 15:54:35.9247|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 15:54:35.9247|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 15:54:35.9247|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:54:35.9247|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:54:35.9247|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:54:35.9247|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 15:54:35.9247|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2442.8522ms 2026-01-02 15:54:35.9247|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:54:35.9399|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:54:35.9399|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 11.0442ms 2026-01-02 15:54:35.9399|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2491.2207ms 200 application/json; charset=utf-8 2026-01-02 15:54:35.9399|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (7ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 15:54:35.9399|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 15:54:35.9399|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 31.9569ms 200 application/json; charset=utf-8 2026-01-02 15:54:35.9590|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 15:54:35.9590|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 29.2826ms 2026-01-02 15:54:35.9590|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 15:54:35.9590|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 46.0683ms 200 application/json; charset=utf-8 2026-01-02 15:54:39.8112|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:54:39.8112|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:54:39.8112|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:54:39.8112|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:54:39.8171|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:54:39.8171|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:54:39.8171|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.8ms 204 2026-01-02 15:54:39.8171|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.4094ms 204 2026-01-02 15:54:39.8171|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:54:39.8171|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.3436ms 204 2026-01-02 15:54:39.8171|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:54:39.8313|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:54:39.8313|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:54:39.8313|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:54:39.8313|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:54:39.8313|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:54:39.8313|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:54:39.8313|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:54:39.8313|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:54:39.8313|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:54:39.8313|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:54:39.8464|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:54:39.8464|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:54:39.8464|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:54:39.8464|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:54:39.8464|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 15:54:39.8464|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 15:54:39.8464|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:54:39.8464|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:54:39.8631||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 15:54:39.8631|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:54:39.8631|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 15:54:39.8631||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:54:39.8631||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:54:39.8631|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:54:39.8781||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:54:39.8781||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:54:39.8781|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 22.1729ms 2026-01-02 15:54:39.8781|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:54:39.8781|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 59.8071ms 200 application/json; charset=utf-8 2026-01-02 15:54:39.9038||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:54:39.9038||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:54:39.9098||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:54:39.9098||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 15:54:39.9098||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 15:54:39.9098||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 15:54:40.2771||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 15:54:40.2771||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 15:54:40.2879|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 15:54:40.2879|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 428.1107ms 2026-01-02 15:54:40.2879|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:54:40.2879|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 462.8157ms 200 application/json; charset=utf-8 2026-01-02 15:54:41.3108||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:54:41.3108||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:54:41.3108||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:54:41.3309||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:54:41.3363||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:54:41.3363||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 15:54:41.6838|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 15:54:41.6838|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 15:54:41.6838|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:54:41.6838|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:54:41.6838|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.5394ms 204 2026-01-02 15:54:41.6941|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.1834ms 204 2026-01-02 15:54:41.6941|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 15:54:41.6941|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 15:54:41.6941|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:54:41.6941||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:54:41.6941|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:54:41.6941|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:54:41.7114|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:54:41.7114||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:54:41.7114|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:54:41.7114|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:54:41.7114|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 15:54:41.7114||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:54:41.7114|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 15:54:41.7114|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 15:54:41.7273|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 15:54:41.7273|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:54:41.7273|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:54:41.7273|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 15:54:41.7273||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:54:41.7273|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:54:41.7273||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:54:41.7273|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 9.0595ms 2026-01-02 15:54:41.7273|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 15:54:41.7273||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 15:54:41.7273|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 15:54:41.7437|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 47.6874ms 200 application/json; charset=utf-8 2026-01-02 15:54:41.7633|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 15:54:41.7633|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 34.7555ms 2026-01-02 15:54:41.7633|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 15:54:41.7633|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 70.091ms 200 application/json; charset=utf-8 2026-01-02 15:54:42.0761||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:54:42.0761||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:54:42.0761||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:54:42.0970||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:54:42.1003||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:54:42.1003||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 15:54:42.4710||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:54:42.4710||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:54:42.4789||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:54:42.4945||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:54:42.4945||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:54:42.4945||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 15:54:42.8514||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:54:42.8514||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:54:42.8514||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:54:42.8753||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:54:42.8753||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:54:42.8753||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 15:54:43.2384||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:54:43.2424||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:54:43.2424||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:54:43.2570||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:54:43.2570|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 15:54:43.2729|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 15:54:43.2729|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:54:43.2729|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:54:43.2729|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:54:43.2729|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:54:43.2883|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:54:43.2883|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:54:43.2883|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:54:43.2883|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:54:43.2883|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:54:43.3054|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:54:43.3054|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:54:43.3054|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:54:43.3625|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:54:43.3659|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3508.8091ms 2026-01-02 15:54:43.3659|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:54:43.3659|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3544.1171ms 200 application/json; charset=utf-8 2026-01-02 15:58:37.5512|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:58:37.5512|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:58:37.5512|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:58:37.5512|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:58:37.5512|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:58:37.5512|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:58:37.5512|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.6358ms 204 2026-01-02 15:58:37.5618|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.2188ms 204 2026-01-02 15:58:37.5618|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.4249ms 204 2026-01-02 15:58:37.5618|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:58:37.5618|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:58:37.5618|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:58:37.5618|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:58:37.5618|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:58:37.5618|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:58:37.5618|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:58:37.5772|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:58:37.5772|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:58:37.5772|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:58:37.5772|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:58:37.5772|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:58:37.5772|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:58:37.5772|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:58:37.5772|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:58:37.5772|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:58:37.5772|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 15:58:37.5772|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 15:58:37.5772|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:58:37.5772||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 15:58:37.5925|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:58:37.6244|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:58:37.6244||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:58:37.6244||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:58:37.6244|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 15:58:37.6244|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:58:37.6244||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:58:37.6244|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 43.1069ms 2026-01-02 15:58:37.6244||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:58:37.6244|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:58:37.6405|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 73.1167ms 200 application/json; charset=utf-8 2026-01-02 15:58:37.6405||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:58:37.6405||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 15:58:37.6405||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 15:58:37.6405||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:58:37.6569||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:58:37.6569||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 15:58:38.0563||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:58:38.0613||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:58:38.0613||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:58:38.0791||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:58:38.0791||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:58:38.0791||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 15:58:38.4345||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:58:38.4382||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:58:38.4382||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:58:38.4537||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:58:38.4537||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:58:38.4537||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 15:58:38.8463||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:58:38.8463||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:58:38.8463||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:58:38.8663||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:58:38.8663||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:58:38.8739||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 15:58:39.0799||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 15:58:39.0799||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 15:58:39.0799|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 15:58:39.0799|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1496.3208ms 2026-01-02 15:58:39.0799|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:58:39.0799|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1522.6749ms 200 application/json; charset=utf-8 2026-01-02 15:58:39.2104||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:58:39.2104||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:58:39.2104||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:58:39.2259||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:58:39.2259||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:58:39.2259||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 15:58:39.5942||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:58:39.5942||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:58:39.5942||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:58:39.6154||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:58:39.6154||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:58:39.6154||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 15:58:39.9659||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:58:39.9684||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:58:39.9684||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:58:39.9832||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:58:39.9832|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 15:58:39.9832|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 15:58:39.9832|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:58:40.0015|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:58:40.0015|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:58:40.0015|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:58:40.0015|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:58:40.0015|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:58:40.0147|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:58:40.0147|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:58:40.0147|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:58:40.0147|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:58:40.0147|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:58:40.0147|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:58:40.0679|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:58:40.0679|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2480.0869ms 2026-01-02 15:58:40.0679|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:58:40.0679|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2507.6864ms 200 application/json; charset=utf-8 2026-01-02 15:58:54.4828|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:58:54.4828|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:58:54.4833|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:58:54.4833|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:58:54.4833|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:58:54.4833|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:58:54.4833|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.3045ms 204 2026-01-02 15:58:54.4833|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.4439ms 204 2026-01-02 15:58:54.4833|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.9684ms 204 2026-01-02 15:58:54.4987|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:58:54.4987|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:58:54.4987|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:58:54.4987|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:58:54.4987|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:58:54.4987|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:58:54.4987|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:58:54.4987|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:58:54.4987|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:58:54.4987|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:58:54.5152|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:58:54.5152|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:58:54.5152|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:58:54.5152|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:58:54.5152|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 15:58:54.5152|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:58:54.5152|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:58:54.5152||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 15:58:54.5152|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:58:54.5152|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 15:58:54.5323||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:58:54.5323|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:58:54.5323|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:58:54.5323||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:58:54.5323||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:58:54.5323|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 15:58:54.5469||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:58:54.5469|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:58:54.5469|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 17.6301ms 2026-01-02 15:58:54.5469|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:58:54.5469|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 51.1751ms 200 application/json; charset=utf-8 2026-01-02 15:58:54.5469||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:58:54.5639||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 15:58:54.5639||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 15:58:54.5639||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:58:54.5639||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:58:54.5773||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 15:58:54.9237||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:58:54.9237||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:58:54.9237||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:58:54.9529||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:58:54.9529||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:58:54.9529||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 15:58:55.3462||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:58:55.3462||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:58:55.3462||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:58:55.3666||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:58:55.3666||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:58:55.3666||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 15:58:55.6987||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:58:55.7029||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:58:55.7029||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:58:55.7183||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:58:55.7183||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:58:55.7183||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 15:58:55.9695||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 15:58:55.9695||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 15:58:55.9695|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 15:58:55.9695|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1453.0138ms 2026-01-02 15:58:55.9695|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:58:55.9695|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1477.4855ms 200 application/json; charset=utf-8 2026-01-02 15:58:56.0839||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:58:56.0839||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:58:56.0839||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:58:56.1045||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:58:56.1091||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:58:56.1091||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 15:58:56.4942||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:58:56.4987||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:58:56.4987||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:58:56.4987||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:58:56.5171||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:58:56.5171||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 15:58:56.8838||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:58:56.8838||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:58:56.8928||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:58:56.9065||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:58:56.9065|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 15:58:56.9065|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 15:58:56.9234|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:58:56.9234|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:58:56.9234|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:58:56.9234|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:58:56.9370|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:58:56.9370|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:58:56.9370|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:58:56.9370|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:58:56.9525|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:58:56.9525|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:58:56.9525|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:58:56.9851|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:58:57.0230|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:58:57.0230|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2500.3637ms 2026-01-02 15:58:57.0230|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:58:57.0230|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2530.8851ms 200 application/json; charset=utf-8 2026-01-02 15:59:01.7489|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:59:01.7489|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:59:01.7489|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:59:01.7489|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:59:01.7489|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:59:01.7489|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:59:01.7489|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.5767ms 204 2026-01-02 15:59:01.7489|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.7773ms 204 2026-01-02 15:59:01.7489|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.3341ms 204 2026-01-02 15:59:01.7650|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 15:59:01.7650|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 15:59:01.7650|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 15:59:01.7650|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:59:01.7650|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:59:01.7650|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 15:59:01.7650|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:59:01.7650|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:59:01.7650|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 15:59:01.7650|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:59:01.7799|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:59:01.7799|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 15:59:01.7799|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:59:01.7799|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:59:01.7799|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:59:01.7799|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 15:59:01.7799|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 15:59:01.7799|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 15:59:01.7799|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:59:01.7799||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 15:59:01.7799|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 15:59:01.7971|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:59:01.7971|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 15:59:01.7971||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:59:01.7971||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 15:59:01.7971|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:59:01.7971|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 14.0017ms 2026-01-02 15:59:01.7971||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:59:01.7971|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 15:59:01.8113|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 41.5528ms 200 application/json; charset=utf-8 2026-01-02 15:59:01.7971||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 15:59:01.8113||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:59:01.8309||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 15:59:01.8309||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 15:59:01.8309||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 15:59:01.8309||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:59:01.8309||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 15:59:02.2180||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:59:02.2180||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:59:02.2180||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:59:02.2415||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:59:02.2415||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:59:02.2415||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 15:59:02.6073||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:59:02.6118||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:59:02.6118||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:59:02.6280||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:59:02.6280||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:59:02.6280||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 15:59:02.9677||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:59:02.9677||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:59:02.9677||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:59:02.9859||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:59:02.9859||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:59:02.9859||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 15:59:03.2329||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 15:59:03.2364||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 15:59:03.2364|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 15:59:03.2364|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1447.9394ms 2026-01-02 15:59:03.2364|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 15:59:03.2364|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1471.0428ms 200 application/json; charset=utf-8 2026-01-02 15:59:03.3644||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:59:03.3644||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:59:03.3644||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:59:03.3846||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:59:03.3846||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:59:03.3900||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 15:59:03.7192||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:59:03.7192||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:59:03.7192||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:59:03.7381||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:59:03.7381||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 15:59:03.7381||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 15:59:04.1047||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 15:59:04.1047||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 15:59:04.1047||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 15:59:04.1227||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 15:59:04.1305|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 15:59:04.1305|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 15:59:04.1305|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:59:04.1305|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:59:04.1305|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:59:04.1453|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:59:04.1453|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:59:04.1453|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (0ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:59:04.1453|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:59:04.1453|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:59:04.1453|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:59:04.1602|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:59:04.1602|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 15:59:04.1602|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 15:59:04.2015|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 15:59:04.2015|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2413.6152ms 2026-01-02 15:59:04.2015|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 15:59:04.2015|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2440.9648ms 200 application/json; charset=utf-8 2026-01-02 16:07:27.8207|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 16:07:27.8207|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 16:07:27.8207|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:07:27.8207|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:07:27.8207|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 16:07:27.8207|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.9126ms 204 2026-01-02 16:07:27.8207|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.6837ms 204 2026-01-02 16:07:27.8207|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:07:27.8319|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 16:07:27.8319|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.0735ms 204 2026-01-02 16:07:27.8319|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 16:07:27.8319|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:07:27.8319|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:07:27.8319|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 16:07:27.8319|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:07:27.8319|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:07:27.8319|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:07:27.8319|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:07:27.8319|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:07:27.8477|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:07:27.8477|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 16:07:27.8477|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 16:07:27.8477|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:07:27.8477|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 16:07:27.8477|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 16:07:27.8477|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 16:07:27.8477|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:07:27.8477|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:07:27.8477|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 16:07:27.8627||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 16:07:27.8627|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 16:07:27.8627|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 16:07:27.8627|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 14.812ms 2026-01-02 16:07:27.8627|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 16:07:27.8627|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.9874ms 200 application/json; charset=utf-8 2026-01-02 16:07:27.8627||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 16:07:27.8627|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:07:27.8627||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 16:07:27.8800||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 16:07:27.8800||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 16:07:27.8982||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 16:07:27.8982||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:07:27.8982||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 16:07:27.8982||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 16:07:27.9105||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 16:07:27.9105||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 16:07:28.2992||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:07:28.3042||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:07:28.3042||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:07:28.3214||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:07:28.3214||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:07:28.3214||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 16:07:28.6644||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:07:28.6644||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:07:28.6644||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:07:28.6867||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:07:28.6867||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:07:28.6941||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 16:07:29.0325||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:07:29.0375||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:07:29.0375||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:07:29.0584||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:07:29.0584||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:07:29.0683||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 16:07:29.3280||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 16:07:29.3335||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 16:07:29.3335|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 16:07:29.3335|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1476.5544ms 2026-01-02 16:07:29.3335|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 16:07:29.3335|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1501.6877ms 200 application/json; charset=utf-8 2026-01-02 16:07:29.4254||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:07:29.4254||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:07:29.4254||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:07:29.4469||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:07:29.4469||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:07:29.4469||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 16:07:29.8120||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:07:29.8120||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:07:29.8185||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:07:29.8316||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:07:29.8316||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:07:29.8316||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 16:07:30.1591||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:07:30.1636||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:07:30.1636||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:07:30.1826||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:07:30.1950|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 16:07:30.1950|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 16:07:30.1950|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:07:30.2068|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:07:30.2068|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:07:30.2068|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:07:30.2068|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:07:30.2068|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:07:30.2223|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:07:30.2223|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:07:30.2223|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:07:30.2223|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:07:30.2399|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:07:30.2399|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:07:30.2903|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 16:07:30.2903|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2436.0555ms 2026-01-02 16:07:30.2903|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 16:07:30.2903|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2461.4635ms 200 application/json; charset=utf-8 2026-01-02 16:09:11.2584|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 16:09:11.2584|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 16:09:11.2584|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 16:09:11.2584|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:09:11.2584|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.5443ms 204 2026-01-02 16:09:11.2584|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:09:11.2584|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:09:11.2584|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.159ms 204 2026-01-02 16:09:11.2709|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.0228ms 204 2026-01-02 16:09:11.2709|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 16:09:11.2709|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:09:11.2709|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:09:11.2709|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 16:09:11.2709|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 16:09:11.2709|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:09:11.2709|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:09:11.2709|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:09:11.2709|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 16:09:11.2709|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:09:11.2709|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:09:11.2709|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 16:09:11.2709|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:09:11.2863|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:09:11.2863|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:09:11.2863|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 16:09:11.2863|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 16:09:11.2863|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 16:09:11.2863|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 16:09:11.2863|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 16:09:11.2863||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 16:09:11.2863|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:09:11.2863|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 16:09:11.2863||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 16:09:11.2863|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 12.5524ms 2026-01-02 16:09:11.2863|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 16:09:11.3019||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 16:09:11.3019|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:09:11.3019|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 30.9701ms 200 application/json; charset=utf-8 2026-01-02 16:09:11.3019||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 16:09:11.3019||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 16:09:11.3197||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 16:09:11.3197||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 16:09:11.3197||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 16:09:11.3197||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 16:09:11.3197||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:09:11.3197||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 16:09:11.6620||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 16:09:11.6620||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 16:09:11.6620|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 16:09:11.6620|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 381.6637ms 2026-01-02 16:09:11.6620|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 16:09:11.6783|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 402.1385ms 200 application/json; charset=utf-8 2026-01-02 16:09:11.7061||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:09:11.7119||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:09:11.7119||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:09:11.7307||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:09:11.7307||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:09:11.7307||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 16:09:12.1095||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:09:12.1095||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:09:12.1145||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:09:12.1145||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:09:12.1314||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:09:12.1314||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 16:09:12.4963||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:09:12.4963||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:09:12.4963||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:09:12.5139||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:09:12.5139||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:09:12.5206||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 16:09:12.8722||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:09:12.8722||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:09:12.8823||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:09:12.8968||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:09:12.8968||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:09:12.8968||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 16:09:13.2833||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:09:13.2868||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:09:13.2868||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:09:13.2868||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:09:13.3041||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:09:13.3041||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 16:09:13.6460||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:09:13.6460||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:09:13.6460||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:09:13.6647||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:09:13.6647|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 16:09:13.6769|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 16:09:13.6769|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:09:13.6769|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:09:13.6769|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:09:13.6769|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:09:13.6769|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:09:13.6954|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:09:13.6954|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:09:13.6954|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:09:13.6954|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:09:13.7100|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:09:13.7100|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:09:13.7100|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:09:13.7508|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 16:09:13.7508|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2459.7378ms 2026-01-02 16:09:13.7558|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 16:09:13.7558|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2481.3248ms 200 application/json; charset=utf-8 2026-01-02 16:09:26.4887|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 16:09:26.4887|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 16:09:26.4887|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 16:09:26.4916|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:09:26.4916|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:09:26.4916|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:09:26.4916|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.3942ms 204 2026-01-02 16:09:26.4916|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.2305ms 204 2026-01-02 16:09:26.4916|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.8272ms 204 2026-01-02 16:09:26.4916|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 16:09:26.5076|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 16:09:26.5076|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 16:09:26.5076|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:09:26.5076|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:09:26.5076|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:09:26.5076|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:09:26.5076|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:09:26.5076|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:09:26.5076|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:09:26.5218|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:09:26.5218|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:09:26.5218|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 16:09:26.5218|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 16:09:26.5218|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 16:09:26.5218|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 16:09:26.5218|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 16:09:26.5218|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 16:09:26.5218|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:09:26.5218||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 16:09:26.5218|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:09:26.5218|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:09:26.5218|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 16:09:26.5373||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 16:09:26.5373|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 16:09:26.5373||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 16:09:26.5373|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 8.1776ms 2026-01-02 16:09:26.5373||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 16:09:26.5373|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 16:09:26.5373||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 16:09:26.5373|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 36.4257ms 200 application/json; charset=utf-8 2026-01-02 16:09:26.5598||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 16:09:26.5598||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 16:09:26.5598||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 16:09:26.5598||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:09:26.5598||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 16:09:26.5694||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 16:09:26.9273||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 16:09:26.9317||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 16:09:26.9317|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 16:09:26.9317|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 405.0746ms 2026-01-02 16:09:26.9317|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 16:09:26.9317|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 431.5291ms 200 application/json; charset=utf-8 2026-01-02 16:09:27.9928||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:09:27.9928||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:09:27.9928||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:09:28.0123||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:09:28.0123||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:09:28.0123||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 16:09:28.3835||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:09:28.3835||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:09:28.3835||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:09:28.4063||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:09:28.4063||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:09:28.4128||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 16:09:28.7913||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:09:28.7913||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:09:28.7913||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:09:28.8151||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:09:28.8197||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:09:28.8197||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 16:09:29.2032||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:09:29.2032||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:09:29.2120||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:09:29.2120||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:09:29.2275||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:09:29.2275||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 16:09:29.6051||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:09:29.6051||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:09:29.6051||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:09:29.6237||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:09:29.6237||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:09:29.6237||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 16:09:29.9760||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:09:29.9760||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:09:29.9760||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:09:29.9974||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:09:29.9974|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 16:09:30.0111|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 16:09:30.0111|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:09:30.0111|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:09:30.0111|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:09:30.0218|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:09:30.0218|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:09:30.0218|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:09:30.0218|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:09:30.0218|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:09:30.0393|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:09:30.0393|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:09:30.0393|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:09:30.0393|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:09:30.0927|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 16:09:30.0927|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3565.0364ms 2026-01-02 16:09:30.0927|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 16:09:30.0927|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3592.9207ms 200 application/json; charset=utf-8 2026-01-02 16:10:26.2972|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 16:10:26.2972|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 16:10:26.2972|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 16:10:26.2972|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:10:26.2972|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:10:26.2972|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:10:26.2972|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.3129ms 204 2026-01-02 16:10:26.3100|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.5743ms 204 2026-01-02 16:10:26.3100|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.7683ms 204 2026-01-02 16:10:26.3100|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 16:10:26.3100|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 16:10:26.3100|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 16:10:26.3100|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:10:26.3100|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:10:26.3254|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:10:26.3100|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:10:26.3100|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:10:26.3254|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:10:26.3254|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:10:26.3254|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:10:26.3254|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 16:10:26.3254|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 16:10:26.3254|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:10:26.3254|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 16:10:26.3254|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 16:10:26.3254|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 16:10:26.3254||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 16:10:26.3254|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:10:26.3254|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 16:10:26.3254|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:10:26.3254||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 16:10:26.3254|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:10:26.3422|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 16:10:26.3422||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 16:10:26.3422|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 16:10:26.3422||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 16:10:26.3422|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 8.1045ms 2026-01-02 16:10:26.3422||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 16:10:26.3422|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 16:10:26.3422|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 33.8831ms 200 application/json; charset=utf-8 2026-01-02 16:10:26.3608||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 16:10:26.3608||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 16:10:26.3608||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 16:10:26.3608||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:10:26.3608||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 16:10:26.3608||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 16:10:26.7218||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:10:26.7218||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:10:26.7218||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:10:26.7444||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:10:26.7491||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:10:26.7491||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 16:10:26.7651||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 16:10:26.7651||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 16:10:26.7651|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 16:10:26.7651|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 441.0111ms 2026-01-02 16:10:26.7651|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 16:10:26.7651|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 461.3788ms 200 application/json; charset=utf-8 2026-01-02 16:10:27.1062||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:10:27.1062||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:10:27.1062||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:10:27.1227||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:10:27.1227||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:10:27.1227||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 16:10:27.5151||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:10:27.5151||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:10:27.5151||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:10:27.5326||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:10:27.5326||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:10:27.5326||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 16:10:27.8632||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:10:27.8632||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:10:27.8632||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:10:27.8846||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:10:27.8877||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:10:27.8877||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 16:10:28.2331||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:10:28.2331||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:10:28.2331||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:10:28.2528||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:10:28.2528||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:10:28.2528||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 16:10:28.5902||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:10:28.5937||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:10:28.5937||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:10:28.6093||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:10:28.6093|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 16:10:28.6491|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (27ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 16:10:28.6530|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:10:28.6530|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:10:28.6530|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:10:28.6530|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:10:28.6684|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:10:28.6684|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:10:28.6684|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:10:28.6684|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:10:28.6684|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:10:28.6841|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:10:28.6841|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:10:28.6841|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:10:28.7336|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 16:10:28.7336|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2402.9571ms 2026-01-02 16:10:28.7336|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 16:10:28.7336|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2427.5959ms 200 application/json; charset=utf-8 2026-01-02 16:10:42.7449|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 16:10:42.7449|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 16:10:42.7449|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 16:10:42.7449|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:10:42.7528|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:10:42.7528|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:10:42.7528|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.5261ms 204 2026-01-02 16:10:42.7528|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.2514ms 204 2026-01-02 16:10:42.7528|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.0246ms 204 2026-01-02 16:10:42.7654|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 16:10:42.7654|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 16:10:42.7654|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 16:10:42.7654|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:10:42.7654|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:10:42.7654|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:10:42.7654|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:10:42.7804|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:10:42.7804|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:10:42.7804|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:10:42.7804|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:10:42.7804|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 16:10:42.7804|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 16:10:42.7804|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:10:42.7804|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 16:10:42.7804|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 16:10:42.7960|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 16:10:42.7960|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:10:42.7960|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:10:42.7960|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 16:10:42.7960|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 16:10:42.7960||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 16:10:42.7960|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 16:10:42.7960|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 10.7545ms 2026-01-02 16:10:42.7960|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 16:10:42.8121|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 46.6826ms 200 application/json; charset=utf-8 2026-01-02 16:10:42.8121||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 16:10:42.8121||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 16:10:42.8378||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 16:10:42.8442||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 16:10:42.8442|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (47ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:10:42.8442||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 16:10:42.8442||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 16:10:42.8597||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 16:10:42.8795||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 16:10:42.8795||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:10:42.8795||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 16:10:43.2027||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:10:43.2027||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:10:43.2027||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:10:43.2229||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:10:43.2229||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:10:43.2229||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 16:10:43.6165||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:10:43.6165||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:10:43.6165||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:10:43.6321||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:10:43.6321||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:10:43.6387||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 16:10:43.9727||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:10:43.9727||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:10:43.9727||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:10:43.9924||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:10:43.9924||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:10:44.0023||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 16:10:44.2322||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 16:10:44.2375||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 16:10:44.2375|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 16:10:44.2375|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1441.3753ms 2026-01-02 16:10:44.2375|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 16:10:44.2375|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1476.6083ms 200 application/json; charset=utf-8 2026-01-02 16:10:44.3308||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:10:44.3308||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:10:44.3308||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:10:44.3524||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:10:44.3615||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:10:44.3615||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 16:10:44.7548||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:10:44.7548||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:10:44.7664||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:10:44.7817||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:10:44.7817||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:10:44.7817||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 16:10:45.1577||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:10:45.1577||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:10:45.1577||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:10:45.1843||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:10:45.1924|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 16:10:45.1924|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 16:10:45.1924|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:10:45.2056|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:10:45.2056|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:10:45.2056|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:10:45.2056|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:10:45.2179|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:10:45.2179|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:10:45.2179|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:10:45.2179|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:10:45.2179|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:10:45.2179|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:10:45.2324|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:10:45.2715|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 16:10:45.2715|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2476.1599ms 2026-01-02 16:10:45.2715|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 16:10:45.2715|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2508.6338ms 200 application/json; charset=utf-8 2026-01-02 16:11:10.2758|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 16:11:10.2758|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 16:11:10.2758|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 16:11:10.2758|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:11:10.2758|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:11:10.2833|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:11:10.2833|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.5761ms 204 2026-01-02 16:11:10.2833|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.7207ms 204 2026-01-02 16:11:10.2833|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.0443ms 204 2026-01-02 16:11:10.2833|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 16:11:10.2833|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 16:11:10.2833|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 16:11:10.2833|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:11:10.2833|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:11:10.2995|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:11:10.2995|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:11:10.2995|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:11:10.2995|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:11:10.2995|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:11:10.2995|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:11:10.2995|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:11:10.2995|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 16:11:10.2995|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 16:11:10.2995|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 16:11:10.2995|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 16:11:10.2995|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 16:11:10.2995|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 16:11:10.2995|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:11:10.2995|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:11:10.3152||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 16:11:10.3152|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 16:11:10.3152|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 16:11:10.3152||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 16:11:10.3152|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.6118ms 2026-01-02 16:11:10.3152||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 16:11:10.3152|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 16:11:10.3330|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.7297ms 200 application/json; charset=utf-8 2026-01-02 16:11:10.3516||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 16:11:10.3516||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 16:11:10.3516|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (43ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:11:10.3620||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 16:11:10.3620||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 16:11:10.3620||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 16:11:10.3903||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 16:11:10.3934||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:11:10.3934||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 16:11:10.6911||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 16:11:10.6911||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 16:11:10.6911|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 16:11:10.6911|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 387.9296ms 2026-01-02 16:11:10.6911|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 16:11:10.7063|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 411.2047ms 200 application/json; charset=utf-8 2026-01-02 16:11:10.7367||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:11:10.7367||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:11:10.7367||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:11:10.7562||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:11:10.7562||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:11:10.7562||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 16:11:11.1378||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:11:11.1431||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:11:11.1431||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:11:11.1608||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:11:11.1608||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:11:11.1608||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 16:11:11.5355||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:11:11.5355||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:11:11.5355||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:11:11.5587||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:11:11.5587||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:11:11.5656||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 16:11:11.9211||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:11:11.9245||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:11:11.9245||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:11:11.9245||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:11:11.9427||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:11:11.9427||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 16:11:12.3169||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:11:12.3169||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:11:12.3169||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:11:12.3422||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:11:12.3468||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:11:12.3468||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 16:11:12.7156||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:11:12.7156||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:11:12.7221||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:11:12.7221||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:11:12.7417|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 16:11:12.7417|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 16:11:12.7536|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:11:12.7536|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:11:12.7536|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:11:12.7536|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:11:12.7689|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:11:12.7689|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:11:12.7689|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:11:12.7689|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:11:12.7689|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:11:12.7859|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:11:12.7859|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:11:12.7859|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:11:12.8326|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 16:11:12.8326|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2523.7174ms 2026-01-02 16:11:12.8326|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 16:11:12.8326|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2549.8994ms 200 application/json; charset=utf-8 2026-01-02 16:31:12.6690|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:21307/ACCOUNTSERVICES/iisintegration 0 2026-01-02 16:31:12.6690|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2.9727ms 202 2026-01-02 16:55:51.8196||DEBUG|AccountManagement.Program|init main function 2026-01-02 16:55:54.5321|30000|WARN|Microsoft.EntityFrameworkCore.Model.Validation|No type was specified for the decimal column 'Amount' on entity type 'WaysMeans'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values using 'HasColumnType()'. 2026-01-02 16:55:54.5453|30000|WARN|Microsoft.EntityFrameworkCore.Model.Validation|No type was specified for the decimal column 'CurrentBalance' on entity type 'SourceAccountManagements'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values using 'HasColumnType()'. 2026-01-02 16:55:54.5453|30000|WARN|Microsoft.EntityFrameworkCore.Model.Validation|No type was specified for the decimal column 'OverdraftLimit' on entity type 'SourceAccountManagements'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values using 'HasColumnType()'. 2026-01-02 16:55:54.5793|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:55:54.8227|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (15ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2026-01-02 16:55:54.8431|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (13ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2026-01-02 16:55:54.8481|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT 1 2026-01-02 16:55:54.8481|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT OBJECT_ID(N'[__EFMigrationsHistory]'); 2026-01-02 16:55:54.8654|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [MigrationId], [ProductVersion] FROM [__EFMigrationsHistory] ORDER BY [MigrationId]; 2026-01-02 16:55:54.8801|20405|INFO|Microsoft.EntityFrameworkCore.Migrations|No migrations were applied. The database is already up to date. 2026-01-02 16:55:55.0412||INFO|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|User profile not available. Using 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET\4.0.30319.0\AutoGenKeys\S-1-5-82-636400548-2315632189-4083574877-3698939047-2307078153\DataProtection' as key repository and Windows DPAPI to encrypt keys at rest. 2026-01-02 16:55:55.1725|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2026-01-02 16:55:55.1725|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 16:55:55.1725|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 16:55:55.1725|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 16:55:55.2390|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:55:55.2390|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:55:55.2390|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:55:55.2390|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:55:55.2390|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 77.6956ms 204 2026-01-02 16:55:55.2390|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 77.6469ms 204 2026-01-02 16:55:55.2390|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 77.6318ms 204 2026-01-02 16:55:55.2390|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 77.632ms 204 2026-01-02 16:55:55.2660|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 16:55:55.2660|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 16:55:55.2730|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2026-01-02 16:55:55.2730|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 16:55:55.4901|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:55:55.4901|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:55:55.4901|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:55:55.4901|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:55:55.4901|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:55:55.5024|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:55:55.5024|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:55:55.5024|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:55:55.5024|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:55:55.5024|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:55:55.5024|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:55:55.5024|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:55:55.5024|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 16:55:55.5024|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 16:55:55.5024|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 16:55:55.5024|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 16:55:55.5406|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 16:55:55.5406|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:55:55.5524|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 16:55:55.5524|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 16:55:55.5524|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 16:55:55.5838|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:55:55.5838|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:55:55.5838||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 16:55:55.7182|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 16:55:55.7797|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (32ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:55:55.7797|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (36ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 16:55:55.7849|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 16:55:55.7849||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 16:55:55.7993||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 16:55:55.7993|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 16:55:55.8171|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 258.9408ms 2026-01-02 16:55:55.8171|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 271.3877ms 2026-01-02 16:55:55.8171|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 16:55:55.8171|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 16:55:55.8171|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 550.3427ms 200 application/json; charset=utf-8 2026-01-02 16:55:55.8171|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 558.0663ms 200 application/json; charset=utf-8 2026-01-02 16:55:55.8171||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 16:55:55.8315||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 16:55:55.9975||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 16:55:55.9975||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 16:55:56.0259||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 16:55:56.0259||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:55:56.0259||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 16:55:56.0259||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 16:55:56.4009||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:55:56.4203||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:55:56.4242||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:55:56.4462||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:55:56.4462||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:55:56.4563||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 16:55:56.7865||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:55:56.7865||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:55:56.7993||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:55:56.8178||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:55:56.8178||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:55:56.8178||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 16:55:57.1430||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:55:57.1430||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:55:57.1490||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:55:57.1490||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:55:57.1652||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:55:57.1652||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 16:55:57.4594||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 16:55:57.4689||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 16:55:57.4689|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 16:55:57.4788|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1919.6218ms 2026-01-02 16:55:57.4788|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 16:55:57.4788|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2216.1265ms 200 application/json; charset=utf-8 2026-01-02 16:55:57.4788||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:55:57.4788||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:55:57.4921||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:55:57.4921||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:55:57.5076||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:55:57.5076||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 16:55:57.8257||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:55:57.8257||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:55:57.8257||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:55:57.8457||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:55:57.8457||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:55:57.8513||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 16:55:58.1733||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:55:58.1733||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:55:58.1791||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:55:58.1944||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:55:58.2804|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 16:55:58.3150|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 16:55:58.3362|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:55:58.3561|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:55:58.3561|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:55:58.3561|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:55:58.3682|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:55:58.3682|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:55:58.3682|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:55:58.3682|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:55:58.3682|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:55:58.3858|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:55:58.3858|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:55:58.3858|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:55:58.5081|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 16:55:58.5258|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2968.5301ms 2026-01-02 16:55:58.5258|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 16:55:58.5258|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3256.1848ms 200 application/json; charset=utf-8 2026-01-02 16:56:32.3898|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 16:56:32.3898|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 16:56:32.3898|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 16:56:32.3898|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:56:32.3898|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:56:32.3898|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:56:32.3898|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.7694ms 204 2026-01-02 16:56:32.3898|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.9341ms 204 2026-01-02 16:56:32.4050|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.1671ms 204 2026-01-02 16:56:32.4050|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 16:56:32.4050|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 16:56:32.4050|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 16:56:32.4050|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:56:32.4050|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:56:32.4050|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:56:32.4050|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:56:32.4050|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:56:32.4050|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:56:32.4050|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:56:32.4050|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:56:32.4205|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:56:32.4205|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 16:56:32.4205|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 16:56:32.4205|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 16:56:32.4205|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 16:56:32.4205|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 16:56:32.4205||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 16:56:32.4205|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 16:56:32.4205|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:56:32.4205|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:56:32.4374||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 16:56:32.4374||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 16:56:32.4374|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 16:56:32.4374|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:56:32.4374|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 16:56:32.4374|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 19.0075ms 2026-01-02 16:56:32.4374||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 16:56:32.4374|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 16:56:32.4542|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 46.1964ms 200 application/json; charset=utf-8 2026-01-02 16:56:32.4542||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 16:56:32.4542||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 16:56:32.4683||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 16:56:32.4683||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 16:56:32.4683||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 16:56:32.4683||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:56:32.4683||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 16:56:32.8332||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 16:56:32.8332||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 16:56:32.8426|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 16:56:32.8426|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 417.6677ms 2026-01-02 16:56:32.8426|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 16:56:32.8426|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 443.3687ms 200 application/json; charset=utf-8 2026-01-02 16:56:32.8619||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:56:32.8619||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:56:32.8619||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:56:32.8915||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:56:32.8915||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:56:32.8915||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 16:56:33.2743||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:56:33.2743||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:56:33.2743||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:56:33.2953||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:56:33.2990||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:56:33.2990||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 16:56:33.6435||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:56:33.6435||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:56:33.6435||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:56:33.6720||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:56:33.6720||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:56:33.6720||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 16:56:34.0298||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:56:34.0340||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:56:34.0340||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:56:34.0510||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:56:34.0510||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:56:34.0510||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 16:56:34.4248||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:56:34.4248||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:56:34.4248||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:56:34.4503||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:56:34.4545||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:56:34.4545||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 16:56:34.7950||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:56:34.7987||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:56:34.7987||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:56:34.8169||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:56:34.8306|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 16:56:34.8306|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 16:56:34.8306|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:56:34.8458|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:56:34.8458|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:56:34.8458|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:56:34.8458|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:56:34.8458|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:56:34.8458|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:56:34.8610|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:56:34.8610|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:56:34.8610|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:56:34.8738|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:56:34.8738|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:56:34.9384|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 16:56:34.9384|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2508.328ms 2026-01-02 16:56:34.9384|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 16:56:34.9384|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2539.4455ms 200 application/json; charset=utf-8 2026-01-02 16:57:24.7141|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 16:57:24.7141|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 16:57:24.7141|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 16:57:24.7141|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:57:24.7141|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:57:24.7141|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:57:24.7230|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.0623ms 204 2026-01-02 16:57:24.7230|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.3053ms 204 2026-01-02 16:57:24.7230|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 16:57:24.7230|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.2697ms 204 2026-01-02 16:57:24.7230|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 16:57:24.7230|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 16:57:24.7230|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:57:24.7424|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:57:24.7424|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:57:24.7424|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:57:24.7424|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:57:24.7424|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:57:24.7541|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:57:24.7541|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 16:57:24.7541|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:57:24.7541|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 16:57:24.7541|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 16:57:24.7541|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:57:24.7696|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 16:57:24.7696|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:57:24.7696|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 16:57:24.7696|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:57:24.7855|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 16:57:24.7855|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 16:57:24.7855|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:57:24.7855||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 16:57:24.7855|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 16:57:24.7855||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 16:57:24.7855|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 20.9172ms 2026-01-02 16:57:24.8024||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 16:57:24.8024|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 16:57:24.8024||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 16:57:24.8024|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 76.5124ms 200 application/json; charset=utf-8 2026-01-02 16:57:24.8024||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 16:57:24.8310||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 16:57:24.8310||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 16:57:24.8342||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:57:24.8342||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 16:57:24.8342||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 16:57:24.8342||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 16:57:25.2079||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:57:25.2079||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:57:25.2079||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:57:25.2336||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:57:25.2336||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:57:25.2403||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 16:57:25.5732||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:57:25.5732||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:57:25.5732||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:57:25.5948||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:57:25.5978||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:57:25.5978||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 16:57:25.9731||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:57:25.9731||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:57:25.9731||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:57:25.9922||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:57:25.9922||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:57:25.9922||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 16:57:26.2215||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 16:57:26.2254||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 16:57:26.2254|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 16:57:26.2254|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1439.6789ms 2026-01-02 16:57:26.2254|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 16:57:26.2254|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1505.0664ms 200 application/json; charset=utf-8 2026-01-02 16:57:26.3209||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:57:26.3209||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:57:26.3209||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:57:26.3393||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:57:26.3393||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:57:26.3393||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 16:57:26.6695||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:57:26.6695||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:57:26.6766||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:57:26.6766||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:57:26.6944||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:57:26.6944||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 16:57:27.0578||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:57:27.0578||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:57:27.0578||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:57:27.0795||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:57:27.0950|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 16:57:27.1118|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 16:57:27.1250|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:57:27.1316|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:57:27.1316|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:57:27.1316|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:57:27.1450|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:57:27.1450|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:57:27.1450|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:57:27.1450|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:57:27.1450|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:57:27.1662|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:57:27.1662|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:57:27.1788|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:57:27.2439|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 16:57:27.2439|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2473.3118ms 2026-01-02 16:57:27.2439|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 16:57:27.2439|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2523.2551ms 200 application/json; charset=utf-8 2026-01-02 16:57:27.5766|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 16:57:27.5766|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 16:57:27.5766|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:57:27.5841|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:57:27.5841|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.004ms 204 2026-01-02 16:57:27.5841|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.4528ms 204 2026-01-02 16:57:27.5841|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 16:57:27.5841|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 16:57:27.5841|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:57:27.5841|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:57:27.5976|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:57:27.5976|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:57:27.5976|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:57:27.5976|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:57:27.5976|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 16:57:27.5976|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 16:57:27.6133|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 16:57:27.6133|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 16:57:27.6133|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:57:27.6133|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:57:27.6337|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 16:57:27.6462|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 16:57:27.6462|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 16:57:27.6462|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 43.0107ms 2026-01-02 16:57:27.6599|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 16:57:27.6599|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 69.8635ms 200 application/json; charset=utf-8 2026-01-02 16:57:27.6932|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 16:57:27.6932|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 87.4414ms 2026-01-02 16:57:27.6932|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 16:57:27.6932|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 114.5692ms 200 application/json; charset=utf-8 2026-01-02 16:57:51.3295|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 16:57:51.3295|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 16:57:51.3295|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 16:57:51.3295|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:57:51.3295|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:57:51.3295|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:57:51.3295|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.247ms 204 2026-01-02 16:57:51.3295|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.4288ms 204 2026-01-02 16:57:51.3295|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.7818ms 204 2026-01-02 16:57:51.3470|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 16:57:51.3470|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 16:57:51.3470|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 16:57:51.3470|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:57:51.3470|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:57:51.3470|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:57:51.3470|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:57:51.3470|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:57:51.3470|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:57:51.3470|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:57:51.3470|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:57:51.3607|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:57:51.3607|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 16:57:51.3607|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 16:57:51.3607|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 16:57:51.3607|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 16:57:51.3607|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 16:57:51.3607|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 16:57:51.3607|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:57:51.3607||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 16:57:51.3607|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:57:51.3607|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 16:57:51.3791|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 16:57:51.3791||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 16:57:51.3791|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 12.8176ms 2026-01-02 16:57:51.3791|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:57:51.3791||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 16:57:51.3791|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 16:57:51.3791|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.8964ms 200 application/json; charset=utf-8 2026-01-02 16:57:51.3791||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 16:57:51.3921||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 16:57:51.3921||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 16:57:51.3921||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 16:57:51.4066||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 16:57:51.4066||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:57:51.4066||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 16:57:51.4066||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 16:57:51.7627||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:57:51.7684||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:57:51.7684||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:57:51.7873||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:57:51.7873||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:57:51.7873||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 16:57:52.1247||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:57:52.1297||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:57:52.1297||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:57:52.1501||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:57:52.1501||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:57:52.1567||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 16:57:52.4815||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:57:52.4849||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:57:52.4849||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:57:52.5007||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:57:52.5007||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:57:52.5007||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 16:57:52.7885||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 16:57:52.7885||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 16:57:52.7993|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 16:57:52.7993|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1433.1484ms 2026-01-02 16:57:52.7993|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 16:57:52.7993|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1459.8064ms 200 application/json; charset=utf-8 2026-01-02 16:57:52.8320||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:57:52.8320||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:57:52.8320||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:57:52.8566||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:57:52.8606||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:57:52.8606||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 16:57:53.2244||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:57:53.2244||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:57:53.2244||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:57:53.2475||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:57:53.2519||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:57:53.2519||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 16:57:53.6090||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:57:53.6142||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:57:53.6142||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:57:53.6306||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:57:53.6306|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 16:57:53.6480|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 16:57:53.6480|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:57:53.6480|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:57:53.6590|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:57:53.6590|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:57:53.6590|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:57:53.6763|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:57:53.6763|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:57:53.6763|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:57:53.6883|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:57:53.6883|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:57:53.6883|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:57:53.6883|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:57:53.7596|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 16:57:53.7670|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2396.6599ms 2026-01-02 16:57:53.7670|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 16:57:53.7670|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2421.6714ms 200 application/json; charset=utf-8 2026-01-02 16:58:57.1681|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 16:58:57.1681|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 16:58:57.1681|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 16:58:57.1740|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:58:57.1740|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:58:57.1740|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:58:57.1740|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.7158ms 204 2026-01-02 16:58:57.1740|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.6343ms 204 2026-01-02 16:58:57.1740|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.9688ms 204 2026-01-02 16:58:57.1740|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 16:58:57.1740|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 16:58:57.1740|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 16:58:57.1740|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:58:57.1740|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:58:57.1896|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 16:58:57.1896|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:58:57.1896|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:58:57.1896|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 16:58:57.1896|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:58:57.1896|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:58:57.1896|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 16:58:57.1896|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 16:58:57.1896|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 16:58:57.1896|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 16:58:57.1896|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 16:58:57.1896|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 16:58:57.2047|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 16:58:57.2047|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:58:57.2047|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 16:58:57.2047||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 16:58:57.2047|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 16:58:57.2047|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:58:57.2047|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 16:58:57.2047||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 16:58:57.2047|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 11.1218ms 2026-01-02 16:58:57.2195||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 16:58:57.2195|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 16:58:57.2195||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 16:58:57.2195|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 38.7911ms 200 application/json; charset=utf-8 2026-01-02 16:58:57.2195||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 16:58:57.2418||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 16:58:57.2418||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 16:58:57.2418||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 16:58:57.2418||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 16:58:57.2418||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:58:57.2523||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 16:58:57.5954||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:58:57.5954||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:58:57.5954||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:58:57.6202||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:58:57.6202||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:58:57.6302||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 16:58:57.9711||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:58:57.9711||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:58:57.9711||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:58:57.9930||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:58:57.9930||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:58:57.9930||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 16:58:58.3356||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:58:58.3356||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:58:58.3356||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:58:58.3558||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:58:58.3558||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:58:58.3632||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 16:58:58.6216||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 16:58:58.6216||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 16:58:58.6280|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 16:58:58.6280|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1422.2725ms 2026-01-02 16:58:58.6280|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 16:58:58.6280|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1448.429ms 200 application/json; charset=utf-8 2026-01-02 16:58:58.6991||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:58:58.7044||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:58:58.7044||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:58:58.7262||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:58:58.7262||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:58:58.7358||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 16:58:59.0786||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:58:59.0831||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:58:59.0831||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:58:59.1005||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:58:59.1005||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 16:58:59.1005||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 16:58:59.4526||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 16:58:59.4565||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 16:58:59.4565||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 16:58:59.4728||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 16:58:59.4862|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 16:58:59.4862|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 16:58:59.4862|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:58:59.5035|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:58:59.5035|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:58:59.5035|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:58:59.5035|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:58:59.5178|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:58:59.5178|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:58:59.5178|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:58:59.5178|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:58:59.5328|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:58:59.5328|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 16:58:59.5328|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 16:58:59.5983|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 16:58:59.5983|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2395.6953ms 2026-01-02 16:58:59.5983|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 16:58:59.5983|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2419.2216ms 200 application/json; charset=utf-8 2026-01-02 17:02:48.7422|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:02:48.7422|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:02:48.7422|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:02:48.7422|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:02:48.7422|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:02:48.7422|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:02:48.7501|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.9461ms 204 2026-01-02 17:02:48.7501|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.9283ms 204 2026-01-02 17:02:48.7501|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.677ms 204 2026-01-02 17:02:48.7501|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:02:48.7501|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:02:48.7501|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:02:48.7501|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:02:48.7501|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:02:48.7501|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:02:48.7501|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:02:48.7653|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:02:48.7653|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:02:48.7653|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:02:48.7653|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:02:48.7653|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:02:48.7653|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:02:48.7653|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:02:48.7653|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:02:48.7653|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 17:02:48.7653|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:02:48.7653|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 17:02:48.7653|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:02:48.7808|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:02:48.7808||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 17:02:48.7808|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 17:02:48.7808|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:02:48.7964||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:02:48.7964|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 18.3722ms 2026-01-02 17:02:48.7964||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:02:48.7964|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:02:48.7964|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 45.8393ms 200 application/json; charset=utf-8 2026-01-02 17:02:48.7964|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:02:48.7964||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:02:48.7964||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:02:48.8159||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:02:48.8159||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 17:02:48.8159||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 17:02:48.8159||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:02:48.8296||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:02:48.8296||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 17:02:49.1906||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 17:02:49.1906||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 17:02:49.1906|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:02:49.1906|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 417.7799ms 2026-01-02 17:02:49.1906|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:02:49.1906|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 443.2087ms 200 application/json; charset=utf-8 2026-01-02 17:02:50.2187||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:02:50.2187||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:02:50.2187||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:02:50.2356||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:02:50.2356||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:02:50.2356||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 17:02:50.5958||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:02:50.5958||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:02:50.5958||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:02:50.6159||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:02:50.6159||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:02:50.6211||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 17:02:51.0078||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:02:51.0133||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:02:51.0133||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:02:51.0302||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:02:51.0302||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:02:51.0302||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 17:02:51.3971||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:02:51.4014||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:02:51.4014||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:02:51.4180||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:02:51.4180||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:02:51.4180||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 17:02:51.7898||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:02:51.7948||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:02:51.7948||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:02:51.8104||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:02:51.8104||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:02:51.8104||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 17:02:52.1549||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:02:52.1549||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:02:52.1549||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:02:52.1749||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:02:52.1749|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 17:02:52.1874|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 17:02:52.1874|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:02:52.1874|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:02:52.1874|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:02:52.1993|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:02:52.1993|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:02:52.1993|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:02:52.1993|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:02:52.1993|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:02:52.2141|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:02:52.2141|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:02:52.2141|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:02:52.2141|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:02:52.2654|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:02:52.2654|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3488.1646ms 2026-01-02 17:02:52.2654|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:02:52.2654|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3514.9915ms 200 application/json; charset=utf-8 2026-01-02 17:03:43.3409|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:03:43.3409|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:03:43.3409|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:03:43.3409|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:03:43.3502|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:03:43.3502|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:03:43.3502|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 18.7183ms 204 2026-01-02 17:03:43.3502|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.154ms 204 2026-01-02 17:03:43.3670|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 25.0755ms 204 2026-01-02 17:03:43.3670|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:03:43.3670|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:03:43.3670|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:03:43.3799|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:03:43.3799|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:03:43.3799|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:03:43.3799|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:03:43.3799|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:03:43.3799|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:03:43.3799|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:03:43.3955|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:03:43.3955|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:03:43.3955|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:03:43.3955|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:03:43.3955|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:03:43.3955|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 17:03:43.3955|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 17:03:43.3955|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:03:43.4101||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 17:03:43.4101|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:03:43.4101|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:03:43.4101|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 17:03:43.4101||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:03:43.4101|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:03:43.4262|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.0324ms 2026-01-02 17:03:43.4262||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:03:43.4262|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:03:43.4262|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 58.9489ms 200 application/json; charset=utf-8 2026-01-02 17:03:43.4420|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (21ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:03:43.4420||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:03:43.4420||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:03:43.4420||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:03:43.4420||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 17:03:43.4571||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 17:03:43.4571||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:03:43.4723||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:03:43.4723||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 17:03:43.8313||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 17:03:43.8363||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 17:03:43.8363|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:03:43.8363|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 432.921ms 2026-01-02 17:03:43.8363|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:03:43.8363|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 474.0622ms 200 application/json; charset=utf-8 2026-01-02 17:03:44.8848||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:03:44.8902||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:03:44.8902||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:03:44.9089||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:03:44.9089||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:03:44.9089||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 17:03:45.2952||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:03:45.3004||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:03:45.3004||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:03:45.3190||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:03:45.3190||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:03:45.3275||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 17:03:45.6699||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:03:45.6726||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:03:45.6726||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:03:45.6726||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:03:45.6890||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:03:45.6890||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 17:03:46.0686||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:03:46.0686||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:03:46.0686||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:03:46.0857||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:03:46.0857||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:03:46.0929||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 17:03:46.4325||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:03:46.4367||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:03:46.4367||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:03:46.4367||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:03:46.4540||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:03:46.4540||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 17:03:46.8395||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:03:46.8395||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:03:46.8449||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:03:46.8588||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:03:46.8588|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 17:03:46.8588|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 17:03:46.8768|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:03:46.8768|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:03:46.8768|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:03:46.8768|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:03:46.8768|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:03:46.8914|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:03:46.8914|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:03:46.8914|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:03:46.9058|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:03:46.9058|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:03:46.9058|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:03:46.9058|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:03:46.9630|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:03:46.9630|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3554.4597ms 2026-01-02 17:03:46.9697|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:03:46.9697|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3596.2183ms 200 application/json; charset=utf-8 2026-01-02 17:08:12.4993|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:08:12.4993|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:08:12.4993|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:08:12.4993|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:08:12.5046|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:08:12.5046|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:08:12.5046|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.8018ms 204 2026-01-02 17:08:12.5046|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.6972ms 204 2026-01-02 17:08:12.5046|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.3068ms 204 2026-01-02 17:08:12.5046|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:08:12.5046|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:08:12.5046|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:08:12.5046|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:08:12.5208|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:08:12.5208|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:08:12.5208|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:08:12.5208|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:08:12.5208|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:08:12.5208|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:08:12.5208|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:08:12.5208|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:08:12.5208|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:08:12.5208|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:08:12.5208|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 17:08:12.5362|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:08:12.5362|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:08:12.5362||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 17:08:12.5362|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 17:08:12.5362|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:08:12.5362|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:08:12.5362||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:08:12.5362|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:08:12.5521||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:08:12.5521|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 17:08:12.5521||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:08:12.5521|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:08:12.5521||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:08:12.5521|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 14.4355ms 2026-01-02 17:08:12.5521|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:08:12.5521|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.1795ms 200 application/json; charset=utf-8 2026-01-02 17:08:12.5739||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:08:12.5739||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 17:08:12.5739||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 17:08:12.5739||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:08:12.5837||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:08:12.5837||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 17:08:12.9597||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 17:08:12.9597||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 17:08:12.9597|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:08:12.9597|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 429.9853ms 2026-01-02 17:08:12.9597|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:08:12.9597|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 455.4744ms 200 application/json; charset=utf-8 2026-01-02 17:08:13.0009||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:08:13.0009||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:08:13.0074||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:08:13.0220||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:08:13.0220||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:08:13.0220||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 17:08:13.3753||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:08:13.3753||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:08:13.3832||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:08:13.3983||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:08:13.3983||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:08:13.3983||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 17:08:13.7493||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:08:13.7550||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:08:13.7550||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:08:13.7732||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:08:13.7732||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:08:13.7732||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 17:08:14.1218||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:08:14.1218||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:08:14.1324||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:08:14.1489||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:08:14.1489||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:08:14.1489||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 17:08:14.5185||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:08:14.5228||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:08:14.5228||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:08:14.5408||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:08:14.5408||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:08:14.5408||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 17:08:14.9311||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:08:14.9311||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:08:14.9311||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:08:14.9581||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:08:14.9581|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 17:08:14.9581|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 17:08:14.9754|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:08:14.9754|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:08:14.9754|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:08:14.9754|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:08:14.9901|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:08:14.9901|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:08:14.9901|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:08:14.9901|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:08:14.9901|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:08:15.0051|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:08:15.0051|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:08:15.0051|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:08:15.0515|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:08:15.0515|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2514.0459ms 2026-01-02 17:08:15.0515|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:08:15.0515|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2546.4091ms 200 application/json; charset=utf-8 2026-01-02 17:08:15.4624|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 17:08:15.4624|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 17:08:15.4624|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:08:15.4624|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:08:15.4624|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.9931ms 204 2026-01-02 17:08:15.4736|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.1233ms 204 2026-01-02 17:08:15.4736|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 17:08:15.4736|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 17:08:15.4736|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:08:15.4736|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:08:15.4736|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:08:15.4736|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:08:15.4736|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:08:15.4897|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:08:15.4897|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 17:08:15.4897|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 17:08:15.4897|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 17:08:15.4897|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 17:08:15.4897|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:08:15.4897|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:08:15.5049|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 17:08:15.5049|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 17:08:15.5049|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:08:15.5049|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 16.1925ms 2026-01-02 17:08:15.5049|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 17:08:15.5049|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.4858ms 200 application/json; charset=utf-8 2026-01-02 17:08:15.5049|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:08:15.5049|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 25.6074ms 2026-01-02 17:08:15.5211|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 17:08:15.5211|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 46.9328ms 200 application/json; charset=utf-8 2026-01-02 17:08:30.6727|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:08:30.6727|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:08:30.6727|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:08:30.6727|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:08:30.6727|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:08:30.6828|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:08:30.6828|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.697ms 204 2026-01-02 17:08:30.6828|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:08:30.6828|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.8614ms 204 2026-01-02 17:08:30.6828|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.3636ms 204 2026-01-02 17:08:30.6828|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:08:30.6979|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:08:30.6979|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:08:30.6979|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:08:30.6979|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:08:30.6979|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:08:30.6979|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:08:30.6979|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:08:30.6979|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:08:30.6979|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:08:30.6979|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:08:30.7131|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:08:30.7131|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:08:30.7131|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:08:30.7131|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 17:08:30.7131|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:08:30.7131|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:08:30.7131||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 17:08:30.7131|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 17:08:30.7308|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:08:30.7308|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:08:30.7308||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:08:30.7308||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:08:30.7308|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 17:08:30.7308||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:08:30.7308||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:08:30.7445|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:08:30.7445|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 20.0044ms 2026-01-02 17:08:30.7445|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:08:30.7445|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 55.5466ms 200 application/json; charset=utf-8 2026-01-02 17:08:30.7615||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:08:30.7615||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:08:30.7615||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 17:08:30.7615||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:08:30.7615||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 17:08:30.7615||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 17:08:31.1601||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 17:08:31.1601||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 17:08:31.1717|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:08:31.1717|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 452.5678ms 2026-01-02 17:08:31.1717|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:08:31.1717|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 480.5722ms 200 application/json; charset=utf-8 2026-01-02 17:08:32.1835||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:08:32.1835||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:08:32.1835||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:08:32.2084||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:08:32.2137||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:08:32.2137||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 17:08:32.5650||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:08:32.5650||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:08:32.5727||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:08:32.5727||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:08:32.5887||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:08:32.5887||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 17:08:32.9218||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:08:32.9218||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:08:32.9218||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:08:32.9414||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:08:32.9414||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:08:32.9484||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 17:08:33.2912||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:08:33.2944||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:08:33.2944||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:08:33.3104||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:08:33.3104||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:08:33.3104||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 17:08:33.6655||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:08:33.6696||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:08:33.6696||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:08:33.6849||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:08:33.6849||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:08:33.6849||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 17:08:34.0721||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:08:34.0763||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:08:34.0763||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:08:34.0935||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:08:34.0935|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 17:08:34.0935|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 17:08:34.1109|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:08:34.1109|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:08:34.1109|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:08:34.1236|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:08:34.1236|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:08:34.1236|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:08:34.1236|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:08:34.1236|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:08:34.1414|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:08:34.1414|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:08:34.1414|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:08:34.1414|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:08:34.1935|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:08:34.1935|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3478.4405ms 2026-01-02 17:08:34.2006|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:08:34.2006|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3511.955ms 200 application/json; charset=utf-8 2026-01-02 17:09:00.6904|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:09:00.6904|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:09:00.6904|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:09:00.6904|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:09:00.6904|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:09:00.6904|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:09:00.6904|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.8188ms 204 2026-01-02 17:09:00.6904|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.5399ms 204 2026-01-02 17:09:00.7031|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.3185ms 204 2026-01-02 17:09:00.7031|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:09:00.7031|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:09:00.7031|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:09:00.7031|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:09:00.7031|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:09:00.7031|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:09:00.7031|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:09:00.7185|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:09:00.7185|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:09:00.7185|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:09:00.7185|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:09:00.7185|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:09:00.7185|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:09:00.7185|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:09:00.7185|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:09:00.7185|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:09:00.7185|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 17:09:00.7185|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:09:00.7338|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 17:09:00.7338|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:09:00.7338||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 17:09:00.7338|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:09:00.7338|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 17:09:00.7338||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:09:00.7338|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:09:00.7338||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:09:00.7338|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 13.4726ms 2026-01-02 17:09:00.7509|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:09:00.7509|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 43.4109ms 200 application/json; charset=utf-8 2026-01-02 17:09:00.7509||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:09:00.7509||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:09:00.7668||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:09:00.7668||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:09:00.7668||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 17:09:00.7668||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:09:00.7668||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 17:09:00.7827||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 17:09:01.1384||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 17:09:01.1415||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 17:09:01.1415|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:09:01.1415|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 408.9632ms 2026-01-02 17:09:01.1415|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:09:01.1415|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 439.2478ms 200 application/json; charset=utf-8 2026-01-02 17:09:02.1570||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:09:02.1570||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:09:02.1570||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:09:02.1778||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:09:02.1778||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:09:02.1879||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 17:09:02.5561||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:09:02.5561||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:09:02.5629||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:09:02.5629||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:09:02.5794||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:09:02.5794||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 17:09:02.9100||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:09:02.9100||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:09:02.9100||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:09:02.9366||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:09:02.9393||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:09:02.9393||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 17:09:03.2707||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:09:03.2707||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:09:03.2707||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:09:03.2868||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:09:03.2868||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:09:03.2868||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 17:09:03.6335||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:09:03.6335||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:09:03.6413||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:09:03.6413||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:09:03.6605||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:09:03.6605||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 17:09:04.0385||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:09:04.0385||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:09:04.0462||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:09:04.0462||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:09:04.0747|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 17:09:04.0836|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 17:09:04.0836|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:09:04.0836|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:09:04.0965|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:09:04.0965|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:09:04.0965|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:09:04.0965|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:09:04.1099|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:09:04.1099|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:09:04.1099|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:09:04.1099|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:09:04.1099|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:09:04.1099|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:09:04.1625|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:09:04.1625|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3431.9788ms 2026-01-02 17:09:04.1625|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:09:04.1625|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3461.3686ms 200 application/json; charset=utf-8 2026-01-02 17:16:29.3686|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:16:29.3686|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:16:29.3686|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:16:29.3686|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:16:29.3686|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:16:29.3686|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:16:29.3686|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.556ms 204 2026-01-02 17:16:29.3686|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.2195ms 204 2026-01-02 17:16:29.3801|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.9337ms 204 2026-01-02 17:16:29.3801|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:16:29.3801|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:16:29.3801|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:16:29.3801|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 17:16:29.3801|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 17:16:29.3801|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 17:16:29.4149|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 17:16:29.4149|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 17:16:29.4149|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 17:16:29.4149|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:16:29.4149|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:16:29.4149|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:16:29.4149|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 17:16:29.4266|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 17:16:29.4266|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 17:16:29.4266|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 17:16:29.4266|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 17:16:29.4266|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 17:16:29.4266|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 54.0463ms 401 2026-01-02 17:16:29.4266|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 55.4825ms 401 2026-01-02 17:16:29.4427|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 57.4885ms 401 2026-01-02 17:16:29.6608|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:16:29.6608|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:16:29.6608|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:16:29.6608|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:16:29.6608|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:16:29.6608|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:16:29.6608|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:16:29.6772|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:16:29.6772|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:16:29.6772|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:16:29.6772|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 17:16:29.6772|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:16:29.6772|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:16:29.6772||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 17:16:29.6772|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 17:16:29.6772|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:16:29.6932|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:16:29.6932|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:16:29.6932|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:16:29.6932|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:16:29.6932|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:16:29.6932||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:16:29.6932|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 17:16:29.6932|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:16:29.6932||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:16:29.6932|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 14.6691ms 2026-01-02 17:16:29.7098|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:16:29.7098|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.2615ms 200 application/json; charset=utf-8 2026-01-02 17:16:29.7098|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:16:29.7098||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:16:29.7098||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:16:29.7098||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:16:29.7251||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 17:16:29.7251||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 17:16:29.7251||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:16:29.7251||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:16:29.7408||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 17:16:30.1347||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 17:16:30.1347||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 17:16:30.1347|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:16:30.1347|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 455.7608ms 2026-01-02 17:16:30.1455|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:16:30.1455|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 486.0722ms 200 application/json; charset=utf-8 2026-01-02 17:16:31.1601||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:16:31.1657||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:16:31.1657||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:16:31.1867||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:16:31.1867||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:16:31.1959||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 17:16:31.5717||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:16:31.5717||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:16:31.5717||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:16:31.5937||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:16:31.5937||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:16:31.6042||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 17:16:31.9380||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:16:31.9447||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:16:31.9447||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:16:31.9682||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:16:31.9737||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:16:31.9737||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 17:16:32.3619||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:16:32.3675||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:16:32.3675||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:16:32.3876||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:16:32.3876||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:16:32.3986||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 17:16:32.7527||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:16:32.7565||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:16:32.7565||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:16:32.7565||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:16:32.7729||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:16:32.7729||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 17:16:33.1241||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:16:33.1241||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:16:33.1308||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:16:33.1308||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:16:33.1516|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 17:16:33.1516|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 17:16:33.1516|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:16:33.1626|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:16:33.1626|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:16:33.1626|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:16:33.1626|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:16:33.1626|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:16:33.1775|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:16:33.1775|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:16:33.1775|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:16:33.1775|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:16:33.1775|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:16:33.1946|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:16:33.2364|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:16:33.2394|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3540.7987ms 2026-01-02 17:16:33.2394|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:16:33.2394|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3564.08ms 200 application/json; charset=utf-8 2026-01-02 17:19:09.3549|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 17:19:09.3581|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:19:09.3581|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:19:09.3581|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 17:19:09.3581|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:19:09.3581|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:19:09.3920|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 17:19:09.3920|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:19:09.3920|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 29.859ms 2026-01-02 17:19:09.3920|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 17:19:09.4045|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 49.628ms 200 application/json; charset=utf-8 2026-01-02 17:19:23.9148|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 17:19:23.9148|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:19:23.9148|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:19:23.9148|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 17:19:23.9236|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:19:23.9236|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:19:23.9236|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 17:19:23.9236|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:19:23.9236|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 9.8999ms 2026-01-02 17:19:23.9236|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 17:19:23.9236|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 22.8992ms 200 application/json; charset=utf-8 2026-01-02 17:19:25.5819|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 17:19:25.5819|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:19:25.5819|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:19:25.5819|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 17:19:25.5819|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:19:25.5819|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:19:25.5973|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 17:19:25.5973|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:19:25.5973|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 9.8096ms 2026-01-02 17:19:25.5973|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 17:19:25.5973|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.074ms 200 application/json; charset=utf-8 2026-01-02 17:20:09.7737|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 17:20:09.7737|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 17:20:09.7737|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:20:09.7737|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:20:09.7821|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.4824ms 204 2026-01-02 17:20:09.7821|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.3365ms 204 2026-01-02 17:20:09.7821|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 17:20:09.7821|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 17:20:09.7999|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:20:09.7999|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:20:09.7999|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:20:09.7999|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:20:09.7999|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:20:09.8137|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:20:09.8137|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 17:20:09.8137|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 17:20:09.8137|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 17:20:09.8137|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 17:20:09.8137|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:20:09.8137|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:20:09.8319|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 17:20:09.8319|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:20:09.8319|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 10.9407ms 2026-01-02 17:20:09.8319|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 17:20:09.8319|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 47.4203ms 200 application/json; charset=utf-8 2026-01-02 17:20:09.8727|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (41ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 17:20:09.8945|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:20:09.8945|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 71.7914ms 2026-01-02 17:20:09.8945|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 17:20:09.8945|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 104.2567ms 200 application/json; charset=utf-8 2026-01-02 17:20:43.9778|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:20:43.9778|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:20:43.9778|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:20:43.9778|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:20:43.9778|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:20:43.9778|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:20:43.9778|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.2225ms 204 2026-01-02 17:20:43.9778|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.7444ms 204 2026-01-02 17:20:43.9778|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.9342ms 204 2026-01-02 17:20:43.9924|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:20:43.9924|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:20:43.9924|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:20:43.9924|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:20:43.9924|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:20:43.9924|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:20:43.9924|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:20:43.9924|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:20:43.9924|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:20:43.9924|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:20:44.0079|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:20:44.0079|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:20:44.0079|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:20:44.0079|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:20:44.0079|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:20:44.0079|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:20:44.0079|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 17:20:44.0079|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 17:20:44.0079|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:20:44.0236|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:20:44.0236||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 17:20:44.0236|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:20:44.0236|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 17:20:44.0236||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:20:44.0236|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:20:44.0236||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:20:44.0382|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.7916ms 2026-01-02 17:20:44.0382|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:20:44.0382|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 51.7629ms 200 application/json; charset=utf-8 2026-01-02 17:20:44.0382||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:20:44.0382||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:20:44.0568||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:20:44.0568||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:20:44.0568||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 17:20:44.0568||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:20:44.0694||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 17:20:44.0694||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 17:20:44.4269||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:20:44.4330||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:20:44.4330||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:20:44.4553||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:20:44.4602||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:20:44.4602||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 17:20:44.8729||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:20:44.8729||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:20:44.8729||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:20:44.8915||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:20:44.8915||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:20:44.8915||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 17:20:45.2795||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:20:45.2795||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:20:45.2795||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:20:45.3032||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:20:45.3070||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:20:45.3070||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 17:20:45.4564||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 17:20:45.4606||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 17:20:45.4606|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:20:45.4606|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1450.611ms 2026-01-02 17:20:45.4779|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:20:45.4779|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1486.032ms 200 application/json; charset=utf-8 2026-01-02 17:20:45.6458||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:20:45.6482||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:20:45.6482||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:20:45.6663||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:20:45.6663||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:20:45.6663||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 17:20:46.0307||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:20:46.0307||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:20:46.0391||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:20:46.0391||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:20:46.0562||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:20:46.0562||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 17:20:46.4106||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:20:46.4134||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:20:46.4134||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:20:46.4134||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:20:46.4356|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 17:20:46.4356|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 17:20:46.4466|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:20:46.4466|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:20:46.4466|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:20:46.4466|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:20:46.4466|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:20:46.4617|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:20:46.4617|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:20:46.4617|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:20:46.4617|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:20:46.4617|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:20:46.4617|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:20:46.4767|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:20:46.5240|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:20:46.5240|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2505.1529ms 2026-01-02 17:20:46.5240|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:20:46.5240|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2536.1525ms 200 application/json; charset=utf-8 2026-01-02 17:21:04.3771|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:21:04.3771|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:21:04.3771|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:21:04.3771|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:21:04.3832|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:21:04.3832|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:21:04.3832|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.7102ms 204 2026-01-02 17:21:04.3832|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.6128ms 204 2026-01-02 17:21:04.3832|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.6018ms 204 2026-01-02 17:21:04.3832|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:21:04.3998|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:21:04.3998|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:21:04.3998|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:21:04.3998|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:21:04.3998|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:21:04.3998|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:21:04.3998|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:21:04.3998|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:21:04.3998|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:21:04.3998|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:21:04.4138|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:21:04.4138|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:21:04.4138|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:21:04.4138|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:21:04.4138|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:21:04.4138|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 17:21:04.4138|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 17:21:04.4138|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:21:04.4138||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 17:21:04.4292|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:21:04.4292|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:21:04.4292||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:21:04.4292|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 17:21:04.4292||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:21:04.4292||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:21:04.4292|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:21:04.4292||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:21:04.4292|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 15.2589ms 2026-01-02 17:21:04.4479|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:21:04.4479|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 47.7955ms 200 application/json; charset=utf-8 2026-01-02 17:21:04.4479||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:21:04.4618||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 17:21:04.4618||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 17:21:04.4618||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:21:04.4618||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:21:04.4618||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 17:21:04.8137||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 17:21:04.8137||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 17:21:04.8244|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:21:04.8244|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 400.298ms 2026-01-02 17:21:04.8244|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:21:04.8244|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 431.7642ms 200 application/json; charset=utf-8 2026-01-02 17:21:05.8477||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:21:05.8532||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:21:05.8532||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:21:05.8722||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:21:05.8722||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:21:05.8722||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 17:21:06.2313||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:21:06.2313||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:21:06.2313||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:21:06.2476||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:21:06.2476||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:21:06.2476||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 17:21:06.6400||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:21:06.6400||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:21:06.6400||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:21:06.6629||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:21:06.6629||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:21:06.6732||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 17:21:07.0313||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:21:07.0313||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:21:07.0313||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:21:07.0525||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:21:07.0525||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:21:07.0602||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 17:21:07.4085||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:21:07.4085||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:21:07.4158||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:21:07.4291||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:21:07.4291||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:21:07.4291||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 17:21:07.8022||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:21:07.8072||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:21:07.8072||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:21:07.8250||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:21:07.8250|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 17:21:07.8756|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (38ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 17:21:07.8756|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:21:07.8832|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:21:07.8832|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:21:07.8832|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:21:07.8832|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:21:07.8832|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:21:07.8990|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:21:07.8990|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:21:07.8990|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:21:07.8990|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:21:07.8990|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:21:07.9160|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:21:07.9605|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:21:07.9605|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3537.0212ms 2026-01-02 17:21:07.9605|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:21:07.9605|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3568.1563ms 200 application/json; charset=utf-8 2026-01-02 17:21:58.1669|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:21:58.1669|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:21:58.1669|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:21:58.1669|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:21:58.1669|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:21:58.1669|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:21:58.1669|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.8782ms 204 2026-01-02 17:21:58.1669|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.0551ms 204 2026-01-02 17:21:58.1669|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.0724ms 204 2026-01-02 17:21:58.1813|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:21:58.1813|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:21:58.1813|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:21:58.1813|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:21:58.1813|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:21:58.1813|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:21:58.1813|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:21:58.1813|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:21:58.1813|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:21:58.1968|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:21:58.1968|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:21:58.1968|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:21:58.1968|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:21:58.1968|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:21:58.1968|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:21:58.1968|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 17:21:58.1968|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:21:58.1968|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:21:58.1968|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:21:58.1968|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 17:21:58.2129|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 17:21:58.2129||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 17:21:58.2129|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:21:58.2129|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 8.1932ms 2026-01-02 17:21:58.2129|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:21:58.2129||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:21:58.2129|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.8925ms 200 application/json; charset=utf-8 2026-01-02 17:21:58.2129||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:21:58.2386||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:21:58.2386||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 17:21:58.2430||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 17:21:58.2430|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (44ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:21:58.2589||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:21:58.2589||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:21:58.2773||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:21:58.2773||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:21:58.2773||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 17:21:58.6042||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 17:21:58.6042||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 17:21:58.6042|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:21:58.6042|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 402.819ms 2026-01-02 17:21:58.6171|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:21:58.6171|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 434.4242ms 200 application/json; charset=utf-8 2026-01-02 17:21:59.6356||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:21:59.6356||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:21:59.6356||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:21:59.6586||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:21:59.6586||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:21:59.6671||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 17:22:00.0236||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:22:00.0236||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:22:00.0236||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:22:00.0424||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:22:00.0424||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:22:00.0424||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 17:22:00.4184||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:22:00.4184||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:22:00.4184||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:22:00.4353||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:22:00.4353||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:22:00.4353||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 17:22:00.7924||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:22:00.7924||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:22:00.7924||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:22:00.8117||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:22:00.8117||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:22:00.8117||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 17:22:01.1469||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:22:01.1523||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:22:01.1523||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:22:01.1720||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:22:01.1720||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:22:01.1795||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 17:22:01.5215||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:22:01.5271||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:22:01.5271||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:22:01.5471||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:22:01.5569|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 17:22:01.5569|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 17:22:01.5569|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:22:01.5711|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:22:01.5711|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:22:01.5711|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:22:01.5711|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:22:01.5860|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:22:01.5860|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:22:01.5860|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:22:01.5860|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:22:01.6015|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:22:01.6015|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:22:01.6015|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:22:01.6508|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:22:01.6508|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3446.9971ms 2026-01-02 17:22:01.6508|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:22:01.6508|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3477.2021ms 200 application/json; charset=utf-8 2026-01-02 17:30:02.6603|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:30:02.6603|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:30:02.6603|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:30:02.6603|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:30:02.6603|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:30:02.6690|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:30:02.6690|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.8151ms 204 2026-01-02 17:30:02.6690|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.6245ms 204 2026-01-02 17:30:02.6690|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.5525ms 204 2026-01-02 17:30:02.6690|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:30:02.6690|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:30:02.6690|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:30:02.6690|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:30:02.6690|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:30:02.6862|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:30:02.6862|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:30:02.6862|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:30:02.6862|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:30:02.6862|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:30:02.6862|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:30:02.6862|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:30:02.6862|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:30:02.6862|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:30:02.6862|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 17:30:02.6862|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:30:02.6862|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:30:02.7005|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:30:02.7005|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:30:02.7005|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 17:30:02.7005||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 17:30:02.7005|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 17:30:02.7175|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:30:02.7175||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:30:02.7175|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 18.8409ms 2026-01-02 17:30:02.7175||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:30:02.7175|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:30:02.7175|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:30:02.7175|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.0567ms 200 application/json; charset=utf-8 2026-01-02 17:30:02.7175||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:30:02.7175||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:30:02.7405||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:30:02.7405||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 17:30:02.7405||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:30:02.7405||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 17:30:02.7501||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:30:02.7501||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 17:30:03.1099||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 17:30:03.1099||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 17:30:03.1099|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:30:03.1099|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 414.1073ms 2026-01-02 17:30:03.1227|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:30:03.1227|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 444.6507ms 200 application/json; charset=utf-8 2026-01-02 17:30:04.1769||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:30:04.1769||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:30:04.1769||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:30:04.1980||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:30:04.1980||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:30:04.2053||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 17:30:04.5743||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:30:04.5743||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:30:04.5822||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:30:04.5967||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:30:04.5967||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:30:04.5967||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 17:30:04.9652||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:30:04.9703||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:30:04.9703||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:30:04.9879||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:30:04.9879||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:30:04.9879||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 17:30:05.3357||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:30:05.3357||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:30:05.3447||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:30:05.3447||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:30:05.3627||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:30:05.3627||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 17:30:05.7208||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:30:05.7208||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:30:05.7208||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:30:05.7425||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:30:05.7425||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:30:05.7508||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 17:30:06.0818||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:30:06.0818||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:30:06.0818||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:30:06.1019||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:30:06.1132|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 17:30:06.1132|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 17:30:06.1265|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:30:06.1265|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:30:06.1265|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:30:06.1265|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:30:06.1265|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:30:06.1419|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:30:06.1419|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:30:06.1419|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:30:06.1419|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:30:06.1419|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:30:06.1593|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:30:06.1593|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:30:06.2311|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:30:06.2311|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3533.1078ms 2026-01-02 17:30:06.2367|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:30:06.2367|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3559.9219ms 200 application/json; charset=utf-8 2026-01-02 17:32:24.5058|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 17:32:24.5058|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 17:32:24.5058|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:32:24.5058|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:32:24.5133|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.4426ms 204 2026-01-02 17:32:24.5133|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.1948ms 204 2026-01-02 17:32:24.5133|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 17:32:24.5133|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 17:32:24.5133|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:32:24.5133|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:32:24.5133|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:32:24.5133|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:32:24.5267|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:32:24.5267|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:32:24.5267|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 17:32:24.5267|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 17:32:24.5267|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 17:32:24.5267|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 17:32:24.5267|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:32:24.5267|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:32:24.5462|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 17:32:24.5462|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:32:24.5462|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 17:32:24.5462|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 10.6434ms 2026-01-02 17:32:24.5462|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 17:32:24.5462|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 36.3976ms 200 application/json; charset=utf-8 2026-01-02 17:32:24.5462|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:32:24.5587|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 21.6891ms 2026-01-02 17:32:24.5587|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 17:32:24.5587|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 42.6523ms 200 application/json; charset=utf-8 2026-01-02 17:32:49.3011|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:32:49.3011|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:32:49.3011|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:32:49.3011|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:32:49.3011|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:32:49.3098|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:32:49.3098|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.6888ms 204 2026-01-02 17:32:49.3098|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.4349ms 204 2026-01-02 17:32:49.3098|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.1926ms 204 2026-01-02 17:32:49.3098|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:32:49.3098|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:32:49.3098|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:32:49.3098|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:32:49.3098|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:32:49.3236|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:32:49.3236|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:32:49.3236|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:32:49.3236|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:32:49.3236|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:32:49.3236|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:32:49.3236|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:32:49.3236|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:32:49.3236|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:32:49.3236|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:32:49.3236|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:32:49.3236|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 17:32:49.3396|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 17:32:49.3396|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:32:49.3396|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:32:49.3396||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 17:32:49.3396|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:32:49.3396|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 17:32:49.3547||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:32:49.3547|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:32:49.3547||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:32:49.3547||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:32:49.3547|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 18.6711ms 2026-01-02 17:32:49.3547||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:32:49.3547|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:32:49.3547|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 49.5725ms 200 application/json; charset=utf-8 2026-01-02 17:32:49.3849||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:32:49.3890||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 17:32:49.3890||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 17:32:49.3890||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:32:49.3890||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:32:49.3890||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 17:32:49.7624||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:32:49.7624||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:32:49.7624||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:32:49.7813||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:32:49.7813||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:32:49.7813||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 17:32:50.1745||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:32:50.1745||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:32:50.1745||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:32:50.1939||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:32:50.1939||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:32:50.1991||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 17:32:50.5597||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:32:50.5597||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:32:50.5597||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:32:50.5775||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:32:50.5775||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:32:50.5775||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 17:32:50.7766||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 17:32:50.7766||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 17:32:50.7766|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:32:50.7766|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1443.645ms 2026-01-02 17:32:50.7766|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:32:50.7766|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1470.2888ms 200 application/json; charset=utf-8 2026-01-02 17:32:50.9306||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:32:50.9345||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:32:50.9345||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:32:50.9531||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:32:50.9531||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:32:50.9531||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 17:32:51.3252||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:32:51.3252||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:32:51.3252||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:32:51.3480||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:32:51.3480||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:32:51.3586||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 17:32:51.7066||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:32:51.7066||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:32:51.7141||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:32:51.7141||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:32:51.7364|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 17:32:51.7364|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 17:32:51.7364|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:32:51.7477|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:32:51.7477|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:32:51.7477|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:32:51.7477|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:32:51.7477|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:32:51.7634|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:32:51.7634|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:32:51.7634|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:32:51.7634|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:32:51.7634|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:32:51.7779|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:32:51.8270|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:32:51.8270|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2490.5368ms 2026-01-02 17:32:51.8270|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:32:51.8270|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2518.1349ms 200 application/json; charset=utf-8 2026-01-02 17:35:25.0866|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:35:25.0872|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:35:25.0872|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:35:25.0872|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:35:25.0872|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:35:25.0872|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:35:25.0872|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.4131ms 204 2026-01-02 17:35:25.0872|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.3034ms 204 2026-01-02 17:35:25.1035|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 16.0194ms 204 2026-01-02 17:35:25.1035|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:35:25.1035|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:35:25.1035|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:35:25.1196|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:35:25.1196|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:35:25.1196|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:35:25.1196|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:35:25.1196|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:35:25.1196|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:35:25.1347|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:35:25.1347|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:35:25.1347|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:35:25.1347|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:35:25.1347|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 17:35:25.1347|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:35:25.1347|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:35:25.1499|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:35:25.1499|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 17:35:25.1499|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:35:25.1499|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 17:35:25.1499||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 17:35:25.1499|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:35:25.1499|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:35:25.1674|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 18.326ms 2026-01-02 17:35:25.1674||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:35:25.1674|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:35:25.1674|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:35:25.1674||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:35:25.1674|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 67.547ms 200 application/json; charset=utf-8 2026-01-02 17:35:25.1674||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:35:25.1812||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:35:25.1978||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:35:25.1978||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:35:25.1978||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 17:35:25.1978||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:35:25.1978||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 17:35:25.1978||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 17:35:25.6403||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:35:25.6403||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:35:25.6403||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:35:25.6615||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:35:25.6653||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:35:25.6653||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 17:35:26.0153||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:35:26.0153||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:35:26.0153||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:35:26.0361||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:35:26.0401||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:35:26.0401||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 17:35:26.4250||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:35:26.4304||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:35:26.4304||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:35:26.4470||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:35:26.4470||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:35:26.4470||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 17:35:26.7069||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 17:35:26.7119||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 17:35:26.7119|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:35:26.7119|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1559.7241ms 2026-01-02 17:35:26.7119|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:35:26.7119|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1608.0121ms 200 application/json; charset=utf-8 2026-01-02 17:35:26.8906||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:35:26.8906||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:35:26.8906||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:35:26.9091||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:35:26.9091||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:35:26.9091||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 17:35:27.3751||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:35:27.3751||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:35:27.3751||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:35:27.3953||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:35:27.3953||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:35:27.4026||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 17:35:27.8458||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:35:27.8458||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:35:27.8555||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:35:27.8718||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:35:27.8718|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 17:35:27.8882|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 17:35:27.8882|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:35:27.8882|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:35:27.8882|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:35:27.8882|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:35:27.8882|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:35:27.9017|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:35:27.9017|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:35:27.9017|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:35:27.9017|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:35:27.9168|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:35:27.9168|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:35:27.9168|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:35:27.9674|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:35:27.9674|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2810.1384ms 2026-01-02 17:35:27.9674|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:35:27.9674|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2864.1833ms 200 application/json; charset=utf-8 2026-01-02 17:36:09.2387|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:36:09.2387|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:36:09.2442|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:36:09.2387|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:36:09.2387|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:36:09.2442|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.6175ms 204 2026-01-02 17:36:09.2442|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.4223ms 204 2026-01-02 17:36:09.2442|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:36:09.2442|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:36:09.2442|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:36:09.2442|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.224ms 204 2026-01-02 17:36:09.2442|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:36:09.2442|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:36:09.2612|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:36:09.2612|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:36:09.2612|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:36:09.2612|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:36:09.2612|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:36:09.2612|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:36:09.2612|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:36:09.2612|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:36:09.2612|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 17:36:09.2612|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:36:09.2612|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:36:09.2612||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 17:36:09.2612|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:36:09.2612|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:36:09.2791||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:36:09.2791|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:36:09.2791|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:36:09.2791||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:36:09.2791|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 17:36:09.2791||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:36:09.2791|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:36:09.2943||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:36:09.2943|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 17:36:09.2943|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:36:09.2943||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:36:09.2943|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 12.9644ms 2026-01-02 17:36:09.2943||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 17:36:09.2943|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:36:09.3082||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 17:36:09.3082|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.0876ms 200 application/json; charset=utf-8 2026-01-02 17:36:09.3082||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:36:09.3082||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:36:09.3082||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 17:36:09.6508||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 17:36:09.6508||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 17:36:09.6508|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:36:09.6508|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 390.5108ms 2026-01-02 17:36:09.6508|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:36:09.6508|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 411.8522ms 200 application/json; charset=utf-8 2026-01-02 17:36:10.6844||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:36:10.6844||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:36:10.6844||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:36:10.7081||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:36:10.7081||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:36:10.7138||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 17:36:11.0527||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:36:11.0569||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:36:11.0569||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:36:11.0779||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:36:11.0779||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:36:11.0779||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 17:36:11.4435||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:36:11.4476||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:36:11.4476||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:36:11.4639||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:36:11.4639||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:36:11.4639||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 17:36:11.8033||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:36:11.8087||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:36:11.8087||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:36:11.8275||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:36:11.8275||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:36:11.8275||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 17:36:12.1782||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:36:12.1824||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:36:12.1824||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:36:12.2000||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:36:12.2000||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:36:12.2000||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 17:36:12.5468||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:36:12.5468||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:36:12.5576||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:36:12.5576||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:36:12.5790|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 17:36:12.5790|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 17:36:12.5891|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:36:12.5891|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:36:12.5891|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:36:12.5891|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:36:12.6046|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:36:12.6046|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:36:12.6046|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:36:12.6046|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:36:12.6221|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:36:12.6221|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:36:12.6221|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:36:12.6221|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:36:12.6683|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:36:12.6683|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3398.887ms 2026-01-02 17:36:12.6683|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:36:12.6683|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3422.6506ms 200 application/json; charset=utf-8 2026-01-02 17:38:38.1207|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:38:38.1207|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:38:38.1207|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:38:38.1207|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:38:38.1207|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:38:38.1207|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:38:38.1293|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.6899ms 204 2026-01-02 17:38:38.1293|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.4923ms 204 2026-01-02 17:38:38.1293|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.1256ms 204 2026-01-02 17:38:38.1293|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:38:38.1293|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:38:38.1293|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:38:38.1293|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 17:38:38.1293|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 17:38:38.1293|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 17:38:38.1500|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 17:38:38.1500|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 17:38:38.1500|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 17:38:38.1603|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:38:38.1603|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:38:38.1603|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:38:38.1603|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 17:38:38.1603|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 17:38:38.1750|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 17:38:38.1750|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 17:38:38.1750|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 47.6581ms 401 2026-01-02 17:38:38.1750|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 17:38:38.1750|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 17:38:38.1750|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 51.5582ms 401 2026-01-02 17:38:38.1908|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 54.1448ms 401 2026-01-02 17:43:11.2872|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2026-01-02 17:43:11.2872|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:43:11.2872|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.7921ms 204 2026-01-02 17:43:11.3002|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=519 2026-01-02 17:43:11.3002|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:43:11.3002|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:43:11.3002|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:43:11.3002|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:43:11.3002|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:43:11.3002|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:43:11.3002|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:43:11.3103|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:43:11.3103|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:43:11.3103|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 17:43:11.3103|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.4747ms 204 2026-01-02 17:43:11.3103|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.4481ms 204 2026-01-02 17:43:11.3103|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.1248ms 204 2026-01-02 17:43:11.3103|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:43:11.3103|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:43:11.3255|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:43:11.3255|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:43:11.3255|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:43:11.3255|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:43:11.3255|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:43:11.3255|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:43:11.3255|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:43:11.3255|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:43:11.3255|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:43:11.3255|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:43:11.3255|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:43:11.3407|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:43:11.3407|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:43:11.3407|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:43:11.3407|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:43:11.3407|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 17:43:11.3407|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 17:43:11.3407|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:43:11.3407|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:43:11.3407||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 17:43:11.3407|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 17:43:11.3407|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:43:11.3554|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:43:11.3554|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 25.9412ms 2026-01-02 17:43:11.3554|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:43:11.3554|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 17:43:11.3554|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 17:43:11.3554|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 62.9207ms 200 application/json; charset=utf-8 2026-01-02 17:43:11.3554||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:43:11.3554|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:43:11.3554||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:43:11.3554|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 19.6445ms 2026-01-02 17:43:11.3554||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:43:11.3554|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:43:11.3747|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 52.8588ms 200 application/json; charset=utf-8 2026-01-02 17:43:11.3747||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:43:11.3868||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:43:11.3868||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 17:43:11.3868||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:43:11.3868||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 17:43:11.3868||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:43:11.3868||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 17:43:11.7665||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:43:11.7665||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:43:11.7665||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:43:11.7850||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:43:11.7850||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:43:11.7850||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 17:43:12.1881||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:43:12.1881||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:43:12.1881||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:43:12.2127||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:43:12.2163||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:43:12.2163||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 17:43:12.5731||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:43:12.5775||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:43:12.5775||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:43:12.5951||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:43:12.5951||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:43:12.5951||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 17:43:12.8283||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 17:43:12.8283||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 17:43:12.8283|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:43:12.8409|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1490.7689ms 2026-01-02 17:43:12.8409|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:43:12.8409|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1520.9252ms 200 application/json; charset=utf-8 2026-01-02 17:43:12.9439||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:43:12.9439||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:43:12.9537||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:43:12.9690||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:43:12.9690||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:43:12.9690||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 17:43:13.3273||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:43:13.3273||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:43:13.3273||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:43:13.3440||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:43:13.3440||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:43:13.3440||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 17:43:13.7132||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:43:13.7186||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:43:13.7186||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:43:13.7346||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:43:13.7346|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 17:43:13.7475|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 17:43:13.7475|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:43:13.7475|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:43:13.7475|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:43:13.7627|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:43:13.7627|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:43:13.7627|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:43:13.7627|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:43:13.7777|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:43:13.7777|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:43:13.7777|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:43:13.7777|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:43:13.7777|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:43:13.8300|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:43:13.8300|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2481.0526ms 2026-01-02 17:43:13.8300|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:43:13.8300|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2509.3203ms 200 application/json; charset=utf-8 2026-01-02 17:43:14.0768|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 17:43:14.0768|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 17:43:14.0768|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:43:14.0768|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:43:14.0768|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.8005ms 204 2026-01-02 17:43:14.0768|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.7875ms 204 2026-01-02 17:43:14.0768|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 17:43:14.0898|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 17:43:14.0898|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:43:14.0898|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:43:14.0898|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:43:14.0898|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:43:14.0898|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:43:14.0898|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:43:14.0898|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 17:43:14.0898|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 17:43:14.1076|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 17:43:14.1076|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 17:43:14.1076|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:43:14.1076|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:43:14.1076|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 17:43:14.1217|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:43:14.1217|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 11.9951ms 2026-01-02 17:43:14.1217|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 17:43:14.1217|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 17:43:14.1217|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.8136ms 200 application/json; charset=utf-8 2026-01-02 17:43:14.1391|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:43:14.1391|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 28.0087ms 2026-01-02 17:43:14.1391|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 17:43:14.1391|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 55.2063ms 200 application/json; charset=utf-8 2026-01-02 17:44:31.2390|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:44:31.2390|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:44:31.2390|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:44:31.2423|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:44:31.2423|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:44:31.2423|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:44:31.2423|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.8825ms 204 2026-01-02 17:44:31.2423|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 8.3973ms 204 2026-01-02 17:44:31.2423|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.3106ms 204 2026-01-02 17:44:31.2423|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:44:31.2423|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:44:31.2423|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:44:31.2423|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 17:44:31.2423|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 17:44:31.2573|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 17:44:31.2573|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 17:44:31.2573|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 17:44:31.2573|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 17:44:31.2573|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:44:31.2573|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:44:31.2573|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:44:31.2573|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 17:44:31.2573|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 17:44:31.2573|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 17:44:31.2573|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 17:44:31.2573|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 17:44:31.2730|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 17:44:31.2730|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 22.977ms 401 2026-01-02 17:44:31.2730|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.9306ms 401 2026-01-02 17:44:31.2730|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.7451ms 401 2026-01-02 17:44:39.4008|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=518 2026-01-02 17:44:39.4032|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:44:39.4032|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.006ms 204 2026-01-02 17:44:39.4032|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=518 2026-01-02 17:44:39.4032|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:44:39.4032|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:44:39.4032|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:44:39.4032|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:44:39.4171|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:44:39.4171|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:44:39.4171|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:44:39.4171|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:44:39.4171|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.7243ms 204 2026-01-02 17:44:39.4171|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.7588ms 204 2026-01-02 17:44:39.4171|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.6374ms 204 2026-01-02 17:44:39.4336|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:44:39.4336|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:44:39.4336|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:44:39.4336|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:44:39.4336|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 17:44:39.4336|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:44:39.4336|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:44:39.4336|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:44:39.4336|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:44:39.4508|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:44:39.4508|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:44:39.4508|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:44:39.4508|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:44:39.4508|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:44:39.4508|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:44:39.4508|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:44:39.4508|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:44:39.4508|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:44:39.4508|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:44:39.4639|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 17:44:39.4639|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 17:44:39.4639|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:44:39.4639|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 17:44:39.4639|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:44:39.4639|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:44:39.4639|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:44:39.4639||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 17:44:39.4796|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 17:44:39.4796|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 25.3553ms 2026-01-02 17:44:39.4796|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:44:39.4796|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:44:39.4796|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 17:44:39.4796||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:44:39.4796|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 22.0947ms 2026-01-02 17:44:39.4796||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:44:39.4796|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 81.6894ms 200 application/json; charset=utf-8 2026-01-02 17:44:39.4949||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:44:39.4949|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:44:39.4949||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:44:39.4949|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 70.0208ms 200 application/json; charset=utf-8 2026-01-02 17:44:39.5255||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:44:39.5291||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 17:44:39.5291||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 17:44:39.5291||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:44:39.5291||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:44:39.5424||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 17:44:39.9196||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 17:44:39.9196||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 17:44:39.9196|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:44:39.9340|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 458.4419ms 2026-01-02 17:44:39.9340|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:44:39.9340|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 500.3121ms 200 application/json; charset=utf-8 2026-01-02 17:44:40.9301||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:44:40.9301||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:44:40.9301||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:44:40.9533||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:44:40.9570||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:44:40.9570||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 17:44:41.3359||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:44:41.3359||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:44:41.3359||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:44:41.3585||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:44:41.3585||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:44:41.3644||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 17:44:41.7320||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:44:41.7320||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:44:41.7418||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:44:41.7559||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:44:41.7559||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:44:41.7559||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 17:44:42.1302||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:44:42.1302||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:44:42.1302||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:44:42.1524||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:44:42.1524||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:44:42.1524||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 17:44:42.5565||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:44:42.5565||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:44:42.5565||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:44:42.5751||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:44:42.5751||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:44:42.5751||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 17:44:42.9505||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:44:42.9505||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:44:42.9609||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:44:42.9756||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:44:42.9901|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 17:44:42.9901|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 17:44:42.9901|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:44:43.0053|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:44:43.0053|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:44:43.0053|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:44:43.0053|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:44:43.0053|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:44:43.0219|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:44:43.0219|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:44:43.0219|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:44:43.0219|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:44:43.0353|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:44:43.0353|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:44:43.0762|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:44:43.0762|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 3608.0497ms 2026-01-02 17:44:43.0829|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:44:43.0829|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 3647.9833ms 200 application/json; charset=utf-8 2026-01-02 17:44:43.8383|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 17:44:43.8383|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 17:44:43.8383|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:44:43.8508|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:44:43.8508|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.257ms 204 2026-01-02 17:44:43.8508|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 17:44:43.8508|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.9239ms 204 2026-01-02 17:44:43.8644|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 17:44:43.8644|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:44:43.8785|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:44:43.8785|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:44:43.8785|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:44:43.8785|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:44:43.8785|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:44:43.8946|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 17:44:43.8946|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 17:44:43.8946|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 17:44:43.8946|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 17:44:43.8946|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:44:43.8946|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:44:43.9151|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (6ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 17:44:43.9151|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 17:44:43.9151|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:44:43.9151|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 13.5561ms 2026-01-02 17:44:43.9151|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 17:44:43.9151|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 57.6417ms 200 application/json; charset=utf-8 2026-01-02 17:44:43.9151|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:44:43.9151|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 22.2584ms 2026-01-02 17:44:43.9262|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 17:44:43.9262|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 67.2903ms 200 application/json; charset=utf-8 2026-01-02 17:45:02.6129|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:45:02.6129|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:45:02.6129|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:45:02.6129|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:45:02.6129|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:45:02.6129|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:45:02.6129|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.3145ms 204 2026-01-02 17:45:02.6129|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.7369ms 204 2026-01-02 17:45:02.6129|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.2614ms 204 2026-01-02 17:45:02.6296|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:45:02.6296|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:45:02.6296|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:45:02.6296|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:45:02.6296|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:45:02.6296|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:45:02.6296|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:45:02.6296|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:45:02.6455|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:45:02.6455|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:45:02.6455|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:45:02.6455|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:45:02.6455|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:45:02.6455|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:45:02.6455|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:45:02.6455|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 17:45:02.6611|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:45:02.6611|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:45:02.6611|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:45:02.6611|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 17:45:02.6611|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:45:02.6611||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 17:45:02.6611|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 17:45:02.6762||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:45:02.6762||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:45:02.6762|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:45:02.6762||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:45:02.6762|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 21.0948ms 2026-01-02 17:45:02.6762||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:45:02.6929|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:45:02.6929|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 67.8648ms 200 application/json; charset=utf-8 2026-01-02 17:45:02.7094||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:45:02.7094||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:45:02.7094||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:45:02.7094||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 17:45:02.7094||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 17:45:02.7094||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 17:45:03.1734||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:45:03.1773||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:45:03.1773||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:45:03.1943||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:45:03.1943||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:45:03.1943||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 17:45:03.5746||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:45:03.5746||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:45:03.5746||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:45:03.5949||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:45:03.5990||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:45:03.5990||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 17:45:03.9729||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:45:03.9729||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:45:03.9729||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:45:03.9988||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:45:03.9988||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:45:04.0054||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 17:45:04.1919||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 17:45:04.1919||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 17:45:04.1919|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:45:04.1919|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1531.4722ms 2026-01-02 17:45:04.1919|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:45:04.1919|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1575.2534ms 200 application/json; charset=utf-8 2026-01-02 17:45:04.3340||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:45:04.3340||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:45:04.3340||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:45:04.3507||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:45:04.3507||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:45:04.3507||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 17:45:04.6496|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 17:45:04.6496|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 17:45:04.6496|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:45:04.6496|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:45:04.6496|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.0408ms 204 2026-01-02 17:45:04.6496|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.2595ms 204 2026-01-02 17:45:04.6604|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 17:45:04.6604|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 17:45:04.6604|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:45:04.6604|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:45:04.6604|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:45:04.6604|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:45:04.6604|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:45:04.6758|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:45:04.6758|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 17:45:04.6758|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 17:45:04.6758|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 17:45:04.6758|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 17:45:04.6758|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:45:04.6758|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:45:04.6758||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:45:04.6758|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 17:45:04.6917||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:45:04.6917|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:45:04.6917||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:45:04.6917|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 17:45:04.6917|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 10.6905ms 2026-01-02 17:45:04.6917|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 17:45:04.6917|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 39.4993ms 200 application/json; charset=utf-8 2026-01-02 17:45:04.6917|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:45:04.6917|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 17.8804ms 2026-01-02 17:45:04.6917||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:45:04.6917|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 17:45:04.7066||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:45:04.7066|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 44.3698ms 200 application/json; charset=utf-8 2026-01-02 17:45:04.7066||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 17:45:05.0840||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:45:05.0840||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:45:05.0840||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:45:05.1058||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:45:05.1168|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 17:45:05.1168|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 17:45:05.1168|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:45:05.1318|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:45:05.1318|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:45:05.1318|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:45:05.1318|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:45:05.1481|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:45:05.1481|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:45:05.1481|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:45:05.1607|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:45:05.1607|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:45:05.1607|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:45:05.1607|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:45:05.2127|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:45:05.2127|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2554.1566ms 2026-01-02 17:45:05.2127|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:45:05.2127|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2591.2324ms 200 application/json; charset=utf-8 2026-01-02 17:55:45.8043|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:55:45.8051|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:55:45.8051|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:55:45.8051|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:55:45.8051|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:55:45.8051|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:55:45.8051|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.0065ms 204 2026-01-02 17:55:45.8051|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.9622ms 204 2026-01-02 17:55:45.8051|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.6675ms 204 2026-01-02 17:55:45.8220|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:55:45.8220|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:55:45.8220|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:55:45.8220|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:55:45.8220|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:55:45.8220|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:55:45.8220|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:55:45.8362|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:55:45.8362|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:55:45.8362|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:55:45.8362|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:55:45.8362|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:55:45.8362|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:55:45.8362|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:55:45.8362|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:55:45.8362|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 17:55:45.8529|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:55:45.8529|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 17:55:45.8529||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 17:55:45.8529|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:55:45.8529|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:55:45.8766||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:55:45.8766|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 17:55:45.8766||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:55:45.8766|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:55:45.8838|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 22.0929ms 2026-01-02 17:55:45.8838|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:55:45.8838|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 64.9367ms 200 application/json; charset=utf-8 2026-01-02 17:55:45.8838|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:55:45.8838||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:55:45.8838||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:55:45.9030||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:55:45.9030||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 17:55:45.9030||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 17:55:45.9138||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:55:45.9138||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:55:45.9138||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 17:55:46.2862||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:55:46.2911||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:55:46.2911||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:55:46.3075||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:55:46.3075||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:55:46.3075||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 17:55:46.6785||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:55:46.6837||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:55:46.6837||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:55:46.7062||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:55:46.7062||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:55:46.7158||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 17:55:47.0833||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:55:47.0886||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:55:47.0886||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:55:47.1051||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:55:47.1051||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:55:47.1051||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 17:55:47.3300||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response [{"data":[],"code":"00","success":false,"description":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS"}] 2026-01-02 17:55:47.3300||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 17:55:47.3374|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:55:47.3374|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1482.3829ms 2026-01-02 17:55:47.3374|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:55:47.3374|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1520.1997ms 200 application/json; charset=utf-8 2026-01-02 17:55:47.5081||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:55:47.5117||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:55:47.5117||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:55:47.5290||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:55:47.5290||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:55:47.5290||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 17:55:47.6937|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 17:55:47.6937|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 17:55:47.6937|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:55:47.6988|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:55:47.6988|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.374ms 204 2026-01-02 17:55:47.6988|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.1387ms 204 2026-01-02 17:55:47.6988|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 17:55:47.6988|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 17:55:47.7129|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:55:47.7129|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:55:47.7129|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:55:47.7129|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:55:47.7129|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:55:47.7129|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:55:47.7129|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 17:55:47.7129|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 17:55:47.7129|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 17:55:47.7129|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 17:55:47.7289|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:55:47.7289|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:55:47.7289|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 17:55:47.7289|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:55:47.7289|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 17:55:47.7289|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 6.6134ms 2026-01-02 17:55:47.7289|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 17:55:47.7289|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 31.1215ms 200 application/json; charset=utf-8 2026-01-02 17:55:47.7452|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:55:47.7452|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 18.3753ms 2026-01-02 17:55:47.7452|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 17:55:47.7452|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 40.195ms 200 application/json; charset=utf-8 2026-01-02 17:55:47.9095||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:55:47.9095||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:55:47.9175||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:55:47.9309||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:55:47.9309||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:55:47.9309||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 17:55:48.3057||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response [{"availableBalance":null,"bookBalance":0.0,"accountType":null,"accountName":null,"currency":null,"accountno":null,"responseCode":"01","responseMessage":"TWS.ACCT.ENQ//-1/,SECURITY VIOLATION DURING SIGN ON PROCESS","transactionDate":"0001-01-01T00:00:00"}] 2026-01-02 17:55:48.3110||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:55:48.3110||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:55:48.3356||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:55:48.3519|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (5ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 17:55:48.3606|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 17:55:48.3606|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:55:48.3715|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:55:48.3715|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:55:48.3715|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:55:48.3846|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:55:48.3846|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:55:48.3846|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:55:48.3846|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:55:48.4015|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:55:48.4015|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:55:48.4015|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:55:48.4015|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:55:48.4596|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:55:48.4628|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 2603.5697ms 2026-01-02 17:55:48.4628|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:55:48.4628|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 2645.0829ms 200 application/json; charset=utf-8 2026-01-02 17:56:25.1000|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:56:25.1000|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:56:25.1000|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:56:25.1000|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:56:25.1000|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:56:25.1000|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:56:25.1000|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.2052ms 204 2026-01-02 17:56:25.1000|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.652ms 204 2026-01-02 17:56:25.1156|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.6918ms 204 2026-01-02 17:56:25.1156|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:56:25.1156|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:56:25.1156|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:56:25.1156|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:56:25.1156|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:56:25.1298|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:56:25.1298|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:56:25.1298|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:56:25.1298|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:56:25.1298|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:56:25.1298|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:56:25.1298|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:56:25.1298|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:56:25.1298|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:56:25.1298|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:56:25.1298|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:56:25.1469|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 17:56:25.1469|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 17:56:25.1469|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:56:25.1469|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:56:25.1469||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 17:56:25.1469|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:56:25.1469|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 17:56:25.1633||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:56:25.1633|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:56:25.1633||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:56:25.1633|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 16.5983ms 2026-01-02 17:56:25.1633|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:56:25.1633||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:56:25.1633|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 52.8693ms 200 application/json; charset=utf-8 2026-01-02 17:56:25.1633||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:56:25.1839||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:56:25.1839||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 17:56:25.1839||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 17:56:25.1839||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:56:25.1953||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:56:25.1953||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 17:56:27.0515||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 17:56:27.0515||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 17:56:27.0515||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 17:56:27.0597||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:56:27.0597|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:56:27.0597||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:56:27.0597|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1909.8207ms 2026-01-02 17:56:27.0597|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:56:27.0597|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1944.4124ms 200 application/json; charset=utf-8 2026-01-02 17:56:27.0756||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:56:27.0756||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:56:27.0756||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 17:56:28.1691||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 17:56:28.1691||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:56:28.1691||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:56:28.1945||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:56:28.1981||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:56:28.1981||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 17:56:29.2933||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 17:56:29.2933||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:56:29.2933||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:56:29.3111||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:56:29.3111||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:56:29.3111||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 17:56:30.4083||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 17:56:30.4083||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:56:30.4083||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:56:30.4323||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:56:30.4367||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:56:30.4367||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 17:56:31.5302||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 17:56:31.5302||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:56:31.5302||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:56:31.5468||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:56:31.5468||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:56:31.5468||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 17:56:32.6292||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 17:56:32.6292||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:56:32.6388||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:56:32.6388||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:56:32.6591|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 17:56:32.6591|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 17:56:32.6591|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:56:32.6696|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:56:32.6696|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:56:32.6696|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:56:32.6696|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:56:32.6696|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:56:32.6870|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:56:32.6870|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:56:32.6870|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:56:32.6870|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:56:32.7042|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:56:32.7042|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:56:32.7440|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:56:32.7440|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 7596.2743ms 2026-01-02 17:56:32.7481|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:56:32.7481|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7630.3604ms 200 application/json; charset=utf-8 2026-01-02 17:57:23.6134|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:57:23.6134|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:57:23.6134|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:57:23.6134|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:57:23.6134|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:57:23.6223|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:57:23.6223|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.2024ms 204 2026-01-02 17:57:23.6223|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.503ms 204 2026-01-02 17:57:23.6223|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 12.4579ms 204 2026-01-02 17:57:23.6223|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:57:23.6223|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:57:23.6223|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:57:23.6223|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:57:23.6223|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:57:23.6389|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:57:23.6389|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:57:23.6389|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:57:23.6389|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:57:23.6389|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:57:23.6389|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:57:23.6389|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:57:23.6389|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:57:23.6389|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:57:23.6389|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:57:23.6540|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 17:57:23.6540|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:57:23.6540|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 17:57:23.6540|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:57:23.6540|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:57:23.6540||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 17:57:23.6540|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 17:57:23.6695|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:57:23.6695||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:57:23.6695|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:57:23.6695||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:57:23.6695|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 18.7645ms 2026-01-02 17:57:23.6695||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:57:23.6695||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:57:23.6695|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:57:23.6695|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 55.2099ms 200 application/json; charset=utf-8 2026-01-02 17:57:23.6980||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:57:23.7017||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:57:23.7017||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 17:57:23.7017||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:57:23.7017||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 17:57:23.7017||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 17:57:24.7978||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 17:57:24.7978||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 17:57:24.7978||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 17:57:24.7978||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:57:24.7978|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:57:24.7978||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:57:24.7978|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1146.6646ms 2026-01-02 17:57:24.8133|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:57:24.8133|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1182.2136ms 200 application/json; charset=utf-8 2026-01-02 17:57:24.8133||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:57:24.8262||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:57:24.8262||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 17:57:25.9177||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 17:57:25.9227||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:57:25.9227||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:57:25.9434||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:57:25.9434||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:57:25.9529||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 17:57:27.0315||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 17:57:27.0315||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:57:27.0315||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:57:27.0566||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:57:27.0606||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:57:27.0606||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 17:57:28.1387||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 17:57:28.1387||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:57:28.1387||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:57:28.1597||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:57:28.1597||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:57:28.1597||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 17:57:29.2419||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 17:57:29.2419||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:57:29.2419||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:57:29.2586||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:57:29.2586||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:57:29.2586||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 17:57:30.3386||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 17:57:30.3386||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:57:30.3386||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:57:30.3580||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:57:30.3580|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 17:57:30.3698|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 17:57:30.3698|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:57:30.3698|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:57:30.3698|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:57:30.3698|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:57:30.3857|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:57:30.3857|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:57:30.3857|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:57:30.3857|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:57:30.4000|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:57:30.4000|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:57:30.4000|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:57:30.4000|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:57:30.4596|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:57:30.4615|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6800.7741ms 2026-01-02 17:57:30.4615|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:57:30.4615|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6834.2944ms 200 application/json; charset=utf-8 2026-01-02 17:57:38.5940|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:57:38.5940|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:57:38.5940|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:57:38.5979|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:57:38.5979|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:57:38.5979|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:57:38.5979|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.7847ms 204 2026-01-02 17:57:38.5979|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.3951ms 204 2026-01-02 17:57:38.5979|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.838ms 204 2026-01-02 17:57:38.6139|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:57:38.6139|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:57:38.6139|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:57:38.6139|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:57:38.6139|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:57:38.6139|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:57:38.6139|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:57:38.6273|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:57:38.6273|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:57:38.6273|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:57:38.6273|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:57:38.6273|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:57:38.6273|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:57:38.6273|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:57:38.6273|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:57:38.6432|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 17:57:38.6273|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:57:38.6273|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 17:57:38.6432|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:57:38.6432|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:57:38.6432||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 17:57:38.6432|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 17:57:38.6588|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:57:38.6588|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:57:38.6588||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:57:38.6588|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 20.3551ms 2026-01-02 17:57:38.6588||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:57:38.6588||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:57:38.6588|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:57:38.6588||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:57:38.6588|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 53.5068ms 200 application/json; charset=utf-8 2026-01-02 17:57:38.6882||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:57:38.6882||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:57:38.6937||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:57:38.6937||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 17:57:38.6937||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 17:57:38.6937||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 17:57:39.7837||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 17:57:39.7837||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 17:57:39.7837||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 17:57:39.7837|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:57:39.7837|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1146.041ms 2026-01-02 17:57:39.7837||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:57:39.7837|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:57:39.7998||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:57:39.7998|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1186.6101ms 200 application/json; charset=utf-8 2026-01-02 17:57:39.7998||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:57:39.7998||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:57:39.8173||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 17:57:40.9107||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 17:57:40.9107||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:57:40.9107||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:57:40.9310||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:57:40.9310||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:57:40.9310||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 17:57:42.0163||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 17:57:42.0199||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:57:42.0199||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:57:42.0351||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:57:42.0351||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:57:42.0351||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 17:57:43.1283||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 17:57:43.1283||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:57:43.1283||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:57:43.1504||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:57:43.1504||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:57:43.1593||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 17:57:44.2336||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 17:57:44.2376||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:57:44.2376||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:57:44.2553||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:57:44.2553||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:57:44.2553||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 17:57:45.3410||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 17:57:45.3450||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:57:45.3450||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:57:45.3450||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:57:45.3655|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 17:57:45.3655|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 17:57:45.3655|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:57:45.3777|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:57:45.3777|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:57:45.3777|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:57:45.3777|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:57:45.3930|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:57:45.3930|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:57:45.3930|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:57:45.3930|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:57:45.4084|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:57:45.4084|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 17:57:45.4084|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:57:45.4521|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:57:45.4558|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6808.6325ms 2026-01-02 17:57:45.4558|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:57:45.4558|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6843.8344ms 200 application/json; charset=utf-8 2026-01-02 17:59:58.2521|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:59:58.2521|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:59:58.2521|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:59:58.2521|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:59:58.2521|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:59:58.2521|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:59:58.2521|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 9.4358ms 204 2026-01-02 17:59:58.2521|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 10.196ms 204 2026-01-02 17:59:58.2642|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.5628ms 204 2026-01-02 17:59:58.2642|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 17:59:58.2642|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 17:59:58.2642|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 17:59:58.2642|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:59:58.2642|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:59:58.2642|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 17:59:58.2642|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:59:58.2642|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:59:58.2642|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 17:59:58.2642|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:59:58.2642|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:59:58.2799|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 17:59:58.2799|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:59:58.2799|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:59:58.2799|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 17:59:58.2799|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 17:59:58.2799|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 17:59:58.2799|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 17:59:58.2799|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:59:58.2799||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 17:59:58.2799|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 17:59:58.3004|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 17:59:58.3004||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:59:58.3004|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 17:59:58.3004|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 20.6227ms 2026-01-02 17:59:58.3004||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:59:58.3004|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 17:59:58.3004|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 17:59:58.3123|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 46.2498ms 200 application/json; charset=utf-8 2026-01-02 17:59:58.3123||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 17:59:58.3123||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 17:59:58.3273||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:59:58.3273||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 17:59:58.3273||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 17:59:58.3273||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 17:59:58.3273||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:59:58.3455||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 17:59:59.4226||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 17:59:59.4226||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 17:59:59.4226|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 17:59:59.4226||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 17:59:59.4226|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1144.2679ms 2026-01-02 17:59:59.4226|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 17:59:59.4226||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 17:59:59.4366|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1169.2705ms 200 application/json; charset=utf-8 2026-01-02 17:59:59.4366||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 17:59:59.4521||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 17:59:59.4521||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 17:59:59.4521||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 18:00:00.5450||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 18:00:00.5450||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 18:00:00.5450||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 18:00:00.5619||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 18:00:00.5619||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 18:00:00.5619||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 18:00:01.6531||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 18:00:01.6531||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 18:00:01.6531||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 18:00:01.6751||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 18:00:01.6751||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 18:00:01.6751||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 18:00:02.7636||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 18:00:02.7636||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 18:00:02.7636||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 18:00:02.7906||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 18:00:02.7953||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 18:00:02.7953||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 18:00:03.8922||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 18:00:03.8922||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 18:00:03.8922||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 18:00:03.9139||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 18:00:03.9139||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 18:00:03.9216||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 18:00:05.0097||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 18:00:05.0145||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 18:00:05.0145||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 18:00:05.0311||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 18:00:05.0311|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p2='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p5='?' (DbType = Int64), @p3='?' (DbType = DateTime2), @p4='?' (DbType = DateTime2), @p8='?' (DbType = Int64), @p6='?' (DbType = DateTime2), @p7='?' (DbType = DateTime2), @p11='?' (DbType = Int64), @p9='?' (DbType = DateTime2), @p10='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p17='?' (DbType = Int64), @p15='?' (DbType = DateTime2), @p16='?' (DbType = DateTime2)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1 WHERE [Id] = @p2; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p3, [DateModified] = @p4 WHERE [Id] = @p5; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p6, [DateModified] = @p7 WHERE [Id] = @p8; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p9, [DateModified] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13 WHERE [Id] = @p14; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p15, [DateModified] = @p16 WHERE [Id] = @p17; SELECT @@ROWCOUNT; 2026-01-02 18:00:05.0466|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 18:00:05.0466|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 18:00:05.0466|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 18:00:05.0466|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 18:00:05.0600|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 18:00:05.0600|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 18:00:05.0600|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 18:00:05.0600|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 18:00:05.0600|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 18:00:05.0759|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 18:00:05.0759|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 18:00:05.0759|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 18:00:05.0759|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 18:00:05.1302|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 18:00:05.1302|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6844.2361ms 2026-01-02 18:00:05.1302|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 18:00:05.1302|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6868.1627ms 200 application/json; charset=utf-8 2026-01-02 18:01:12.1266|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 18:01:12.1266|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 18:01:12.1266|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 18:01:12.1266|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 18:01:12.1266|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 5.2063ms 204 2026-01-02 18:01:12.1266|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 7.2959ms 204 2026-01-02 18:01:12.1266|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 18:01:12.1266|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 18:01:12.1401|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 18:01:12.1401|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 18:01:12.1401|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 18:01:12.1401|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 18:01:12.1401|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 18:01:12.1401|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 18:01:12.1401|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 18:01:12.1401|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 18:01:12.1401|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 18:01:12.1401|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 18:01:12.1401|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.0492ms 401 2026-01-02 18:01:12.1401|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.9596ms 401 2026-01-02 18:01:25.2309|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=499 2026-01-02 18:01:25.2309|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 18:01:25.2309|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.3233ms 204 2026-01-02 18:01:25.2309|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAllInitiatePaymentSourceAccountsByUserId?userId=499 2026-01-02 18:01:25.2424|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 18:01:25.2424|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 18:01:25.2424|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 18:01:25.2424|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 18:01:25.2424|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllInitiatePaymentSourceAccountsByUserId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllInitiatePaymentSourceAccountsByUserIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 18:01:25.2424|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 18:01:25.2424|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 18:01:25.2424|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 18:01:25.2424|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (4ms) [Parameters=[@__userId_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName], [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId], [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [AccountPermissions] AS [a] LEFT JOIN [SourceAccountManagements] AS [s] ON [a].[AccountsId] = [s].[Id] INNER JOIN [Permissions] AS [p] ON [a].[PermissionId] = [p].[Id] WHERE ((((([a].[UserId] = @__userId_0) AND ([a].[PermissionName] = N'Can Initiate Payment On Source Account')) AND ([a].[IsActive] = CAST(1 AS bit))) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 18:01:25.2584|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 18:01:25.2584|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 18:01:25.2584|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 14.5384ms 204 2026-01-02 18:01:25.2584|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.9206ms 204 2026-01-02 18:01:25.2584|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 18:01:25.2584|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 18:01:25.2584|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 18:01:25.2745|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 18:01:25.2745|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 18:01:25.2745|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 18:01:25.2745|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 18:01:25.2745|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 18:01:25.2745|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[AccountManagement.Data.Entity.AccountPermission, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 18:01:25.2745|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 18:01:25.2745|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 18:01:25.2745|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 18:01:25.2745|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 18:01:25.2745|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 18:01:25.2897|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 18:01:25.2897|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 18:01:25.2897|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 18:01:25.2897|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 7.3881ms 2026-01-02 18:01:25.2897|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 18:01:25.2897|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement) in 48.4513ms 2026-01-02 18:01:25.2897|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.8572ms 200 application/json; charset=utf-8 2026-01-02 18:01:25.2897|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (9ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 18:01:25.2897|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAllInitiatePaymentSourceAccountsByUserIdAsync (AccountManagement)' 2026-01-02 18:01:25.3050|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 63.9527ms 200 application/json; charset=utf-8 2026-01-02 18:01:25.3050|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 18:01:25.3050|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 28.509ms 2026-01-02 18:01:25.3050|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 18:01:25.3050|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 49.609ms 200 application/json; charset=utf-8 2026-01-02 18:01:29.2984|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/CurrencyManagement/GetAllCurrencys 2026-01-02 18:01:29.2984|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/BankManagement/GetAllBanks 2026-01-02 18:01:29.2984|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 18:01:29.2984|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 18:01:29.3063|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 18:01:29.3063|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 18:01:29.3063|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 18:01:29.3063|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 18:01:29.3063|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 18:01:29.3063|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 18:01:29.3212|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllCurrencys", controller = "CurrencyManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllCurrencysAsync(AccountManagement.Data.Utility.PaginationHelpers.CurrencyParameters) on controller AccountManagement.Controllers.CurrencyManagementController (AccountManagement). 2026-01-02 18:01:29.3212|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAllBanks", controller = "BankManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAllBanksAsync(AccountManagement.Data.Utility.PaginationHelpers.BankParameters) on controller AccountManagement.Controllers.BankManagementController (AccountManagement). 2026-01-02 18:01:29.3212|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 18:01:29.3212|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 18:01:29.3212|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Code], [c].[CreatedBy], [c].[DateCreated], [c].[DateModified], [c].[IsActive], [c].[IsDeleted], [c].[ModifiedBy], [c].[Name] FROM [Currencies] AS [c] ORDER BY [c].[Name] 2026-01-02 18:01:29.3212|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'AccountManagement.Data.Utility.PaginationHelpers.PagedList`1[[CorporatePay.Common.Models.CurrencyViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 18:01:29.3212|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement) in 9.8493ms 2026-01-02 18:01:29.3212|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.CurrencyManagementController.GetAllCurrencysAsync (AccountManagement)' 2026-01-02 18:01:29.3212|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 37.5285ms 200 application/json; charset=utf-8 2026-01-02 18:01:29.3573|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (28ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT [b].[Id], [b].[Account], [b].[BBAN], [b].[BICCode], [b].[BankType], [b].[Code], [b].[CountryId], [b].[CreatedBy], [b].[DateCreated], [b].[DateModified], [b].[IsActive], [b].[IsDeleted], [b].[ModifiedBy], [b].[Name], [b].[SettlementBankId], [b].[SettlementBankName], [b].[SettlementBankOfficerEmail], [b].[ShortName], [c].[Id], [c].[Code1], [c].[Code2], [c].[Name] FROM [Banks] AS [b] INNER JOIN [Countries] AS [c] ON [b].[CountryId] = [c].[Id] ORDER BY [b].[Name] 2026-01-02 18:01:29.3573|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.ResponsePageList`1[[System.Collections.Generic.List`1[[CorporatePay.Common.Models.BankViewModel, CorporatePay.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 18:01:29.3679|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement) in 42.1362ms 2026-01-02 18:01:29.3679|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.BankManagementController.GetAllBanksAsync (AccountManagement)' 2026-01-02 18:01:29.3679|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 72.6153ms 200 application/json; charset=utf-8 2026-01-02 18:01:33.1759|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 18:01:33.1759|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 18:01:33.1759|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 18:01:33.1759|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 18:01:33.1820|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 18:01:33.1820|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 18:01:33.1820|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 11.5581ms 204 2026-01-02 18:01:33.1820|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 13.8376ms 204 2026-01-02 18:01:33.1820|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 15.3982ms 204 2026-01-02 18:01:33.1820|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 18:01:33.1963|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 18:01:33.1963|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 18:01:33.1963|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 18:01:33.1963|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 18:01:33.1963|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 18:01:33.1963|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 18:01:33.1963|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 18:01:33.1963|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 18:01:33.2112|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 18:01:33.2112|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 18:01:33.2112|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 18:01:33.2112|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 18:01:33.2112|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 18:01:33.2112|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 18:01:33.2112|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchBalance", controller = "TreasuryAccount"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] FetchBalance(System.Nullable`1[CorporatePay.Common.GovernmentAccountType]) on controller AccountManagement.Controllers.TreasuryAccountController (AccountManagement). 2026-01-02 18:01:33.2112|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "FetchCurrentWaysMeans", controller = "WaysMeans"}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult FetchCurrentWaysMeans() on controller AccountManagement.Controllers.WaysMeansController (AccountManagement). 2026-01-02 18:01:33.2112|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountByCorporateId", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountByCorporateIdAsync(Int64) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 18:01:33.2112||WARN|AccountManagement.Core.Services.TreasuryAccountService|CorporateId : 207 2026-01-02 18:01:33.2112|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 18:01:33.2270|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 18:01:33.2270|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [w].[Id], [w].[Amount], [w].[Comment], [w].[CreatedBy], [w].[DateCreated], [w].[DateModified], [w].[IsActive], [w].[IsDeleted], [w].[ModifiedBy], [w].[Year] FROM [WaysMeans] AS [w] WHERE ([w].[IsDeleted] = CAST(0 AS bit)) AND ([w].[IsActive] = CAST(1 AS bit)) ORDER BY [w].[Id] DESC 2026-01-02 18:01:33.2270||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 18:01:33.2270|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[AccountManagement.Data.Models.WaysMeansModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 18:01:33.2270|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) 2026-01-02 18:01:33.2270||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 18:01:33.2270|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement) in 14.6671ms 2026-01-02 18:01:33.2426||WARN|AccountManagement.Core.Services.IntegrationService|Route Url:https://rcpayapi.mof.gov.sl/RouteManagement/ 2026-01-02 18:01:33.2426|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.WaysMeansController.FetchCurrentWaysMeans (AccountManagement)' 2026-01-02 18:01:33.2426||WARN|AccountManagement.Core.Services.IntegrationService|Route Endpoint:/api/RouteManagement/FetchRoutes/79 2026-01-02 18:01:33.2426|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 51.2107ms 200 application/json; charset=utf-8 2026-01-02 18:01:33.2612||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 18:01:33.2612||WARN|AccountManagement.Core.Services.TreasuryAccountService|About to Fetch Treasury Accounts 2026-01-02 18:01:33.2612||WARN|AccountManagement.Core.Services.IntegrationService|Response: { "data": [ { "id": 41, "name": "T24", "transactionType": 1, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 41, "serviceType": 4, "endPoint": "/api/SL/CorporatePayApi/V2/FundsTransfer" }, { "routeId": 41, "serviceType": 5, "endPoint": "/api/SL/CorporatePayApi/V2/CheckOverDrawnAccount?accountNumber=" }, { "routeId": 41, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" }, { "routeId": 41, "serviceType": 1, "endPoint": "/api/SL/CorporatePayApi/V2/NameEnquiry?accountNumber=" }, { "routeId": 41, "serviceType": 2, "endPoint": "/api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=" } ], "routeParameters": [ { "routeId": 41, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 41, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 41, "name": "UserName", "value": "EFTUSER" }, { "routeId": 41, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 42, "name": "NotonUs", "transactionType": 2, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 42, "serviceType": 1, "endPoint": "/api/SL/CorporatePayAPI/V2/NameEnquiry/OtherBank?accountNumber=" }, { "routeId": 42, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/OtherBank" }, { "routeId": 42, "serviceType": 6, "endPoint": "/api/SL/CorporatePayApi/V2/TransactionStatusQuery?refNo={Ref}" } ], "routeParameters": [ { "routeId": 42, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 42, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 42, "name": "UserName", "value": "EFTUSER" }, { "routeId": 42, "name": "Password", "value": "FINANCE123456" } ] }, { "id": 43, "name": "ForeignPayment", "transactionType": 3, "integrationType": 1, "institutionId": 79, "routeServices": [ { "routeId": 43, "serviceType": 4, "endPoint": "/api/SL/CorporatePayAPI/V2/FundsTransfer/Foreign" }, { "routeId": 43, "serviceType": 6, "endPoint": "/api/SL/CorporatePayAPI/V2/TransactionStatusQuery/OtherBank?refNo={Ref}" } ], "routeParameters": [ { "routeId": 43, "name": "Url", "value": "https://rcpayapi.mof.gov.sl/CorporatePayApi/" }, { "routeId": 43, "name": "WebServiceUrl", "value": "http://10.117.0.150:9090/TWS/services?wsdl" }, { "routeId": 43, "name": "UserName", "value": "EFTUSER" }, { "routeId": 43, "name": "Password", "value": "FINANCE123456" } ] } ], "code": "00", "success": true, "description": "Success" }::: OK::: OK 2026-01-02 18:01:33.2612||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: api/SL/CorporatePayAPI/V2/Treasury/Accounts/Balance 2026-01-02 18:01:33.2612||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 18:01:33.2775||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=1100512 2026-01-02 18:01:34.3798||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 18:01:34.3830||WARN|AccountManagement.Core.Services.IntegrationService|Treasury Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 18:01:34.3830||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 18:01:34.3830||WARN|AccountManagement.Core.Services.TreasuryAccountService|Done Fetching Treasury Accounts 2026-01-02 18:01:34.3830||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 18:01:34.4027|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[System.Object, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2026-01-02 18:01:34.4027|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement) in 1181.7158ms 2026-01-02 18:01:34.4027|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.TreasuryAccountController.FetchBalance (AccountManagement)' 2026-01-02 18:01:34.4027|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 1214.5016ms 200 application/json; charset=utf-8 2026-01-02 18:01:34.4162||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 18:01:34.4162||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 18:01:34.4162||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100127923 2026-01-02 18:01:35.5052||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 18:01:35.5105||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 18:01:35.5105||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 18:01:35.5294||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 18:01:35.5294||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 18:01:35.5396||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=0111001293 2026-01-02 18:01:36.6219||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 18:01:36.6219||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 18:01:36.6219||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 18:01:36.6455||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 18:01:36.6455||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 18:01:36.6525||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=SLE116030002 2026-01-02 18:01:37.7251||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 18:01:37.7292||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 18:01:37.7292||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 18:01:37.7466||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 18:01:37.7466||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 18:01:37.7466||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100129378 2026-01-02 18:01:38.8383||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 18:01:38.8383||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 18:01:38.8383||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 18:01:38.8611||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 18:01:38.8611||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to validate Source Account 2026-01-02 18:01:38.8678||WARN|AccountManagement.Core.Services.IntegrationService|Endpoint: /api/SL/CorporatePayApi/V2/GetAccountBalance?accountNumber=000001011100131027 2026-01-02 18:01:39.9471||WARN|AccountManagement.Core.Services.IntegrationService|Balance Enquiry Response ["No connection could be made because the target machine actively refused it."] 2026-01-02 18:01:39.9471||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done validating Source Account 2026-01-02 18:01:39.9471||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|About to Get OverDraft Limit 2026-01-02 18:01:39.9684||WARN|SourceAccountManagement.Core.Services.SourceAccountManagementService|Done getting Overdraft Limit 2026-01-02 18:01:39.9769|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@p3='?' (DbType = Int64), @p0='?' (DbType = DateTime2), @p1='?' (DbType = DateTime2), @p2='?' (DbType = Int64), @p7='?' (DbType = Int64), @p4='?' (DbType = DateTime2), @p5='?' (DbType = DateTime2), @p6='?' (DbType = Int64), @p11='?' (DbType = Int64), @p8='?' (DbType = DateTime2), @p9='?' (DbType = DateTime2), @p10='?' (DbType = Int64), @p15='?' (DbType = Int64), @p12='?' (DbType = DateTime2), @p13='?' (DbType = DateTime2), @p14='?' (DbType = Int64), @p19='?' (DbType = Int64), @p16='?' (DbType = DateTime2), @p17='?' (DbType = DateTime2), @p18='?' (DbType = Int64), @p23='?' (DbType = Int64), @p20='?' (DbType = DateTime2), @p21='?' (DbType = DateTime2), @p22='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p0, [DateModified] = @p1, [ModifiedBy] = @p2 WHERE [Id] = @p3; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p4, [DateModified] = @p5, [ModifiedBy] = @p6 WHERE [Id] = @p7; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p8, [DateModified] = @p9, [ModifiedBy] = @p10 WHERE [Id] = @p11; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p12, [DateModified] = @p13, [ModifiedBy] = @p14 WHERE [Id] = @p15; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p16, [DateModified] = @p17, [ModifiedBy] = @p18 WHERE [Id] = @p19; SELECT @@ROWCOUNT; UPDATE [SourceAccountManagements] SET [CurrentBalanceLastUpdatedTime] = @p20, [DateModified] = @p21, [ModifiedBy] = @p22 WHERE [Id] = @p23; SELECT @@ROWCOUNT; 2026-01-02 18:01:39.9769|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__Id_0='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [s].[Id], [s].[AccountName], [s].[AccountNumber], [s].[ApprovalStatus], [s].[ApprovalStatusDate], [s].[ApprovedBy], [s].[BankId], [s].[BankName], [s].[Code], [s].[CreatedBy], [s].[Currency], [s].[CurrentBalance], [s].[CurrentBalanceLastUpdatedTime], [s].[DateCreated], [s].[DateModified], [s].[IsActive], [s].[IsDeleted], [s].[ModifiedBy], [s].[OverdraftLimit], [s].[RejectionComment], [s].[UserType], [s].[UserTypeId] FROM [SourceAccountManagements] AS [s] WHERE (([s].[UserTypeId] = @__Id_0) AND ([s].[IsDeleted] = CAST(0 AS bit))) AND ([s].[IsActive] = CAST(1 AS bit)) ORDER BY [s].[DateCreated] DESC 2026-01-02 18:01:39.9769|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 18:01:39.9769|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 18:01:39.9954|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 18:01:39.9954|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 18:01:39.9954|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 18:01:39.9954|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 18:01:39.9954|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 18:01:40.0096|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 18:01:40.0096|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 18:01:40.0096|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 18:01:40.0096|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [p].[Id], [p].[Code], [p].[Name], [p].[PermissionCategory], [p].[PermissionGroupings], [p].[UserType] FROM [Permissions] AS [p] WHERE [p].[Code] = N'CVAB' 2026-01-02 18:01:40.0096|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (1ms) [Parameters=[@__userId_0='?' (DbType = Int64), @__permissionId_Id_1='?' (DbType = Int64), @__accountId_2='?' (DbType = Int64)], CommandType='Text', CommandTimeout='30'] SELECT [a].[Id], [a].[AccountId], [a].[Accountnumber], [a].[AccountsId], [a].[CreatedBy], [a].[DateCreated], [a].[DateModified], [a].[IsActive], [a].[IsDeleted], [a].[ModifiedBy], [a].[PermissionId], [a].[PermissionName], [a].[UserId], [a].[UserName] FROM [AccountPermissions] AS [a] WHERE (((([a].[UserId] = @__userId_0) AND ([a].[PermissionId] = @__permissionId_Id_1)) AND ([a].[AccountId] = @__accountId_2)) AND ([a].[IsDeleted] = CAST(0 AS bit))) AND ([a].[IsActive] = CAST(1 AS bit)) 2026-01-02 18:01:40.0630|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'System.Collections.Generic.List`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 18:01:40.0630|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement) in 6838.4046ms 2026-01-02 18:01:40.0630|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountByCorporateIdAsync (AccountManagement)' 2026-01-02 18:01:40.0630|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 6868.1366ms 200 application/json; charset=utf-8 2026-01-02 18:01:43.2225|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 18:01:43.2225|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 18:01:43.2278|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 18:01:43.2278|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 18:01:43.2278|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 18:01:43.2278|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 18:01:43.2278|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 18:01:43.2440|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 18:01:43.2440|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 13.75ms 2026-01-02 18:01:43.2440|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 18:01:43.2440|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 28.2597ms 200 application/json; charset=utf-8 2026-01-02 18:01:49.0370|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 18:01:49.0370|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 18:01:49.0370|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 18:01:49.0420|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 18:01:49.0420|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 18:01:49.0420|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 18:01:49.0420|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 18:01:49.0420|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 18:01:49.0420|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 10.4594ms 2026-01-02 18:01:49.0573|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 18:01:49.0573|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 22.244ms 200 application/json; charset=utf-8 2026-01-02 18:01:50.8050|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 18:01:50.8086|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 18:01:50.8086|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 18:01:50.8086|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 18:01:50.8086|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 18:01:50.8086|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 18:01:50.8233|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 18:01:50.8233|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 18:01:50.8233|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 10.2888ms 2026-01-02 18:01:50.8233|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 18:01:50.8233|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 26.638ms 200 application/json; charset=utf-8 2026-01-02 18:02:29.1200|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 18:02:29.1200|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 18:02:29.1258|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 18:02:29.1258|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 18:02:29.1258|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 18:02:29.1258|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 18:02:29.1258|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 18:02:29.1258|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 18:02:29.1405|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 8.4469ms 2026-01-02 18:02:29.1405|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 18:02:29.1405|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 21.9237ms 200 application/json; charset=utf-8 2026-01-02 18:02:34.0607|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 18:02:34.0607|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 18:02:34.0607|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 18:02:34.0679|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 18:02:34.0679|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 18:02:34.0679|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 18:02:34.0679|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (3ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 18:02:34.0679|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 18:02:34.0679|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 8.4456ms 2026-01-02 18:02:34.0823|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 18:02:34.0823|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.5759ms 200 application/json; charset=utf-8 2026-01-02 18:02:35.7969|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/Detail/000001011100127923 2026-01-02 18:02:35.7969|2|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Successfully validated the token. 2026-01-02 18:02:35.8029|1|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization was successful. 2026-01-02 18:02:35.8029|0|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executing endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 18:02:35.8029|3|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Route matched with {action = "GetAccountDetails", controller = "AccountManagement"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] GetAccountDetails(System.String) on controller AccountManagement.Controllers.AccountManagementController (AccountManagement). 2026-01-02 18:02:35.8029|10403|INFO|Microsoft.EntityFrameworkCore.Infrastructure|Entity Framework Core 3.1.10 initialized 'AppDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer' with options: None 2026-01-02 18:02:35.8029|20101|INFO|Microsoft.EntityFrameworkCore.Database.Command|Executed DbCommand (2ms) [Parameters=[@__AccountNo_0='?' (Size = 4000), @__UserTypeId_1='?' (DbType = Int64), @__UserType_2='?' (DbType = Int32)], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [s].[AccountNumber], [s].[AccountName], [b].[Name] AS [BankName], [s].[IsActive], [s].[IsDeleted], [s].[UserTypeId], [s].[UserType], [s].[ApprovalStatus] FROM [SourceAccountManagements] AS [s] INNER JOIN [Banks] AS [b] ON [s].[BankId] = [b].[Id] WHERE (((([s].[AccountNumber] = @__AccountNo_0) AND ([s].[UserTypeId] = @__UserTypeId_1)) AND ([s].[UserType] = @__UserType_2)) AND ([s].[IsActive] = CAST(1 AS bit))) AND ([s].[IsDeleted] = CAST(0 AS bit)) 2026-01-02 18:02:35.8029|1|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor|Executing ObjectResult, writing value of type 'CorporatePay.Common.Model.Response`1[[SourceAccountManagement.Data.Models.SourceAccountManagementViewModel, AccountManagement.Data, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'. 2026-01-02 18:02:35.8175|2|INFO|Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker|Executed action AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement) in 7.8983ms 2026-01-02 18:02:35.8175|1|INFO|Microsoft.AspNetCore.Routing.EndpointMiddleware|Executed endpoint 'AccountManagement.Controllers.AccountManagementController.GetAccountDetails (AccountManagement)' 2026-01-02 18:02:35.8175|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 23.4549ms 200 application/json; charset=utf-8 2026-01-02 18:04:12.6480|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 18:04:12.6480|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 18:04:12.6480|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 OPTIONS http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 18:04:12.6480|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 18:04:12.6563|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 18:04:12.6563|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 18:04:12.6563|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 17.2021ms 204 2026-01-02 18:04:12.6693|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 20.6009ms 204 2026-01-02 18:04:12.6693|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 24.6719ms 204 2026-01-02 18:04:12.6693|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/AccountManagement/GetAccountByCorporateId?corporateId=207 2026-01-02 18:04:12.6693|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/TreasuryAccount/Balance 2026-01-02 18:04:12.6890|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 GET http://rcpayapi.mof.gov.sl/AccountServices/api/WaysMeans/Current 2026-01-02 18:04:12.6890|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 18:04:12.7001|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 18:04:12.7001|1|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Failed to validate the token. Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateLifetime(Nullable`1 notBefore, Nullable`1 expires, JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateTokenPayload(JwtSecurityToken jwtToken, TokenValidationParameters validationParameters) at System.IdentityModel.Tokens.Jwt.JwtSecurityTokenHandler.ValidateToken(String token, TokenValidationParameters validationParameters, SecurityToken& validatedToken) at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync() 2026-01-02 18:04:12.7001|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 18:04:12.7001|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 18:04:12.7001|7|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo: 'System.DateTime', Current time: 'System.DateTime'. 2026-01-02 18:04:12.7001|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 18:04:12.7001|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 18:04:12.7166|4|INFO|Microsoft.AspNetCore.Cors.Infrastructure.CorsService|CORS policy execution successful. 2026-01-02 18:04:12.7166|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 18:04:12.7166|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 18:04:12.7166|2|INFO|Microsoft.AspNetCore.Authorization.DefaultAuthorizationService|Authorization failed. 2026-01-02 18:04:12.7166|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 18:04:12.7166|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 18:04:12.7310|12|INFO|Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler|AuthenticationScheme: Bearer was challenged. 2026-01-02 18:04:12.7310|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 56.0836ms 401 2026-01-02 18:04:12.7310|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 53.246ms 401 2026-01-02 18:04:12.7310|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 47.61ms 401 2026-01-02 18:24:51.0144|1|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request starting HTTP/1.1 POST http://127.0.0.1:28040/ACCOUNTSERVICES/iisintegration 0 2026-01-02 18:24:51.0189|2|INFO|Microsoft.AspNetCore.Hosting.Diagnostics|Request finished in 4.5247ms 202